Solving Differential Equations Symbolically and Numerically

2 vues (au cours des 30 derniers jours)
SSBGH
SSBGH le 15 Avr 2022
Commenté : SSBGH le 15 Avr 2022
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 ??

Réponse acceptée

Torsten
Torsten le 15 Avr 2022
Did you read the part
"Solve Differential Equations with conditions"
under
?
  1 commentaire
SSBGH
SSBGH le 15 Avr 2022
i just read it and it really helped me, thanks alot

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by