Runiter Company
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How do I add new functions to the library of Math Functions and Constants?

alan
Guest

## Re: Adding Functions

Hi Alan,
(1) Simply click on the + button under the "Functions" list.
(2) In the dialog that opens type your function in front of "Function:"
It could be something as complex as factorial as shown here:

Or something as simple as this:
squared(x) = x^2

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

runiter

Posts : 135
Join date : 2007-12-05
Age : 39
Location : Boston, MA, USA

## Adding Functions + Vertical Asymptotes

Yes, this answers my question. Thank you.

BTW I thought I would let you know that I spent a fair bit of time this past week looking for a windows calculator that I can use when creating mini tutorials for a high school math website that I am creating. Your calculator is considerably better than any other I found. It provides some very nice features, especially the ability to create as many "memory" variables as I need (with the added bonus of meaningful names). The ability to create my own functions and the ability to save any set of equations to a file for future retrieval are also very nice features. My big surprise came when I discovered that you live in Ottawa which is also where I live. Funny how my world wide search ended up so close to home.

I do have one more question. When I enter tan(pi/2) or sin(pi/2)/cos(pi/2) the value 1.633124E16 is displayed. Shouldn't the display show "Division by zero" ?

Thank you

alan
Guest

## Re: Adding Functions

It's good to hear from someone from Ottawa
For which high school are you building a website? My high school back in the days was Glebe.

You're absolutely right, tan(pi/2) should return Div by Zero error. Right now the trigonometry functions are computed only up to 16 digits precision and this is what's causing this round-off error. In our next release (v2.2) our trig algorithms will be enhanced to compute results up to 1000 digits precision and that will fix this issue as well.

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

runiter