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 ExchangeLoops 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