How can i use euler method in matlab

1 view (last 30 days)
Lasse
Lasse on 2 Dec 2014
Edited: Andrew Reibold on 2 Dec 2014
How do i use euler method to approximate a result for the following equation: dy/dx=y-2x/y, y(0)=1, 0≥x≤1
  2 Comments
C.J. Harris
C.J. Harris on 2 Dec 2014
Do you actually mean the interval 0 ≤ x ≤ 1? Otherwise you don't have a lower bound.
Andrew Reibold
Andrew Reibold on 2 Dec 2014
Edited: Andrew Reibold on 2 Dec 2014
Do you know what Euler method is?? Thats the first step, but thats not a Matlab problem or what this forum is really for.
What parts of the method are you struggling to code? I have made a code to do this before and would be happy to help. You haven't shown us any progress or work you have made to attempt this though.
Most people on this forum don't attempt to help if you have shown that you have attempted yourself.. The ones that do are quite graceful I suppose.

Sign in to comment.

Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!