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.










share|cite|improve this question







New contributor




Farid Hasanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • 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















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.










share|cite|improve this question







New contributor




Farid Hasanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • 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













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.










share|cite|improve this question







New contributor




Farid Hasanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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






share|cite|improve this question







New contributor




Farid Hasanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|cite|improve this question







New contributor




Farid Hasanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this question




share|cite|improve this question






New contributor




Farid Hasanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Farid Hasanov

1




1




New contributor




Farid Hasanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Farid Hasanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Farid Hasanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • 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




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















active

oldest

votes











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Farid Hasanov is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















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






























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.










 

draft saved


draft discarded


















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.















 


draft saved


draft discarded














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





















































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







Popular posts from this blog

Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

Does disintegrating a polymorphed enemy still kill it after the 2018 errata?

A Topological Invariant for $pi_3(U(n))$