Accumulated value of force of interest












0












$begingroup$



For the period from time 0 to time 2, the force of interest is defined as follows:
$$text{force of interest at }(t) = begin{cases}
0.05 & 0 lt t le 1\
0.05+0.02(t-1) & 1lt t le 2
end{cases}$$
$10,!000$ is invested at time $0$. Find the accumulated value at time $1$ and at time $2$.




I got the correct answer for accumulated value at time $1$ using the accumulation function
$$A(t)=A(0)expleft(int_0^Ttext{force of interest} mathrm dtright),$$
by taking the integral of $0.05$ at $1$ and $0$, and then I ended up with $A(t)=10000(e^{0.05-0})$, which gave me $10512.7109$, the correct answer.



However, when I try the same steps but with $T=2$, and the only thing changing is that I take the integral of the second equation and then plug in the same formula, I am getting the wrong answer. The answer in the book is $11162.78$. Any help would be appreciated.










share|cite|improve this question











$endgroup$












  • $begingroup$
    The integral should include both the first and second equation. You have to break the integral up as $int_0^2 = int_0^1 + int_1^2$ using the appropriate part of the definition in each integral. Generally speaking, that's the only way to integrate a function that is defined piecewise if the interval of integration laps over different pieces of the definition.
    $endgroup$
    – MPW
    Oct 6 '15 at 20:21


















0












$begingroup$



For the period from time 0 to time 2, the force of interest is defined as follows:
$$text{force of interest at }(t) = begin{cases}
0.05 & 0 lt t le 1\
0.05+0.02(t-1) & 1lt t le 2
end{cases}$$
$10,!000$ is invested at time $0$. Find the accumulated value at time $1$ and at time $2$.




I got the correct answer for accumulated value at time $1$ using the accumulation function
$$A(t)=A(0)expleft(int_0^Ttext{force of interest} mathrm dtright),$$
by taking the integral of $0.05$ at $1$ and $0$, and then I ended up with $A(t)=10000(e^{0.05-0})$, which gave me $10512.7109$, the correct answer.



However, when I try the same steps but with $T=2$, and the only thing changing is that I take the integral of the second equation and then plug in the same formula, I am getting the wrong answer. The answer in the book is $11162.78$. Any help would be appreciated.










share|cite|improve this question











$endgroup$












  • $begingroup$
    The integral should include both the first and second equation. You have to break the integral up as $int_0^2 = int_0^1 + int_1^2$ using the appropriate part of the definition in each integral. Generally speaking, that's the only way to integrate a function that is defined piecewise if the interval of integration laps over different pieces of the definition.
    $endgroup$
    – MPW
    Oct 6 '15 at 20:21
















0












0








0





$begingroup$



For the period from time 0 to time 2, the force of interest is defined as follows:
$$text{force of interest at }(t) = begin{cases}
0.05 & 0 lt t le 1\
0.05+0.02(t-1) & 1lt t le 2
end{cases}$$
$10,!000$ is invested at time $0$. Find the accumulated value at time $1$ and at time $2$.




I got the correct answer for accumulated value at time $1$ using the accumulation function
$$A(t)=A(0)expleft(int_0^Ttext{force of interest} mathrm dtright),$$
by taking the integral of $0.05$ at $1$ and $0$, and then I ended up with $A(t)=10000(e^{0.05-0})$, which gave me $10512.7109$, the correct answer.



However, when I try the same steps but with $T=2$, and the only thing changing is that I take the integral of the second equation and then plug in the same formula, I am getting the wrong answer. The answer in the book is $11162.78$. Any help would be appreciated.










share|cite|improve this question











$endgroup$





For the period from time 0 to time 2, the force of interest is defined as follows:
$$text{force of interest at }(t) = begin{cases}
0.05 & 0 lt t le 1\
0.05+0.02(t-1) & 1lt t le 2
end{cases}$$
$10,!000$ is invested at time $0$. Find the accumulated value at time $1$ and at time $2$.




I got the correct answer for accumulated value at time $1$ using the accumulation function
$$A(t)=A(0)expleft(int_0^Ttext{force of interest} mathrm dtright),$$
by taking the integral of $0.05$ at $1$ and $0$, and then I ended up with $A(t)=10000(e^{0.05-0})$, which gave me $10512.7109$, the correct answer.



However, when I try the same steps but with $T=2$, and the only thing changing is that I take the integral of the second equation and then plug in the same formula, I am getting the wrong answer. The answer in the book is $11162.78$. Any help would be appreciated.







integration finance






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Oct 6 '15 at 20:56









rubik

6,76132661




6,76132661










asked Oct 6 '15 at 20:05









Alex RochAlex Roch

11




11












  • $begingroup$
    The integral should include both the first and second equation. You have to break the integral up as $int_0^2 = int_0^1 + int_1^2$ using the appropriate part of the definition in each integral. Generally speaking, that's the only way to integrate a function that is defined piecewise if the interval of integration laps over different pieces of the definition.
    $endgroup$
    – MPW
    Oct 6 '15 at 20:21




















  • $begingroup$
    The integral should include both the first and second equation. You have to break the integral up as $int_0^2 = int_0^1 + int_1^2$ using the appropriate part of the definition in each integral. Generally speaking, that's the only way to integrate a function that is defined piecewise if the interval of integration laps over different pieces of the definition.
    $endgroup$
    – MPW
    Oct 6 '15 at 20:21


















$begingroup$
The integral should include both the first and second equation. You have to break the integral up as $int_0^2 = int_0^1 + int_1^2$ using the appropriate part of the definition in each integral. Generally speaking, that's the only way to integrate a function that is defined piecewise if the interval of integration laps over different pieces of the definition.
$endgroup$
– MPW
Oct 6 '15 at 20:21






$begingroup$
The integral should include both the first and second equation. You have to break the integral up as $int_0^2 = int_0^1 + int_1^2$ using the appropriate part of the definition in each integral. Generally speaking, that's the only way to integrate a function that is defined piecewise if the interval of integration laps over different pieces of the definition.
$endgroup$
– MPW
Oct 6 '15 at 20:21












2 Answers
2






active

oldest

votes


















0












$begingroup$

If you are getting the wrong answer it means that you're not integrating correctly. When computing
$$int_0^2text{force of interest} mathrm dt$$
you have to remember that the force of interest is defined by a piecewise function, and therefore you must split the integral. We get (writing $f(t)$ instead of $text{force of interest}$):
$$begin{align}
int_0^2 f(t),mathrm dt &= int_0^1 f(t),mathrm dt + int_1^2 f(t),mathrm dt =\
&= int_0^1 (0.05),mathrm dt + int_1^2left(0.05 + 0.02(t - 1)right),mathrm dt =\
&= 0.11
end{align}$$



And indeed, $10000e^{0.11} = 11162.78$.






share|cite|improve this answer









$endgroup$





















    0












    $begingroup$

    Let be the force of interest defined by
    $$
    delta(t) = begin{cases}
    0.05 & 0 lt t le 1\
    0.05+0.02(t-1) & 1lt t le 2
    end{cases}
    $$
    Integrating $frac{A'(t)}{A(t)}=delta(t)$ from $t_1$ to $t_2$ we have
    $$
    A(t_2)=A(t_1)mathrm e^{int_{t_1}^{t_2}delta(u)mathrm d u}
    $$
    So we have
    $$
    A(1)=A(0)expleft(int_{0}^{1}0.05,mathrm d uright)=A(0)mathrm e^{0.05}=10,000,mathrm e^{0.05}approx 10,512.71
    $$
    where $A(0)=10,000$.



    And
    $$
    A(2)=A(1)expleft(int_{1}^{2}[0.05+0.02(u-1)],mathrm d uright)=A(1)mathrm e^{0.06}=10,512.71,mathrm e^{0.06}approx 11,162.78
    $$






    share|cite|improve this answer











    $endgroup$













      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%2f1467622%2faccumulated-value-of-force-of-interest%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0












      $begingroup$

      If you are getting the wrong answer it means that you're not integrating correctly. When computing
      $$int_0^2text{force of interest} mathrm dt$$
      you have to remember that the force of interest is defined by a piecewise function, and therefore you must split the integral. We get (writing $f(t)$ instead of $text{force of interest}$):
      $$begin{align}
      int_0^2 f(t),mathrm dt &= int_0^1 f(t),mathrm dt + int_1^2 f(t),mathrm dt =\
      &= int_0^1 (0.05),mathrm dt + int_1^2left(0.05 + 0.02(t - 1)right),mathrm dt =\
      &= 0.11
      end{align}$$



      And indeed, $10000e^{0.11} = 11162.78$.






      share|cite|improve this answer









      $endgroup$


















        0












        $begingroup$

        If you are getting the wrong answer it means that you're not integrating correctly. When computing
        $$int_0^2text{force of interest} mathrm dt$$
        you have to remember that the force of interest is defined by a piecewise function, and therefore you must split the integral. We get (writing $f(t)$ instead of $text{force of interest}$):
        $$begin{align}
        int_0^2 f(t),mathrm dt &= int_0^1 f(t),mathrm dt + int_1^2 f(t),mathrm dt =\
        &= int_0^1 (0.05),mathrm dt + int_1^2left(0.05 + 0.02(t - 1)right),mathrm dt =\
        &= 0.11
        end{align}$$



        And indeed, $10000e^{0.11} = 11162.78$.






        share|cite|improve this answer









        $endgroup$
















          0












          0








          0





          $begingroup$

          If you are getting the wrong answer it means that you're not integrating correctly. When computing
          $$int_0^2text{force of interest} mathrm dt$$
          you have to remember that the force of interest is defined by a piecewise function, and therefore you must split the integral. We get (writing $f(t)$ instead of $text{force of interest}$):
          $$begin{align}
          int_0^2 f(t),mathrm dt &= int_0^1 f(t),mathrm dt + int_1^2 f(t),mathrm dt =\
          &= int_0^1 (0.05),mathrm dt + int_1^2left(0.05 + 0.02(t - 1)right),mathrm dt =\
          &= 0.11
          end{align}$$



          And indeed, $10000e^{0.11} = 11162.78$.






          share|cite|improve this answer









          $endgroup$



          If you are getting the wrong answer it means that you're not integrating correctly. When computing
          $$int_0^2text{force of interest} mathrm dt$$
          you have to remember that the force of interest is defined by a piecewise function, and therefore you must split the integral. We get (writing $f(t)$ instead of $text{force of interest}$):
          $$begin{align}
          int_0^2 f(t),mathrm dt &= int_0^1 f(t),mathrm dt + int_1^2 f(t),mathrm dt =\
          &= int_0^1 (0.05),mathrm dt + int_1^2left(0.05 + 0.02(t - 1)right),mathrm dt =\
          &= 0.11
          end{align}$$



          And indeed, $10000e^{0.11} = 11162.78$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Oct 6 '15 at 20:23









          rubikrubik

          6,76132661




          6,76132661























              0












              $begingroup$

              Let be the force of interest defined by
              $$
              delta(t) = begin{cases}
              0.05 & 0 lt t le 1\
              0.05+0.02(t-1) & 1lt t le 2
              end{cases}
              $$
              Integrating $frac{A'(t)}{A(t)}=delta(t)$ from $t_1$ to $t_2$ we have
              $$
              A(t_2)=A(t_1)mathrm e^{int_{t_1}^{t_2}delta(u)mathrm d u}
              $$
              So we have
              $$
              A(1)=A(0)expleft(int_{0}^{1}0.05,mathrm d uright)=A(0)mathrm e^{0.05}=10,000,mathrm e^{0.05}approx 10,512.71
              $$
              where $A(0)=10,000$.



              And
              $$
              A(2)=A(1)expleft(int_{1}^{2}[0.05+0.02(u-1)],mathrm d uright)=A(1)mathrm e^{0.06}=10,512.71,mathrm e^{0.06}approx 11,162.78
              $$






              share|cite|improve this answer











              $endgroup$


















                0












                $begingroup$

                Let be the force of interest defined by
                $$
                delta(t) = begin{cases}
                0.05 & 0 lt t le 1\
                0.05+0.02(t-1) & 1lt t le 2
                end{cases}
                $$
                Integrating $frac{A'(t)}{A(t)}=delta(t)$ from $t_1$ to $t_2$ we have
                $$
                A(t_2)=A(t_1)mathrm e^{int_{t_1}^{t_2}delta(u)mathrm d u}
                $$
                So we have
                $$
                A(1)=A(0)expleft(int_{0}^{1}0.05,mathrm d uright)=A(0)mathrm e^{0.05}=10,000,mathrm e^{0.05}approx 10,512.71
                $$
                where $A(0)=10,000$.



                And
                $$
                A(2)=A(1)expleft(int_{1}^{2}[0.05+0.02(u-1)],mathrm d uright)=A(1)mathrm e^{0.06}=10,512.71,mathrm e^{0.06}approx 11,162.78
                $$






                share|cite|improve this answer











                $endgroup$
















                  0












                  0








                  0





                  $begingroup$

                  Let be the force of interest defined by
                  $$
                  delta(t) = begin{cases}
                  0.05 & 0 lt t le 1\
                  0.05+0.02(t-1) & 1lt t le 2
                  end{cases}
                  $$
                  Integrating $frac{A'(t)}{A(t)}=delta(t)$ from $t_1$ to $t_2$ we have
                  $$
                  A(t_2)=A(t_1)mathrm e^{int_{t_1}^{t_2}delta(u)mathrm d u}
                  $$
                  So we have
                  $$
                  A(1)=A(0)expleft(int_{0}^{1}0.05,mathrm d uright)=A(0)mathrm e^{0.05}=10,000,mathrm e^{0.05}approx 10,512.71
                  $$
                  where $A(0)=10,000$.



                  And
                  $$
                  A(2)=A(1)expleft(int_{1}^{2}[0.05+0.02(u-1)],mathrm d uright)=A(1)mathrm e^{0.06}=10,512.71,mathrm e^{0.06}approx 11,162.78
                  $$






                  share|cite|improve this answer











                  $endgroup$



                  Let be the force of interest defined by
                  $$
                  delta(t) = begin{cases}
                  0.05 & 0 lt t le 1\
                  0.05+0.02(t-1) & 1lt t le 2
                  end{cases}
                  $$
                  Integrating $frac{A'(t)}{A(t)}=delta(t)$ from $t_1$ to $t_2$ we have
                  $$
                  A(t_2)=A(t_1)mathrm e^{int_{t_1}^{t_2}delta(u)mathrm d u}
                  $$
                  So we have
                  $$
                  A(1)=A(0)expleft(int_{0}^{1}0.05,mathrm d uright)=A(0)mathrm e^{0.05}=10,000,mathrm e^{0.05}approx 10,512.71
                  $$
                  where $A(0)=10,000$.



                  And
                  $$
                  A(2)=A(1)expleft(int_{1}^{2}[0.05+0.02(u-1)],mathrm d uright)=A(1)mathrm e^{0.06}=10,512.71,mathrm e^{0.06}approx 11,162.78
                  $$







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Sep 4 '17 at 20:45

























                  answered Sep 4 '17 at 20:36









                  alexjoalexjo

                  12.4k1430




                  12.4k1430






























                      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%2f1467622%2faccumulated-value-of-force-of-interest%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

                      Probability when a professor distributes a quiz and homework assignment to a class of n students.

                      Aardman Animations

                      Are they similar matrix