Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please do in Excel and explain how to get it Euler's Method Project Use a computer to find plots of numerical solutions with various step

please do in Excel and explain how to get it

image text in transcribed

Euler's Method Project Use a computer to find plots of numerical solutions with various step sizes (3 step sizes) for the following differential equation: 1+ y21 y(0) = 0. To obtain the graph in example 1 sec 2.4 by Euler's method (with h=0.2), you can use the following Matlab code: a=0 b=5 h=0.2 n=(b-a)/h x(1)=0 y(1)=-3 for i=1:n y(i+1)=y(i)+h*(x(i)+0.2*y()) x(i+1)=i*h end plot(x,y) Plot the graph obtained with the numerical' Euler method along with the graph of the exact solution. Attach a brief report summarizing (1 page maximum without graphs and codes) your findings with your graphs and your computer code (CH, Java, Excel, Matlab, Python etc). You can for example discuss errors. Discuss the method used to obtain a plot of the exact solution of the given differential equation. Upload your report to Dropbox in pdf format. Submit your work individually, you will also mark the names of your group members on your final report. Note: You do not have to find an explicit solution for y(x). You can plot the inverse of its reciprocal (from the data). Euler's Method Project Use a computer to find plots of numerical solutions with various step sizes (3 step sizes) for the following differential equation: 1+ y21 y(0) = 0. To obtain the graph in example 1 sec 2.4 by Euler's method (with h=0.2), you can use the following Matlab code: a=0 b=5 h=0.2 n=(b-a)/h x(1)=0 y(1)=-3 for i=1:n y(i+1)=y(i)+h*(x(i)+0.2*y()) x(i+1)=i*h end plot(x,y) Plot the graph obtained with the numerical' Euler method along with the graph of the exact solution. Attach a brief report summarizing (1 page maximum without graphs and codes) your findings with your graphs and your computer code (CH, Java, Excel, Matlab, Python etc). You can for example discuss errors. Discuss the method used to obtain a plot of the exact solution of the given differential equation. Upload your report to Dropbox in pdf format. Submit your work individually, you will also mark the names of your group members on your final report. Note: You do not have to find an explicit solution for y(x). You can plot the inverse of its reciprocal (from the data)

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

Step: 3

blur-text-image

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

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions

Question

6. What questions would you suggest should be included?

Answered: 1 week ago

Question

5. Who should facilitate the focus group?

Answered: 1 week ago