Help solving using ode45
古いコメントを表示
Hello everyone.
I need help solving a system of 4 first order differential equations shown below, to find the displacements x1 and y1 as well as velocities x1_dot and x2_dot. Time span is 0 to 20 seconds. Initial conditions should be zero.
x1==>displacement, x1_dot==>velocity, x2==>velocity, x2_dot==>acceleration
Where k=8500, m1=2650, m2=1830

Both Fd and Fb are functions of time and have different values for different intervals.
Fd;

Fb;

I think Fd and Fb are going to need seperate functions. Any help to solve this is much appreciated!
Thank you.
5 件のコメント
Bruno Luong
2018 年 10 月 3 日
Nadun Chandrabahu
2018 年 10 月 3 日
Bruno Luong
2018 年 10 月 3 日
編集済み: Bruno Luong
2018 年 10 月 3 日
Sorry, I'm not going to write code for you.
However if you make an effort to write something (you might adapt the code in this thread) we can take a look.
Nadun Chandrabahu
2018 年 10 月 3 日
Nadun Chandrabahu
2018 年 10 月 3 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Programming についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
