Filter löschen
Filter löschen

Unable To Find Explicit Solution [Empty Syms]

1 Ansicht (letzte 30 Tage)
Fahad Ramzan
Fahad Ramzan am 13 Jun. 2021
Beantwortet: Star Strider am 13 Jun. 2021
syms I(t) Mu To %Used to decalre variables as symbol
ode = diff(I,t) == -Mu.*I(t); %Equation Writing
cond = T(0) == To; %Initial condition
Solution_eq2 = dsolve(ode, cond) %Solution the the modified equation == Solution to the IVP
Errors
Warning: Unable to find explicit solution.
> In dsolve (line 201)
In Project (line 37)
Solution_eq2 =
[ empty sym ]

Akzeptierte Antwort

Star Strider
Star Strider am 13 Jun. 2021
There is no function called ‘T’ so ‘T(0)’ is not defined.
Try this instead —
syms I(t) Mu To t %Used to decalre variables as symbol
ode = diff(I,t) == -Mu.*I(t); %Equation Writing
cond = I(0) == To; %Initial condition
Solution_eq2 = dsolve(ode, cond) %Solution the the modified equation == Solution to the IVP
Solution_eq2 = 
.

Weitere Antworten (0)

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by