Writing math functions in an Scripting language

Post new topic   Reply to topic

View previous topic View next topic Go down

Writing math functions in an Scripting language

Post  PhytonGu on Fri Feb 06, 2009 6: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  Admin on Fri Feb 06, 2009 6: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

Admin
Admin

Posts: 57
Join date: 2007-12-05

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

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