Declare your own functions

Post new topic   Reply to topic

View previous topic View next topic Go down

Declare your own functions

Post by Admin on Tue Jun 17, 2008 3:23 pm

As you know, one of the most useful features of Smart Math Calculator has been its easy variable declaration by typing x=12^2 for example. Well now you can do the same with functions.

To declare a function simply type it in its common mathematical form:
f(x) = 2*x + x^2

You can have as many parameters as you like:
myScale(x,y,z, rate) = x*rate + y*rate + z*rate

Calling these functions is easy, just type:
f(5) + myScale(10,0,5,0.05)



We need your feedback!!!! Please tell us what you think of this new feature! Just post a reply in this forum.

Cheers

Admin
Admin

Posts : 14
Joined : 05 Dec 2007

Back to top Go down

View previous topic View next topic Back to top


Permissions of this forum:
You can reply to topics in this forum