2. Consider the first order initial value problem dx +x= = f(t) dt where x(0) = 5 and the function f is defined by f(t)
Posted: Thu May 05, 2022 7:47 pm
2. Consider the first order initial value problem dx +x= = f(t) dt where x(0) = 5 and the function f is defined by f(t) = 2 cos(3t), 0≤ t < π, t> π. 5e-t, (a) Sketch f over the range 0≤t≤ 2. (b) Write f in terms of unit step functions. Hence find the Laplace transform of f. (c) Solve the initial value problem using i. Laplace transforms, ii. dsolve in MATLAB. (d) Verify that your analytical solution and MATLAB solution in part (c) are equivalent.