運動方程式の求解

17 次查看(过去 30 天)
暁
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 CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!