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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

program for eulers method

ptc-4926800
1-Visitor

program for eulers method

I have to create a program for Euler's method. This is what I have so far. Any help would be appreciated.

4 REPLIES 4
Werner_E
25-Diamond I
(To:ptc-4926800)

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?

Werner_E
25-Diamond I
(To:ptc-4926800)

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.

Euler.png

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

RK.png

Announcements

Top Tags