Post Reply 
19BII Program ---> need help!
01-04-2015, 09:48 PM (This post was last modified: 01-04-2015 09:48 PM by Don Shepherd.)
Post: #13
RE: 19BII Program ---> need help!
(01-04-2015 09:19 PM)Aconzio Wrote:  
(01-04-2015 08:55 PM)Gerson W. Barbosa Wrote:  That might be needed, or the change to ,5, only if you had edited the equation then left the solver editor and then switched radix to comma. It doesn't appear to be the case. It might be simply a typo, has Gene has suggested. I tried the equation in the HP-200LX and got a blinking cursor exactly at the same point.

Here is the equation (not checked) in text format, in case someone wants to try fixing it on the HP-200LX:

Code:

((P+M/N*W)*IF(ABS(D)>3.5:0:SGN(D)/2+.5:.5+(1/SQRT(PI))*SIGMA(
I:1:15:1:-(D/SQRT(2))^(2*I-1)*(-1)^I/(FACT(I-1)*(2*I-1))))-X*
EXP*(-R*T)*IF(ABS(D-SD*SQRT(T))>3.5:SGN(D-SD*SQRT(T))/2+.5:.5
+(1/SQRT(PI))*SIGMA(I:1:15:1:-((D-SD*SQRT(T))/SQRT(2))^(2*I-1)
*(-1)^I/(FACT(I-1)*(2*I-1)))))/(1+M/N)=WARR

Regards,

Gerson.

Hy Gerson

Thank you for having re-written the code ..
As you said, substituting the INV(2) or changing radix doesn’t change the problem..the calculator points to the colon to be a point…
Regards!
Aconzio

That colon where the error occurs is invalid there. It occurs while the solver is evaluating the else portion of the IF statement. The equation as listed in the source document is in error, it's nothing you did.

It's like this: IF(condition:0: else other stuff it needs a ) to terminate the IF, a third colon in an IF statement is invalid.

See if you can contact whomever wrote the original equation, I think they copied it wrongly.

Bill beat me to it!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
19BII Program ---> need help! - Aconzio - 01-04-2015, 06:51 PM
RE: 19BII Program ---> need help! - Gene - 01-04-2015, 07:00 PM
RE: 19BII Program ---> need help! - Don Shepherd - 01-04-2015 09:48 PM



User(s) browsing this thread: 1 Guest(s)