Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Solve each of the following 4 initial value problems (IVP) via Simulink blocks. 1. y' = dy/dx = 3x^2 for 2 lessthanorequalto x lessthanorequalto 4

image text in transcribed
Solve each of the following 4 initial value problems (IVP) via Simulink blocks. 1. y' = dy/dx = 3x^2 for 2 lessthanorequalto x lessthanorequalto 4 with y = 0.5 at x = 2 4. y' = dy/dx =0.3-131 y for 0 lessthanorequalto x lessthanorequalto y = 4 at x = 0 y' = 2x cos^2(y) for 0 lessthanorequalto x lessthanorequalto 2 with y = pi/4 at x = 0 y" = d^2y/dx^2 = y'(1 - y)^2 - y for 0 lessthanorequalto x lessthanorequalto 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. Save x, dy/dx, and y for equation 1, 2, and 3. Save x, d^2y/dx^2, dy/dx, and y for equation Write a MATLAB driver program that will 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. Load x, dy/dx, and y for equation 1, 2, and 3. Load x, d^2y/dx^2, dy/dx, and y for equation 4. Use a total of 4 figure windows, 1 figure for each equation, to plot the solutions. Plot the solutions created by Simulink. Make use of the plot titles, legends, and label axes properly to distinguish the results. Plot x vs. dy/dx and x vs. y for the Simulink solutions for Equations 1, 2, and 3. Plot x vs. d^2y/dx^2, x vs. dy/dx, and x vs. y for the Simulink solution for Equation 4

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2019 Wurzburg Germany September 16 20 2019 Proceedings Part 2 Lnai 11907

Authors: Ulf Brefeld ,Elisa Fromont ,Andreas Hotho ,Arno Knobbe ,Marloes Maathuis ,Celine Robardet

1st Edition

3030461467, 978-3030461461

Students also viewed these Databases questions