cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Problems with "undefined variable" in program

ptc-5236541
1-Newbie

Problems with "undefined variable" in program

I am working on creating programs to iteratively model a differential equation.

i have been switching subscripts and the order of things, but it just keeps telling me that there is an undefined variable. and conveniently the "error tracing" doesnt actually specify what is undefined, so i dont even know exactly where the problem is.

1 REPLY 1

The indices in the second and third line of your programms are lowercase letter o's and not zeros. And variable o is not defined 😉

Top Tags