運動方程式の求解

조회 수: 18 (최근 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 CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!