運動方程式の求解

16 visualizaciones (últimos 30 días)
暁
el 6 de Dic. de 2023
Comentada: Dyuman Joshi el 6 de Dic. de 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 comentario
Dyuman Joshi
Dyuman Joshi el 6 de Dic. de 2023
dsolve() was unable to find a symbolic solution.
You will have to try solving the equation numerically.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!