Smart Math Calculator Define Variable

This page explains how to define a variable and assign value to it.

Steps:

You may define your own variables by simply using the equal(=) operator. For example you could type:

a=2.5

Alternatively you could do this is by including the variable in the math expression as you like. For example to calculate the hypotenuse of a right angle triangle with a and b as its right angle sides, type:

sqrt(a^2+b^2)

Then press ENTER. Smart Math Calculator would then automatically add a= and b= and await your values for those variables.

Examples:

Here are some explicit and implicit 2D equations you can type in the program:

  • a=1+2
  • b=2^2
  • c=2.5*sin(pi/2)
  • myTotal=a+b