Unable To Find Explicit Solution [Empty Syms]

1 view (last 30 days)
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 ]

Accepted Answer

Star Strider
Star Strider on 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 = 
.

More Answers (0)

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!