How can i use euler method in matlab

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

C.J. Harris
C.J. Harris 2014년 12월 2일
Do you actually mean the interval 0 ≤ x ≤ 1? Otherwise you don't have a lower bound.
Andrew Reibold
Andrew Reibold 2014년 12월 2일
편집: Andrew Reibold 2014년 12월 2일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

질문:

2014년 12월 2일

편집:

2014년 12월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by