Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
Compare the result with the analytical solution y=x4-x2+2x.

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

Students also viewed these Databases questions