Adding Functions

Go down

Adding Functions

Post  alan on Fri May 22, 2009 8:21 pm

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

alan
Guest


Back to top Go down

Re: Adding Functions

Post  runiter on Sat May 23, 2009 2:51 am

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

Does this answer your question?

_________________
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

Adding Functions + Vertical Asymptotes

Post  alan on Sat May 23, 2009 10:08 am

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


Back to top Go down

Re: Adding Functions

Post  runiter on Sat May 23, 2009 12:22 pm

It's good to hear from someone from Ottawa Smile
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.
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

Re: Adding Functions

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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