フィルターのクリア

Which is the most accurate way to solve these equations?

4 ビュー (過去 30 日間)
Davide Cannavacciuolo
Davide Cannavacciuolo 2023 年 2 月 6 日
Where for semplicity A, B, E can be assumed = 1. u, v and w are velocity components and t is time.
Also intial contitions can be assumed:
u(0)=0
v(0)=0
w(0)=0

採用された回答

Dyuman Joshi
Dyuman Joshi 2023 年 2 月 6 日
"Which is the most accurate way to solve these equations?"
Generally, the most accurate way to solve any equation is analytically, if it can be solved analytically.
Using symbolic math toolbox -
syms u(t) v(t) w(t) A B E F
eq1 = diff(u,t)+A*B*w(t)*sin(F*t)==0;
eq2 = diff(v,t)==0;
eq3 = diff(w,t)-sin(F*t)*u(t)-A*E*sin(F*t)==0;
con1 = u(0)==0;
con2 = v(0)==0;
con3 = w(0)==0;
sol=dsolve([eq1 eq2 eq3],[con1 con2 con3]);
U(t)=sol.u
U(t) = 
V(t)=sol.v
V(t) = 
0
W(t)=sol.w
W(t) = 
  1 件のコメント
Davide Cannavacciuolo
Davide Cannavacciuolo 2023 年 2 月 6 日
Perfect, it makes sense to me! Thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by