Iteration algorithm for finding better approximation in Shooting method for solving BVP
up vote
0
down vote
favorite
Good day, everyone. Basically , the problem I am given is to solve the system of differential equations with 4 equations, and I have two initial values, and two boundary conditions. Following the Shooting method theory, I supply my system with two guesses for missing initial values, solve the system using Runge-Kutta 4th order, and obtain some values for functions, which are not right based on my boundary conditions.The question is how to iterate my system of approximations for initial values, to obtain right initial guesses? If I had only one value to be found by this method, it would be easy, by just implementing some form of linear interpolation, squeezing down the solution from two ends. But since there are two values guessed, it is not working anymore. Any ideas would be greatly appreciated.
numerical-methods runge-kutta-methods
New contributor
add a comment |
up vote
0
down vote
favorite
Good day, everyone. Basically , the problem I am given is to solve the system of differential equations with 4 equations, and I have two initial values, and two boundary conditions. Following the Shooting method theory, I supply my system with two guesses for missing initial values, solve the system using Runge-Kutta 4th order, and obtain some values for functions, which are not right based on my boundary conditions.The question is how to iterate my system of approximations for initial values, to obtain right initial guesses? If I had only one value to be found by this method, it would be easy, by just implementing some form of linear interpolation, squeezing down the solution from two ends. But since there are two values guessed, it is not working anymore. Any ideas would be greatly appreciated.
numerical-methods runge-kutta-methods
New contributor
My functions are like this: $dot x_1(t) = x_2(t)$, $dot x_2(t) = p_2(t)-sqrt 2 x_1(t)e^{-alpha t}$, $dot p_1(t) = sqrt 2 p_2(t)e^{-alpha t}+x_1(t)$, $dot p_2(t) = -p_1(t)$ with initial and boundary values of: $x_1(0)=1,p_2(0)=0 p_1(1)=0,p_2(1)=0$
– Farid Hasanov
23 hours ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Good day, everyone. Basically , the problem I am given is to solve the system of differential equations with 4 equations, and I have two initial values, and two boundary conditions. Following the Shooting method theory, I supply my system with two guesses for missing initial values, solve the system using Runge-Kutta 4th order, and obtain some values for functions, which are not right based on my boundary conditions.The question is how to iterate my system of approximations for initial values, to obtain right initial guesses? If I had only one value to be found by this method, it would be easy, by just implementing some form of linear interpolation, squeezing down the solution from two ends. But since there are two values guessed, it is not working anymore. Any ideas would be greatly appreciated.
numerical-methods runge-kutta-methods
New contributor
Good day, everyone. Basically , the problem I am given is to solve the system of differential equations with 4 equations, and I have two initial values, and two boundary conditions. Following the Shooting method theory, I supply my system with two guesses for missing initial values, solve the system using Runge-Kutta 4th order, and obtain some values for functions, which are not right based on my boundary conditions.The question is how to iterate my system of approximations for initial values, to obtain right initial guesses? If I had only one value to be found by this method, it would be easy, by just implementing some form of linear interpolation, squeezing down the solution from two ends. But since there are two values guessed, it is not working anymore. Any ideas would be greatly appreciated.
numerical-methods runge-kutta-methods
numerical-methods runge-kutta-methods
New contributor
New contributor
New contributor
asked yesterday
Farid Hasanov
1
1
New contributor
New contributor
My functions are like this: $dot x_1(t) = x_2(t)$, $dot x_2(t) = p_2(t)-sqrt 2 x_1(t)e^{-alpha t}$, $dot p_1(t) = sqrt 2 p_2(t)e^{-alpha t}+x_1(t)$, $dot p_2(t) = -p_1(t)$ with initial and boundary values of: $x_1(0)=1,p_2(0)=0 p_1(1)=0,p_2(1)=0$
– Farid Hasanov
23 hours ago
add a comment |
My functions are like this: $dot x_1(t) = x_2(t)$, $dot x_2(t) = p_2(t)-sqrt 2 x_1(t)e^{-alpha t}$, $dot p_1(t) = sqrt 2 p_2(t)e^{-alpha t}+x_1(t)$, $dot p_2(t) = -p_1(t)$ with initial and boundary values of: $x_1(0)=1,p_2(0)=0 p_1(1)=0,p_2(1)=0$
– Farid Hasanov
23 hours ago
My functions are like this: $dot x_1(t) = x_2(t)$, $dot x_2(t) = p_2(t)-sqrt 2 x_1(t)e^{-alpha t}$, $dot p_1(t) = sqrt 2 p_2(t)e^{-alpha t}+x_1(t)$, $dot p_2(t) = -p_1(t)$ with initial and boundary values of: $x_1(0)=1,p_2(0)=0 p_1(1)=0,p_2(1)=0$
– Farid Hasanov
23 hours ago
My functions are like this: $dot x_1(t) = x_2(t)$, $dot x_2(t) = p_2(t)-sqrt 2 x_1(t)e^{-alpha t}$, $dot p_1(t) = sqrt 2 p_2(t)e^{-alpha t}+x_1(t)$, $dot p_2(t) = -p_1(t)$ with initial and boundary values of: $x_1(0)=1,p_2(0)=0 p_1(1)=0,p_2(1)=0$
– Farid Hasanov
23 hours ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Farid Hasanov is a new contributor. Be nice, and check out our Code of Conduct.
Farid Hasanov is a new contributor. Be nice, and check out our Code of Conduct.
Farid Hasanov is a new contributor. Be nice, and check out our Code of Conduct.
Farid Hasanov is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3004850%2fiteration-algorithm-for-finding-better-approximation-in-shooting-method-for-solv%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
My functions are like this: $dot x_1(t) = x_2(t)$, $dot x_2(t) = p_2(t)-sqrt 2 x_1(t)e^{-alpha t}$, $dot p_1(t) = sqrt 2 p_2(t)e^{-alpha t}+x_1(t)$, $dot p_2(t) = -p_1(t)$ with initial and boundary values of: $x_1(0)=1,p_2(0)=0 p_1(1)=0,p_2(1)=0$
– Farid Hasanov
23 hours ago