Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Non-linear Shooting Method for a Two-point Boundary Value Prob- em Consider the differential equation with the boundary conditions y(1)0,y(2) In 2 Show that the

image text in transcribed

2. Non-linear Shooting Method for a Two-point Boundary Value Prob- em Consider the differential equation with the boundary conditions y(1)0,y(2) In 2 Show that the exact solutions is y(z) = In x Implement the shooting method for this problem in Matlab. Use Matlab solver ode45. Note that this is a non-linear problem, so you need to use a secant iteration. Since the secant iteration converges quickly if the initial guess is good, it is crucial to get a good initial guess. Try the values 21 1, 220.5. You mav choose the tolerance to be 10-9, and maximum number of iterations for the secant method to be 5. Plot the approximate solutions together with the exact solution. Plot also the error 2. Non-linear Shooting Method for a Two-point Boundary Value Prob- em Consider the differential equation with the boundary conditions y(1)0,y(2) In 2 Show that the exact solutions is y(z) = In x Implement the shooting method for this problem in Matlab. Use Matlab solver ode45. Note that this is a non-linear problem, so you need to use a secant iteration. Since the secant iteration converges quickly if the initial guess is good, it is crucial to get a good initial guess. Try the values 21 1, 220.5. You mav choose the tolerance to be 10-9, and maximum number of iterations for the secant method to be 5. Plot the approximate solutions together with the exact solution. Plot also the error

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

Recommended Textbook for

Database Administration The Complete Guide To Dba Practices And Procedures

Authors: Craig S. Mullins

2nd Edition

0321822943, 978-0321822949

Students also viewed these Databases questions

Question

=+applying to all or most employers and employees?

Answered: 1 week ago