How to use Shooting Method

조회 수: 8 (최근 30일)
Alexander Kimbley
Alexander Kimbley 2019년 1월 29일
편집: Walter Roberson 2019년 1월 30일
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.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Elementary Math에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by