運動方程式の求解

17 views (last 30 days)
暁
on 6 Dec 2023
Commented: Dyuman Joshi on 6 Dec 2023
以下のコードを用いて運動方程式を作成し、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 Comment
Dyuman Joshi
Dyuman Joshi on 6 Dec 2023
dsolve() was unable to find a symbolic solution.
You will have to try solving the equation numerically.

Sign in to comment.

Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!