Azzera filtri
Azzera filtri

Unable To Find Explicit Solution [Empty Syms]

1 visualizzazione (ultimi 30 giorni)
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 ]

Risposta accettata

Star Strider
Star Strider il 13 Giu 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 = 
.

Più risposte (0)

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by