Selected:

## ENGR 232 Week 5 Lab

\$15.99

\$15.99

ENGR232 Week 5 Lab Winter 2015-16 Create a published document with your name and section number and version of the lab assignment. Answer each part in a separate cell â€“ include discussion, plots and code where appropriate. Given the initial value problem: ð’š â€²â€² + ðŸ”ð’š â€² + ðŸ—ð’š = ðŸŽ ð’š(ðŸŽ) = âˆ’ðŸ ð’š â€² (ðŸŽ) = ðŸ‘ a) Determine the auxiliary equation and find the roots. Based on the roots what type of solution do you expect (stable or unstable, shape etc.)? b) Write the equations in state space (matrix form) ð‘¥ â€² (ð‘¡) = ð´ð‘¥(ð‘¡) + ðµð‘“(ð‘¡). Let x1 = y and x2 = yâ€™. c) Determine the critical/equilibrium point. Show how you got your answer. d) Numerically solve the IVP using ode45. Plot the two states for the time interval [0, 4] in the left two panes and the phase plot x2 vs x1 in the right 2 panes. Annotate all plots. Use legend to annotate the initial conations and equilibrium point on the phase plot. Call this solution the numeric solution. e) Use dsolve to find the solution of the IVP and also find its derivative. Use the matlabFunction() to create a function for y and yâ€™. You need to submit a time vector to function created by matlabFunction(). Call this solution the analytic solution. f) Create one graph with three sub plots. a. For subplot 1 overlay the component plot for analytic solution of y from part e on the same plot as the numeric solution of y of part d. Are they the same? b. For subplot 2 overlay the component plot for analytic solution of yâ€™ from part e on the same plot as the numeric solution of yâ€™ of part d. Are they the same? c. For subplot 3 graph the phase plot.

## Reviews

There are no reviews yet.

×