Effacer les filtres
Effacer les filtres

Unable To Find Explicit Solution [Empty Syms]

1 vue (au cours des 30 derniers jours)
Fahad Ramzan
Fahad Ramzan le 13 Juin 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 ]

Réponse acceptée

Star Strider
Star Strider le 13 Juin 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 = 
.

Plus de réponses (0)

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by