Summary: CHEN 3600 - Lab Assignment 11
Exam III Sample Problems for MATLABR
Use "Cell Mode" and "Publish" to make a printout of your solution. Paste in the relevant
command window output as comment within the appropriate cell. Paste in any function
files you create outside of this script as comment within the appropriate cell.
1. Consider the set of ODE's as given below. Prepare a MATLABR
solution to this set
of equations for the initial condition of [x, y, z] = [5, 5, 5] and the parameters = 10,
= 28 and = 8/3. Report your solution for the range 0 t 20 as three plots
in a row (i.e., using subplot). Plot y vs x, z vs x and z vs y. Also write the final
condition, [x, y, z] at t = 20 out to the command window.
dt = (y - x)
= x - y - xz
dt = xy - z
2. Prepare a MATLABR
script to compute the value of a that satisfies the relationship