Solve the following ODE numerically using (A) a MATLAB differential equation solver, (B) using your own Euler method, and (C) analytically. Plot the two numerical solutions (black, blue) and analytic solution (red) on one graph with x = [0,5]. What steps size (h) did you need to use for the Euler method to get a good result. How does this compare with the result from the MATLAB routine? Show your work for finding the analytic solution.
Y” + 2Y’ + 3Y = 0
Y (0) = 0
Y’ (0) = -1
This question belongs to MATLAB software and discusses about application of MATLAB to ordinary differential equations and to plot the numerical solutions.
Download Full Solution
If you are here for the first time, you can request for a discount coupon, which can knock off upto 20% of the quoted price on any service.