How to use Shooting Method

4 views (last 30 days)
Alexander Kimbley
Alexander Kimbley on 29 Jan 2019
Edited: Walter Roberson on 30 Jan 2019
I'm very new to Matlab so ill try my best to explain the problem, please bare with me.
I have the following function
((x-c)^2)-B^2)(y''-(a^2)*y)=((2B^2)/((x-c)^2))*(y-(x-c)y')
, where -1<x<1, y=y(z), The eigenvalue c to be "guessed", B=constant.
Guessing the function y=1 at x=-1, I need to code a shooting method, for -1<x<1, where y satisfies the following boundary conditons:
At x=1: Aexp(-a)=y and [(1-c)-(B^2)/(1-c)]*(-aAexp(-a))=[(1-c)-(B^2)/(1-c)]y'
At x=-1 Aexp(-a)=y and [(-1-c)-(B^2)/(-1-c)]*(aAexp(-a))=[(-1-c)-(B^2)/(-1-c)]y'.
If the problem can't be done for B as a general constant it could be set for 0<B<1 or B=0.5, say.
I'm completely lost and don't have any idea how to get started, any help would be much appreciated.
Thanks.

Answers (0)

Categories

Find more on Elementary Math in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!