Reputation: 43
How can I show that y(t)=Yo/Yo+(1-Yo)e^-at
is the solution of the differential equation dy/dt=ay(1-y)
using MATLAB. What function should I use?
Upvotes: 0
Views: 1374
Reputation: 73
if you want to simulate the results use the ode's family
https://www.mathworks.com/help/matlab/ref/ode45.html
else you can define your equation in syms and use diff
https://www.mathworks.com/help/symbolic/diff.html
other wise you can solve it numerically
Upvotes: 1