Question: Solve each of the following 4 initial value problems (IVP) via Simulink blocks. 1. y dy/dx -3 x2 for 2 sx s 4 with y

Solve each of the following 4 initial value problems (IVP) via Simulink blocks. 1. y dy/dx -3 x2 for 2 sx s 4 with y 0.5 at x 2 2. y-dy/dx-0.131 y for 0sx s 5 with y 4 at x0 3. y-2 xcostyl for0sxs2 withyn/ ato 4. y" d'y/dx2-y' (1-) _ y for 0 SX 20 with y'(0)-0, y(0)-0.25 .Create 4 Simulink models to solve the 4 initial value problems. Each Simulink model should contain a Simulink blocks solution Save the 4 Simulink blocks solutions' data into 4 different.mat files. o Save x, dy/dx, and y for equation 1, 2, and 3 o Save x, d2y/dx2, dy/dx, and y for equation 4 write a MATLAB driver program that will automatically open all 4 Simulink models (for the 4 initial value problems above) and automatically run each Simulink model. Load the Simulink results from the simulation models to the MATLAB driver program o Load x, dy/dx, and y for equation 1, 2, and 3 o Load x, d'y/dx2, dy/dx, and y for equation 4. .Use MATLAB to plot a total of 4 figure windows, 1 figure for each equation, and open all four figures on screen simultaneously o o o o Plot the solutions created by Simulink. Plot x vs. dy/dx and x vs. y for the Simulink solutions for Equations 1, 2, and 3. Plot x vs. d'y/dx2, x vs. dy/dx, and x vs. y for the Simulink solution for Equation 4. Make use of the plot titles, legends, and label axes properly to distinguish the results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
