Question: Objectives: Set up and solve a boundary value problem using the shooting method by hand or using Matlab. Solve the following differential equation using the

Objectives: Set up and solve a boundary value problem using the shooting method by hand or using Matlab. Solve the following differential equation using the shooting method. Assume the boundary conditions are y(x=0)=5 and y(x=20)=8. 7dx2d2y2dxdyy+x=0 Use the following parameters and name your final solution vector "yfinal". Plot your solution and compare to the known boundary conditions. Since your final solution may not be as accurate as you wish, make sure you know how to increase the accuracy. %x range xin=0:0.01:20; % To solve we need to guess a value of z zg= linspace (0.9,0.8,200)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
