Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Algorithms
  4. Interest Calculation (for Pensions Schemes)

Interest Calculation (for Pensions Schemes)

Scheduled Pinned Locked Moved Algorithms
helpquestionalgorithms
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    What algorithm can I solve this pensions problem? A Company's Net Income(NI) is to be distributes to members based on their monthly contributions(MC) and a common rate(R)and a variant power(P) where P is n/12 and n is the month. The equation is I=((((1+R/100)^P)-1)*MC) where I is interest for a particular month. Hence NI=i1+I2+I3+.....In How can I find the unknown which is the Rate R? I really need your help Thanks

    L L T 3 Replies Last reply
    0
    • L Lost User

      What algorithm can I solve this pensions problem? A Company's Net Income(NI) is to be distributes to members based on their monthly contributions(MC) and a common rate(R)and a variant power(P) where P is n/12 and n is the month. The equation is I=((((1+R/100)^P)-1)*MC) where I is interest for a particular month. Hence NI=i1+I2+I3+.....In How can I find the unknown which is the Rate R? I really need your help Thanks

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Surely the rate (R) needs to be set in advance by the fund's trustees. Or am I totally misunderstanding the issue?

      Just say 'NO' to evaluated arguments for diadic functions! Ash

      L 1 Reply Last reply
      0
      • L Lost User

        Surely the rate (R) needs to be set in advance by the fund's trustees. Or am I totally misunderstanding the issue?

        Just say 'NO' to evaluated arguments for diadic functions! Ash

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        I agree with you, this thing might be impossible. This is the scenario, the client has Net Income that it wants to distribute to members based on an unknown Rate such that the sum of all the Interest earned on month contributions will sum up to this Net Income. Thank You

        L 1 Reply Last reply
        0
        • L Lost User

          I agree with you, this thing might be impossible. This is the scenario, the client has Net Income that it wants to distribute to members based on an unknown Rate such that the sum of all the Interest earned on month contributions will sum up to this Net Income. Thank You

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          It's some years since I did formulae like this so I am afraid the best I can suggest is to take a look here[^] for some possible suggestions.

          Just say 'NO' to evaluated arguments for diadic functions! Ash

          1 Reply Last reply
          0
          • L Lost User

            What algorithm can I solve this pensions problem? A Company's Net Income(NI) is to be distributes to members based on their monthly contributions(MC) and a common rate(R)and a variant power(P) where P is n/12 and n is the month. The equation is I=((((1+R/100)^P)-1)*MC) where I is interest for a particular month. Hence NI=i1+I2+I3+.....In How can I find the unknown which is the Rate R? I really need your help Thanks

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            when there isn't a closed formula yielding the variable you want, all you can do is create an iterative approach. Basically come up with an initial guess R1, calculate how wrong the outcome is, say F1 = NI1 - NItarget, then use a new guess R2, calculcate F2, etc. until it is sufficiently accurate. An appropriate iteration scheme is offered by the Newton-Raphson algorithm (Google it). :)

            Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

            Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

            1 Reply Last reply
            0
            • L Lost User

              What algorithm can I solve this pensions problem? A Company's Net Income(NI) is to be distributes to members based on their monthly contributions(MC) and a common rate(R)and a variant power(P) where P is n/12 and n is the month. The equation is I=((((1+R/100)^P)-1)*MC) where I is interest for a particular month. Hence NI=i1+I2+I3+.....In How can I find the unknown which is the Rate R? I really need your help Thanks

              T Offline
              T Offline
              Tadeusz Westawic
              wrote on last edited by
              #6

              Solve for December to get rid of P? Or sum the year? Or do I grossly misunderstand? Tadeusz Westawic Sum quid sum.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups