Question: Solve the boundary - value problem y ' ' + x 2 y ' - 4 x y = 2 x 3 + 6 x

Solve the boundary-value problem
y''+x2y'-4xy=2x3+6x2-2,y(0)=0,y(1)=2
by using the shooting method. Use the modified Euler method (with only one correction at each step), and take h=0.2. Start with an initial slope of y'(0)=1.9 as a first attempt a nd y'(0)=2.1 as a second attempt. Then interpolate using MATLAB code and provide a complete MATLAB you used , your output program must show tabular interpolation.
Compare the result with the analytical solution y=x4-x2+2x.

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!