Use Matlab Built Function Numerically Solve Dy Dx 0 1 5 Y 0 3 2x Plot Numerical Solution Q37059728

Use a MATLAB built-in function to numerically solve dy dx for with 0£1-5 y(0)=3 2x = Plot the numerical solution

Use a MATLAB built-in function to numerically solve dy dx for with 0£1-5 y(0)=3 2x = Plot the numerical solution Show transcribed image text Use a MATLAB built-in function to numerically solve dy dx for with 0£1-5 y(0)=3 2x = Plot the numerical solution


Solution


`Hey,

Note: Brother in case of any queries, just comment inbox I would be very happy to assist all your queries

clc
clear all
close all
f=@(x,y) (x^2)*sqrt(y)/5-2*x;
xspan=[0,5];
y0=3;
[X,Y]=ode45(f,xspan,y0);
plot(X,Y);

MATLAB R2018a ② ▼| rch Documentation Log In EDITOR Find Files e Compare▼ SdGoTo▼ Comment%お Figure 1 Run Run and Breakpoints N

Kindly

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.