Solve a system of differential equations where argument of one function depend at another argument












0












$begingroup$


I need to solve a system of differential equations using Mathcad.



Moreover, the condition argument of one function depends on $t$, and delated $y = t - t_0$.



How make a substitution argument in the function $ N(y) $?



enter image description here
Editor's comment: Class of coupled / delayed differential equations.










share|cite|improve this question











$endgroup$












  • $begingroup$
    In your cited image it is $N(t)$?
    $endgroup$
    – LutzL
    Mar 8 '15 at 16:46










  • $begingroup$
    It's N(y) where y=t-t0
    $endgroup$
    – timyrik20
    Mar 8 '15 at 16:52
















0












$begingroup$


I need to solve a system of differential equations using Mathcad.



Moreover, the condition argument of one function depends on $t$, and delated $y = t - t_0$.



How make a substitution argument in the function $ N(y) $?



enter image description here
Editor's comment: Class of coupled / delayed differential equations.










share|cite|improve this question











$endgroup$












  • $begingroup$
    In your cited image it is $N(t)$?
    $endgroup$
    – LutzL
    Mar 8 '15 at 16:46










  • $begingroup$
    It's N(y) where y=t-t0
    $endgroup$
    – timyrik20
    Mar 8 '15 at 16:52














0












0








0





$begingroup$


I need to solve a system of differential equations using Mathcad.



Moreover, the condition argument of one function depends on $t$, and delated $y = t - t_0$.



How make a substitution argument in the function $ N(y) $?



enter image description here
Editor's comment: Class of coupled / delayed differential equations.










share|cite|improve this question











$endgroup$




I need to solve a system of differential equations using Mathcad.



Moreover, the condition argument of one function depends on $t$, and delated $y = t - t_0$.



How make a substitution argument in the function $ N(y) $?



enter image description here
Editor's comment: Class of coupled / delayed differential equations.







ordinary-differential-equations






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 8 '15 at 16:51









Narasimham

20.6k52158




20.6k52158










asked Mar 8 '15 at 15:32









timyrik20timyrik20

1




1












  • $begingroup$
    In your cited image it is $N(t)$?
    $endgroup$
    – LutzL
    Mar 8 '15 at 16:46










  • $begingroup$
    It's N(y) where y=t-t0
    $endgroup$
    – timyrik20
    Mar 8 '15 at 16:52


















  • $begingroup$
    In your cited image it is $N(t)$?
    $endgroup$
    – LutzL
    Mar 8 '15 at 16:46










  • $begingroup$
    It's N(y) where y=t-t0
    $endgroup$
    – timyrik20
    Mar 8 '15 at 16:52
















$begingroup$
In your cited image it is $N(t)$?
$endgroup$
– LutzL
Mar 8 '15 at 16:46




$begingroup$
In your cited image it is $N(t)$?
$endgroup$
– LutzL
Mar 8 '15 at 16:46












$begingroup$
It's N(y) where y=t-t0
$endgroup$
– timyrik20
Mar 8 '15 at 16:52




$begingroup$
It's N(y) where y=t-t0
$endgroup$
– timyrik20
Mar 8 '15 at 16:52










1 Answer
1






active

oldest

votes


















0












$begingroup$

Set $M(t)=N(t-t_0)$, then you have a boundary value problems with linear boundary conditions at $t=0$ and $t=t_0$.





Resulting system



a*R'(t)+b*R''(t) = R(t)*(c-d*R(t)+e*M(t)),  R(0) = R0,   R'(0) = DR0,
a*M'(t)+b*M''(t) = M(t)*(f-g*M(t)+h*R(t)), M(t0) = N0, M'(t0) = DN0.


or with the constants as supplied by timyrik20



boundary value problem





Now you can try to use ODEsolve in some versions of MathCad (15 but not Prime? by topics in the community forum). Single or multiple shooting strategies are usually employed in this case. Basically, the initial conditions of $M$ at $t=0$ are introduced as variables, the integration process can be reduced to a function to the values of the other boundary, where the boundary conditions form a non-linear system. This can be solved via Newton or derivative free (adjoint) secant methods. This single shooting approach seems to be used by MathCad, or you can emulate it by explicitly employing the solver on a parametrized solution. Other answers in the forum employ the MathCad command line with additional specialized procedures,...






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Whether I have understood you, when t0=3 i.stack.imgur.com/nl5H8.png
    $endgroup$
    – timyrik20
    Mar 8 '15 at 19:39












  • $begingroup$
    Yes, like that, apart from the arguments of Odesolve, check the documentation, the second argument should be t0 or a somewhat larger constant, the last can be omitted, 10 subdivisions could be too small.
    $endgroup$
    – LutzL
    Jan 3 at 10:17











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',
autoActivateHeartbeat: false,
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1180895%2fsolve-a-system-of-differential-equations-where-argument-of-one-function-depend-a%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0












$begingroup$

Set $M(t)=N(t-t_0)$, then you have a boundary value problems with linear boundary conditions at $t=0$ and $t=t_0$.





Resulting system



a*R'(t)+b*R''(t) = R(t)*(c-d*R(t)+e*M(t)),  R(0) = R0,   R'(0) = DR0,
a*M'(t)+b*M''(t) = M(t)*(f-g*M(t)+h*R(t)), M(t0) = N0, M'(t0) = DN0.


or with the constants as supplied by timyrik20



boundary value problem





Now you can try to use ODEsolve in some versions of MathCad (15 but not Prime? by topics in the community forum). Single or multiple shooting strategies are usually employed in this case. Basically, the initial conditions of $M$ at $t=0$ are introduced as variables, the integration process can be reduced to a function to the values of the other boundary, where the boundary conditions form a non-linear system. This can be solved via Newton or derivative free (adjoint) secant methods. This single shooting approach seems to be used by MathCad, or you can emulate it by explicitly employing the solver on a parametrized solution. Other answers in the forum employ the MathCad command line with additional specialized procedures,...






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Whether I have understood you, when t0=3 i.stack.imgur.com/nl5H8.png
    $endgroup$
    – timyrik20
    Mar 8 '15 at 19:39












  • $begingroup$
    Yes, like that, apart from the arguments of Odesolve, check the documentation, the second argument should be t0 or a somewhat larger constant, the last can be omitted, 10 subdivisions could be too small.
    $endgroup$
    – LutzL
    Jan 3 at 10:17
















0












$begingroup$

Set $M(t)=N(t-t_0)$, then you have a boundary value problems with linear boundary conditions at $t=0$ and $t=t_0$.





Resulting system



a*R'(t)+b*R''(t) = R(t)*(c-d*R(t)+e*M(t)),  R(0) = R0,   R'(0) = DR0,
a*M'(t)+b*M''(t) = M(t)*(f-g*M(t)+h*R(t)), M(t0) = N0, M'(t0) = DN0.


or with the constants as supplied by timyrik20



boundary value problem





Now you can try to use ODEsolve in some versions of MathCad (15 but not Prime? by topics in the community forum). Single or multiple shooting strategies are usually employed in this case. Basically, the initial conditions of $M$ at $t=0$ are introduced as variables, the integration process can be reduced to a function to the values of the other boundary, where the boundary conditions form a non-linear system. This can be solved via Newton or derivative free (adjoint) secant methods. This single shooting approach seems to be used by MathCad, or you can emulate it by explicitly employing the solver on a parametrized solution. Other answers in the forum employ the MathCad command line with additional specialized procedures,...






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Whether I have understood you, when t0=3 i.stack.imgur.com/nl5H8.png
    $endgroup$
    – timyrik20
    Mar 8 '15 at 19:39












  • $begingroup$
    Yes, like that, apart from the arguments of Odesolve, check the documentation, the second argument should be t0 or a somewhat larger constant, the last can be omitted, 10 subdivisions could be too small.
    $endgroup$
    – LutzL
    Jan 3 at 10:17














0












0








0





$begingroup$

Set $M(t)=N(t-t_0)$, then you have a boundary value problems with linear boundary conditions at $t=0$ and $t=t_0$.





Resulting system



a*R'(t)+b*R''(t) = R(t)*(c-d*R(t)+e*M(t)),  R(0) = R0,   R'(0) = DR0,
a*M'(t)+b*M''(t) = M(t)*(f-g*M(t)+h*R(t)), M(t0) = N0, M'(t0) = DN0.


or with the constants as supplied by timyrik20



boundary value problem





Now you can try to use ODEsolve in some versions of MathCad (15 but not Prime? by topics in the community forum). Single or multiple shooting strategies are usually employed in this case. Basically, the initial conditions of $M$ at $t=0$ are introduced as variables, the integration process can be reduced to a function to the values of the other boundary, where the boundary conditions form a non-linear system. This can be solved via Newton or derivative free (adjoint) secant methods. This single shooting approach seems to be used by MathCad, or you can emulate it by explicitly employing the solver on a parametrized solution. Other answers in the forum employ the MathCad command line with additional specialized procedures,...






share|cite|improve this answer











$endgroup$



Set $M(t)=N(t-t_0)$, then you have a boundary value problems with linear boundary conditions at $t=0$ and $t=t_0$.





Resulting system



a*R'(t)+b*R''(t) = R(t)*(c-d*R(t)+e*M(t)),  R(0) = R0,   R'(0) = DR0,
a*M'(t)+b*M''(t) = M(t)*(f-g*M(t)+h*R(t)), M(t0) = N0, M'(t0) = DN0.


or with the constants as supplied by timyrik20



boundary value problem





Now you can try to use ODEsolve in some versions of MathCad (15 but not Prime? by topics in the community forum). Single or multiple shooting strategies are usually employed in this case. Basically, the initial conditions of $M$ at $t=0$ are introduced as variables, the integration process can be reduced to a function to the values of the other boundary, where the boundary conditions form a non-linear system. This can be solved via Newton or derivative free (adjoint) secant methods. This single shooting approach seems to be used by MathCad, or you can emulate it by explicitly employing the solver on a parametrized solution. Other answers in the forum employ the MathCad command line with additional specialized procedures,...







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Jan 3 at 10:13

























answered Mar 8 '15 at 16:47









LutzLLutzL

57.1k42054




57.1k42054












  • $begingroup$
    Whether I have understood you, when t0=3 i.stack.imgur.com/nl5H8.png
    $endgroup$
    – timyrik20
    Mar 8 '15 at 19:39












  • $begingroup$
    Yes, like that, apart from the arguments of Odesolve, check the documentation, the second argument should be t0 or a somewhat larger constant, the last can be omitted, 10 subdivisions could be too small.
    $endgroup$
    – LutzL
    Jan 3 at 10:17


















  • $begingroup$
    Whether I have understood you, when t0=3 i.stack.imgur.com/nl5H8.png
    $endgroup$
    – timyrik20
    Mar 8 '15 at 19:39












  • $begingroup$
    Yes, like that, apart from the arguments of Odesolve, check the documentation, the second argument should be t0 or a somewhat larger constant, the last can be omitted, 10 subdivisions could be too small.
    $endgroup$
    – LutzL
    Jan 3 at 10:17
















$begingroup$
Whether I have understood you, when t0=3 i.stack.imgur.com/nl5H8.png
$endgroup$
– timyrik20
Mar 8 '15 at 19:39






$begingroup$
Whether I have understood you, when t0=3 i.stack.imgur.com/nl5H8.png
$endgroup$
– timyrik20
Mar 8 '15 at 19:39














$begingroup$
Yes, like that, apart from the arguments of Odesolve, check the documentation, the second argument should be t0 or a somewhat larger constant, the last can be omitted, 10 subdivisions could be too small.
$endgroup$
– LutzL
Jan 3 at 10:17




$begingroup$
Yes, like that, apart from the arguments of Odesolve, check the documentation, the second argument should be t0 or a somewhat larger constant, the last can be omitted, 10 subdivisions could be too small.
$endgroup$
– LutzL
Jan 3 at 10:17


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1180895%2fsolve-a-system-of-differential-equations-where-argument-of-one-function-depend-a%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

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith