Variables

From Wikiversity

Jump to: navigation, search

[edit] What is it?

Its hard to think you can do 1 + a, there are only two possible places that can happen, programming, and what you are about to learn.
In what you just saw, a is a number we don't know, it could be 1, 5, 7, as far as you can imagine.
What we call a is a variable, because unlike normal, or static, numbers, it will vary.

[edit] Tidbits

Typically t is never used because it can get mixed up with +.
The most commonly used will be x, the reason why it isn't mixed up with X is because * is used in it's place.

[edit] Exercises

Here are a few problems to help you get used to the idea.
Find the value of the variable.
1 + 3 = e
3 + 9 = x
10 + 4 = a
4 + 2 = y
11 + 9 = k
7 + 11 = l

Back to Pre-Algebra