How to use Shooting Method

7 ビュー (過去 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 Center および File ExchangeElementary Math についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by