Question: 1. Solve the boundary value problem y + 2y + y =0 with boundary conditions y(0) = 0 and y(1) = 1 using the finite
1. 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 points n and will output y(x). Plot the solution for 4, 10, 14 and 20 points.
2. If the answer for y(0.5) is 0.82436064, plot the absolute error vs. the number of points.
Step by Step Solution
3.30 Rating (153 Votes )
There are 3 Steps involved in it
Ans Solve the equation y 2y y 0 and given Condition g0 0 yt1 Stand ... View full answer
Get step-by-step solutions from verified subject matter experts
