Sometimes it is tedious to obtain a solution of a linear equation, especially if all we need

Question:

Sometimes it is tedious to obtain a solution of a linear equation, especially if all we need is a plot of the solution. In such cases, a numerical method might be preferred. Use a MATLAB ode function to solve the following equation for 0 ≤ t ≤ 7. Plot the solution.

y + 2y = f(t)

y(0) = 2

Where

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

System Dynamics

ISBN: 978-0073398068

3rd edition

Authors: William Palm III

Question Posted: