Shinduri V.

asked • 11/21/19

Euler with step hand written and Matlab solution

A biological process includes the growth of biomass (B) from substrate (S). The material balances on this batch process yield:

LaTeX: \frac{dB}{dt}=\frac{k_r\cdot B\cdot S}{\left(K+S\right)}

LaTeX: \frac{dS}{dt}=-\frac{0.75\cdot k_r\cdot B\cdot S}{\left(K+S\right)}

where B and S are the respective biomass and substrate concentrations. The reaction kinetics are described by kr= 0.70000 and K= 0.00300 in consistent units. At the beginning (t=0) the initial values in consistent units are (B,S)=(0.05, 5).

  1. Use Euler's integration performing two steps with dt=1 , to find the values of B and S at t=1 and t=2. Describe in detail all calculations by hand.
  2. Use one step of 4th order Runge-Kutta with dt=1 to find the values of B and S at t=1. Describe in detail all calculations by hand and compare to your findings with Euler's.
  3. Use MATLAB and ode45 to extract the dynamic behavior up to t=50. Provide a plot with B and S as a function of time. Do the results appear reasonable?
  4. Use MATLAB and ode15s to extract the dynamic behavior up to t=50. Provide a plot with B and S as a function of time. Do the results appear reasonable? Contrast to the findings in the previous step. [ 1pts]
  5. Based on the results with ode15s:
  6. Provide estimates for B and S at time t=5.0 
  7. Provide estimates for the time t and the value of B when S=0.001
  8. As part of stability analysis, provide the array of functions describing the Jacobian of the system.
  9. Find the eigenvalues of the Jacobian at t=5.0 and the second time-point where S=0.001. Contrast the values of the eigenvalues at these two points in time.




1 Expert Answer

By:

Omar L. answered • 09/19/20

Tutor
5 (4)

PhD in Electrical Engineering with 17+ Years of MATLAB Experience

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.