Writing math functions in an Scripting language

Go down

Writing math functions in an Scripting language

Post  PhytonGu on Fri Feb 06, 2009 2:17 pm

Is there possibility of writing functions in an scripting language (Python or Jython, for instance) in this calculator: ?

PhytonGu
Guest


Back to top Go down

Re: Writing math functions in an Scripting language

Post  runiter on Fri Feb 06, 2009 2:28 pm

Currently you can define your own functions in a very simple and clear way!
For example the following simply raises the first parameter to power of the 2nd param:

f(x,y)=x^y

You can even define recursive functions. The following is factorial:

fac(x)=x*f(x-1); x>1
fac(x)=1; x<=1

as shown below:



This is why we didn't feel the need to use other scripting languages.
Let me know if you don't feel this is enough Smile

_________________
Saeid Nourian, Ph.D.
President of Runiter Company
http://www.runiter.com
avatar
runiter
Admin

Posts : 132
Join date : 2007-12-05
Age : 37
Location : Boston, MA, USA

View user profile http://www.runiter.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum