Math - Variables
Variable is a symbol that represents a mathematical object.
Consider the expression:
You can substitute x variable with any mathematical object and then evaluate the result.
x | result |
---|---|
8 | 17 |
2/6 | 1.66... |
7 |
Examples
The chef
A chef sells a delicious hamburger for just $2 per unit, if the quantity is greater than or equal to 10 units the price will be $1.5 per unit.
greater than or equal to 10:
less than 10:
x(quantity) | price |
---|---|
1 | 2 |
4 | 8 |
10 | 15 |
16 | 24 |
The villager house
A wealthy villager wants to sell his house; he's a cool guy and the house's price is equivalent to the buyer's salary.
The formula used to determine the total value:
25% of salary × 48 months = total value of the house
x(salary) | total value |
---|---|
18 | 216 |
95 | 1140 |
198 | 2376 |
327 | 3924 |