Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I have to create a program for Euler's method. This is what I have so far. Any help would be appreciated.
You will have to use vector indices in your prog, not the literal index as you did in some cases.
The way you have written it, vector y will consist of a bunch of zeros!!
I changed them but now is says my y[i+1 is undefined?
Amy Kippen wrote:
I changed them but now is says my y[i+1 is undefined?
Maybe something went wrong in deleting the literal index. Delete the whole index and retype it, that should work.

...and Runge-Kutta as a compliment...

