Question: For ordinary differential equation x(t) + 4x'(t) + 5x(t) = 0 with initial conditions x(0) = 3 and x' (0) =-5, a) Use the four

 For ordinary differential equation x"(t) + 4x'(t) + 5x(t) = 0

For ordinary differential equation x"(t) + 4x'(t) + 5x(t) = 0 with initial conditions x(0) = 3 and x' (0) =-5, a) Use the four order Runge-Kutta method with step size h 0.1 to solve the differential equation over the interval [0, 5] in MATLAB. Compare the numerical solution with the true solution x(t) in a MATLAB plot over the same interval (Hint: define yx) b) 3e-2t cos(t) + e-z sin (t)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!