Question
PLEASE USE MATLAB: Using an autonomous first order differential equation to model the growth of biological samples. dy/dt = y(1-y/3),y(0)=1 Obtain a solution to this
PLEASE USE MATLAB:
Using an autonomous first order differential equation to model the growth of biological samples.
dy/dt = y(1-y/3),y(0)=1
Obtain a solution to this DE using (a) Eulers method using t=0.5, (b) Eulers method using t=0.2, (c) ODE 45 with t=0.2 and (d) the analytical solution which is given as
y(t)= 3 - (6/(exp(t)+2))
Estimate the mean square error (MSE) in each numerical case. Use a time window from t=0 to t=10.
-
Plot the Eulers solutions, ODE solution and analytical solution on a single plot, annotated. The MSE values must also be displayed.
-
Use Matlab to get the EQUILIBRIUM value and determine the time instant when it is reached.
-
Find how long does it take the growth to double from 1.0 to 2.0? Provide answers to part (2) and (3) as comments or display them on the plot.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started