Solving Differential Equations Symbolically and Numerically

조회 수: 2 (최근 30일)
SSBGH
SSBGH 2022년 4월 15일
댓글: SSBGH 2022년 4월 15일
given this equation end two initial values, how can i solve it symbolically, i know how to solve the first one but im stuck with x'(0)=1
syms x(t)
eqn = diff(diff(x))+5*diff(x)+4*x== 3-2*t-t.^2;
cond1= x(0)==1;
dsolve(eqn, cond1)
what sould i write to sole for x'(0)=1 ??

채택된 답변

Torsten
Torsten 2022년 4월 15일
Did you read the part
"Solve Differential Equations with conditions"
under
?

추가 답변 (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!

Translated by