Not able to solve an ode using dsolve

1 visualizzazione (ultimi 30 giorni)
Anshuman S
Anshuman S il 23 Giu 2019
Commentato: Anshuman S il 23 Giu 2019
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);

Risposta accettata

Stephan
Stephan il 23 Giu 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)

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by