Not able to solve an ode using dsolve

1 view (last 30 days)
Not able to get any result out of this code. May anyone help, thanks
syms y(t)
ode = diff(y,t) == -0.127.*(-3.*(log(7e-10.*exp(0.405.*y))).*(y - 0.01));
cond = y(0) == 0.01;
ySol(t) = dsolve(ode,cond);

Accepted Answer

Stephan
Stephan on 23 Jun 2019
Consider:
syms y(t)
ode = diff(y,t) == -0.127.*(-3.*(log(7e-10.*exp(0.405.*y))).*(y - 0.01));
cond1 = y(0) == 0.01;
cond2 = y(0) == 1;
ySol = dsolve(ode)
ysol1 = dsolve(ode,cond1)
ysol2 = dsolve(ode,cond2)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!