Question: I was able to get a code to run for the first part but cant seem to be able to plot the error for the

I was able to get a code to run for the first part but cant seem to be able to plot the error for the second part.I was able to get a code to run for the first

Solve the boundary value problem y"+2y y 0 with boundary conditions y(0) 0 and y(1) 1 using the finite difference method. Write a matlab code that will take as input the number of segments n and will output y(x). Plot the solution for 4, 10, 14 and 20 segments If the answer for y(0.5) is 0.82436064, plot the absolute error vs. the number of points

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!