Register

User defined functions

Discuss anything related to calculators. For specific help on certain games/programs check the Released Projects subforum.
Member
Posts: 40
Joined: Tue Dec 17, 2013 12:56 pm
Calculators: Casio fx-9860GII, Casio Classpad fx-CP400

User defined functions

Postby PsySc0rpi0n » Sat Jun 21, 2014 4:34 pm

Hi...

I can't create my own functions and I can't figure out why!

I'm trying to create a function that performs this calc:

x.(e^(y/(z/11600))-1).

After saving the function named 'dcurrent', I try to use it in Main like:
dcurrent(0.000000002,5,20)

but it says "Incorrect number of arguments"


Anyone know why?

Member
Posts: 40
Joined: Tue Dec 17, 2013 12:56 pm
Calculators: Casio fx-9860GII, Casio Classpad fx-CP400

Re: User defined functions

Postby PsySc0rpi0n » Sun Jun 22, 2014 10:59 am

I got it now!

Probably a wrong parenthesis!

Now I need to protect the simple function against "OverFlow" error because the expression can return huge values that the calculator might not be able to handle because of the exponential function.

Hoe can I do it?

Return to General

Who is online

Users browsing this forum: Google [Bot] and 51 guests