how to solve this second order deferential equation with constants symbols

조회 수: 1 (최근 30일)
Hi, i am struggling to solve this equation. please help me to code this on matlab or any other method to solve this . thanks

채택된 답변

Walter Roberson
Walter Roberson 2017년 5월 14일
syms theta(t) theta0 dtheta0
Dtheta = diff(theta); D2theta = diff(Dtheta);
dsolve([I*D2theta == K1*Dtheta - K2*Dtheta^2, theta(0)==theta0,Dtheta(0)==dtheta0])
ans =
(I*log(-(exp(-(K1*K2*(C34 - t/K2))/I) - (I*log(-exp(-(K2*theta0)/I)/(K2*dtheta0)))/(K1*K2))/K1))/K2
However, this answer does not seem to be correct: it involves the arbitrary constant C34 without good reason.
  댓글 수: 9
Dan Mathotaarchchi
Dan Mathotaarchchi 2017년 5월 23일
thank you Torson but the link seems not working

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Numeric Solvers에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by