Math - Variables

math variable

Variable is a symbol that represents a mathematical object.


Consider the expression: 2x+12x + 1
You can substitute x variable with any mathematical object and then evaluate the result.

xresult
817
2/61.66...
273\sqrt[3]{27}7

Examples

The chef

a chef and a hamburguer

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:
x×1.5=pricex \times 1.5 = price

less than 10:
x×2=pricex \times 2 = price

x(quantity)price
12
48
1015
1624

The villager house

isometric 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
18216
951140
1982376
3273924