how to solve a second-order differential equation set with parameter using Euler's method?

2 ビュー (過去 30 日間)
易曦 黄
易曦 黄 2021 年 8 月 30 日
編集済み: Wan Ji 2021 年 8 月 30 日
i try the following, but then i find that i didn't clearify my "dy" is the derivative of time "t"
how can i limit the dy is the derivative of "t"?
my function is the following
thanks in advance!

回答 (1 件)

Wan Ji
Wan Ji 2021 年 8 月 30 日
編集済み: Wan Ji 2021 年 8 月 30 日
Actually, dy is the derivative of y with respect to t. The code you give is absolutely right.
So you see Euler's Method
If you denote dy as dydt (), then it will be more obvious.

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by