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 x2=, x2=, x2= Replace numbers with variables NUMBER1 X 2 = TOTAL Which part of this formula algorithm would a computer find hard to understand?
Common sums 34 x2=68, 12x2=24, 56x2=112 Replace symbols with computer symbols *=X /=÷ NUMBER1 * 2 = TOTAL
Challenge write a formula for any number divide by 4 */+ - NUMBER1TOTAL Things you could use
NUMBER1 / 4 = TOTAL Challenge write a formula for any number divide by 4 NUMBER1 = TOTAL / 4
Challenge write a formula for any number add any number */+- NUMBER1 TOTAL Things you could use NUMBER2
Answer write a formula for any number add any number = NUMBER1 TOTAL NUMBER2 + = NUMBER1 TOTAL NUMBER2 +
Challenge write a formula for any number subtract any number */+- NUMBER1 TOTAL Things you could use NUMBER2
Answer write a formula for any number subtract any number = NUMBER1 TOTAL NUMBER2 - = NUMBER1 TOTAL NUMBER2 -