Truncation Error of a Predictor Corrector Method











up vote
0
down vote

favorite












In a paper I am reading. A predictor corrector scheme is developed to solve equations of the form $$y^{prime}=y(y-1)g(y)$$ where $g(y)$ is a bounded and continuously differentiable function.
The scheme is given by:
$$y_{n+1}^{p}={y_{n}^c over y_{n}^c+(1-y_{n}^c)exp{(hg(y_{n}^c))}}$$
$$chi_{n+1}=chi_{n}exp{({h over 2}(g(y_{n}^c)+g(y_{n+1}^p)))}$$
$$y_{n+1}^c={1 over 1-chi_{n+1}}$$
where $y_{n}^c$ and $y_{n}^p$ are the corrector and predictor approximations.
I want to derive the truncation error for the predictor. $$y(x_n+h)-{y(x_n)over y(x_n)+(1-y(x_n))exp{(hg(y(x_n)))}}$$ I tried Taylor expansion of $y(x_n+h)$ then multiplied by $y(x_n)+(1-y(x_n))exp{(hg(y(x_n)))}$. How can I proceed after that, any hints?










share|cite|improve this question







New contributor




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
























    up vote
    0
    down vote

    favorite












    In a paper I am reading. A predictor corrector scheme is developed to solve equations of the form $$y^{prime}=y(y-1)g(y)$$ where $g(y)$ is a bounded and continuously differentiable function.
    The scheme is given by:
    $$y_{n+1}^{p}={y_{n}^c over y_{n}^c+(1-y_{n}^c)exp{(hg(y_{n}^c))}}$$
    $$chi_{n+1}=chi_{n}exp{({h over 2}(g(y_{n}^c)+g(y_{n+1}^p)))}$$
    $$y_{n+1}^c={1 over 1-chi_{n+1}}$$
    where $y_{n}^c$ and $y_{n}^p$ are the corrector and predictor approximations.
    I want to derive the truncation error for the predictor. $$y(x_n+h)-{y(x_n)over y(x_n)+(1-y(x_n))exp{(hg(y(x_n)))}}$$ I tried Taylor expansion of $y(x_n+h)$ then multiplied by $y(x_n)+(1-y(x_n))exp{(hg(y(x_n)))}$. How can I proceed after that, any hints?










    share|cite|improve this question







    New contributor




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






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      In a paper I am reading. A predictor corrector scheme is developed to solve equations of the form $$y^{prime}=y(y-1)g(y)$$ where $g(y)$ is a bounded and continuously differentiable function.
      The scheme is given by:
      $$y_{n+1}^{p}={y_{n}^c over y_{n}^c+(1-y_{n}^c)exp{(hg(y_{n}^c))}}$$
      $$chi_{n+1}=chi_{n}exp{({h over 2}(g(y_{n}^c)+g(y_{n+1}^p)))}$$
      $$y_{n+1}^c={1 over 1-chi_{n+1}}$$
      where $y_{n}^c$ and $y_{n}^p$ are the corrector and predictor approximations.
      I want to derive the truncation error for the predictor. $$y(x_n+h)-{y(x_n)over y(x_n)+(1-y(x_n))exp{(hg(y(x_n)))}}$$ I tried Taylor expansion of $y(x_n+h)$ then multiplied by $y(x_n)+(1-y(x_n))exp{(hg(y(x_n)))}$. How can I proceed after that, any hints?










      share|cite|improve this question







      New contributor




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











      In a paper I am reading. A predictor corrector scheme is developed to solve equations of the form $$y^{prime}=y(y-1)g(y)$$ where $g(y)$ is a bounded and continuously differentiable function.
      The scheme is given by:
      $$y_{n+1}^{p}={y_{n}^c over y_{n}^c+(1-y_{n}^c)exp{(hg(y_{n}^c))}}$$
      $$chi_{n+1}=chi_{n}exp{({h over 2}(g(y_{n}^c)+g(y_{n+1}^p)))}$$
      $$y_{n+1}^c={1 over 1-chi_{n+1}}$$
      where $y_{n}^c$ and $y_{n}^p$ are the corrector and predictor approximations.
      I want to derive the truncation error for the predictor. $$y(x_n+h)-{y(x_n)over y(x_n)+(1-y(x_n))exp{(hg(y(x_n)))}}$$ I tried Taylor expansion of $y(x_n+h)$ then multiplied by $y(x_n)+(1-y(x_n))exp{(hg(y(x_n)))}$. How can I proceed after that, any hints?







      differential-equations numerical-methods






      share|cite|improve this question







      New contributor




      Tres nom 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




      Tres nom 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




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









      asked 9 hours ago









      Tres nom

      1




      1




      New contributor




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





      New contributor





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






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



























          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
          });


          }
          });






          Tres nom 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%2f3004594%2ftruncation-error-of-a-predictor-corrector-method%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Tres nom is a new contributor. Be nice, and check out our Code of Conduct.










           

          draft saved


          draft discarded


















          Tres nom is a new contributor. Be nice, and check out our Code of Conduct.













          Tres nom is a new contributor. Be nice, and check out our Code of Conduct.












          Tres nom 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%2f3004594%2ftruncation-error-of-a-predictor-corrector-method%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?

          ts Property 'filter' does not exist on type '{}'

          mat-slide-toggle shouldn't change it's state when I click cancel in confirmation window