When you start
Smart Math Calculator it will have an empty function text box ready
to be used. If there are no empty function text box, you may add one
by clicking on the yellow pencil labeled "Add new equation" button
as circled below.
A new function text
box will be added with 0.0 as its result as shown above on the right.
In the yellow text
box type your desired math expression. In this example we are going
to type the following:
3^2+sin(pi/2)+round(5.6)+(log(100)/2)+root(4)
As you type the above
math expression the program immediately calculates the partial
result and displays in the result area in front of the yellow text
box as shown below.
If there is an error
in the math expression you enter then it will be highlighted in red
until you fix the problem:
To see the details of
the problem press ENTER or hover your mouse over the red math
expression.
You may defined your
own variables in Smart Math Calculator by simple using = 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:
root(a^2+b^2)
Then press ENTER.
Smart Math Calculator would then automatically add a= and b= and
await your values for those variables:
You are not limited to simple values when assigning
values to variables. You could for example type:
Defining functions is
just as easy as variables. It starts with a name followed by list of
parameters in parenthesis followed by the = sign. For example you could type:
my_func(x, y) = x+y^2
Alternatively you
could do this is by including the function in the math expression as
you like. For example if you type:
100+interestOf(100,
0.05)
Then press ENTER.
Smart Math Calculator would then automatically add interestOf(x,y)
functions and
await your implementation of this function:
In the above example we calculated the interest
based on the amount x and interest rate y. To make the function more
clear you may simply rename the parameters as shown below: