120 likes | 200 Views
Working with Variables. code-it.co.uk By Phil Bagge. Variable means changeable. The weather is variable His moods are variable. Common sums. 34x2=68, 12x2=24, 56x2=112, Which aspect changes in each sum?. Common sums. 34 x2=68, 12x2=24, 56x2=112 Replace numbers with variables.
E N D
Working with Variables code-it.co.uk By Phil Bagge
Variable means changeable The weather is variable His moods are variable
Common sums 34x2=68, 12x2=24, 56x2=112, Which aspect changes in each sum?
Common sums 34 x2=68, 12x2=24, 56x2=112Replace numbers with variables X 2 = TOTAL NUMBER1 Which part of this formula algorithm would a computer find hard to understand?
Common sums 34 112 68 12 56 24 x2= , x2= , x2=Replace numbers with variables X 2 = TOTAL NUMBER1 Which part of this formula algorithm would a computer find hard to understand?
Common sums 34 x2=68, 12x2=24, 56x2=112Replace symbols with computer symbols *=X /=÷ * 2 = NUMBER1 TOTAL
Challenge write a formula for any number divide by 4 */+ - NUMBER1 TOTAL Things you could use
Challenge write a formula for any number divide by 4 /4 = TOTAL NUMBER1 = / 4 TOTAL NUMBER1
Challenge write a formula for any number add any number */+- TOTAL NUMBER2 NUMBER1 Things you could use
Answer write a formula for any number add any number = TOTAL NUMBER1 + NUMBER2 NUMBER1 + NUMBER2 = TOTAL
Challenge write a formula for any number subtract any number */+- TOTAL NUMBER2 NUMBER1 Things you could use
Answer write a formula for any number subtract any number = TOTAL NUMBER1 - NUMBER2 NUMBER1 - NUMBER2 = TOTAL