Skip to main content
1-Visitor
Solved

Variable Undefined Error

I'm getting the variable undefined error for variable "r".  Any suggestion?Variable UndefinedVariable Undefined

Werner_E
Werner_EAnswer
25-Diamond I

Delete the equal sign (evaluation) after the function definition!

B1.png

6 replies

23-Emerald V

Three suggestions:

1. Attach your worksheet. It is very hard, to sometimes impossible, to debug pictures. State which version of Prime you are using.

2. Check the labels of the various variables named 'r', to see if they match (= they're actually the same variable)..

3. What is the function supposed to result in when r > Ks and t >to? You need to account for ALL possible outcomes.

 

Success!
Luc

Translate
vip1-VisitorAuthor
1-Visitor
Hi Sapphire I, Attached is the worksheet. It is in Prime 5.0. I could not find how to upload the file in the Community web site. Hope this work.



Thanks,



Vincent


Translate
23-Emerald V

No worksheet attached.

To attach a worksheet, use the 'Browse...' button below and to the left of the message edit window.

 

Success!
Luc

Translate
Werner_E
Werner_E25-Diamond IAnswer
25-Diamond I

Delete the equal sign (evaluation) after the function definition!

B1.png

Translate
vip1-VisitorAuthor
1-Visitor

It works.

 

thanks,

Translate