運動方程式の求解

17 ビュー (過去 30 日間)
暁
2023 年 12 月 6 日
コメント済み: Dyuman Joshi 2023 年 12 月 6 日
以下のコードを用いて運動方程式を作成し、x(t)について解きたいのですが、「シンボリック解が見つかりません」という警告が出て、求解出来なかったです。
修正点をご教授いただけると幸いです。
よろしくお願いいたします。
運動方程式:
syms F(t) m x(t) x_lim t F_0 omega k_1 k_2 x_0 v_0 mu_k g nu % シンボリック変数の定義
eqn=diff(x(t),2)==F(t)/m-(x-x_0)*(k_1+k_2)/m*(1+abs((x-x_0)/x_lim)^nu)-mu_k*g;
eqn=subs(eqn,F(t),F_0*sin(omega*t))
v(t)=diff(x(t),1);
cond1=x(0)==x_0;
cond2=v(0)==v_0;
conds=[cond1,cond2];
xsol=dsolve(eqn,conds); %微分方程式の解(x(t)=...)
  1 件のコメント
Dyuman Joshi
Dyuman Joshi 2023 年 12 月 6 日
dsolve() was unable to find a symbolic solution.
You will have to try solving the equation numerically.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!