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. The Lounge
  3. So you know money...

So you know money...

Scheduled Pinned Locked Moved The Lounge
questioncom
33 Posts 8 Posters 4 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.
  • J Jorgen Sigvardsson

    Ashley van Gerven wrote:

    now lets see if i'm right...

    I don't think you're correct. Mainly because you split the 10 grand. You don't gain 80% on 5000 dollars while you lose 60% on 5000 on a single week. Either he gains 80%, or he loses 60%. The problem statement says that he starts out with 10 grand, and every second week time he gains 80%, and all other weeks he loses 60%. My interpretation of the problem is that he get's either 80% or loses 60% of what he's currently got, and all the money stays in the scheme. The problem is very similar to compound interest problems: Bob starts out with X dollars in the bank. He gets Y% interest of what he's got on the bank annually. Bob does not withdraw any money. How much money does Bob have after Z years? The only thing that differs is that he's getting 80% back or loses 60%. So, the correct answer should be (IMO), 10000 * 1.8^(52/2) * (1 - 0.6)^(52/2) which is approximately 1.95. -- Pictures[^] from my Japan trip.

    A Offline
    A Offline
    Ashley van Gerven
    wrote on last edited by
    #24

    good point... thanks for explanation

    1 Reply Last reply
    0
    • R Raj Lal

      lets see .... A Cpian puts 10,000 dollar in a Weekly trading scheme. -> About half the time, He makes an 80% gain. -> The other half, he makes a 60% loss. One year later, how much money he will have? a> 1.95 b> 14,000 c> 140,000 d> 1.4 Million e> 131 Million f> I don't want to answer and the question sucks No Marks without explaination ;P Quartz A Good Name Is Better Than A Good Face- old chinese proverb My first article^

      R Offline
      R Offline
      Raj Lal
      wrote on last edited by
      #25

      Sorry guys , i got unplugged .... Jörgen Sigvardsson Got it right the first time so i asked him to hide the solution for you guys to ponder more. here is the answer

      Quartz... wrote:

      A Cpian puts 10,000 dollar in a Weekly trading scheme. -> About half the time, He makes an 80% gain. -> The other half, he makes a 60% loss.

      W0 = 10000 For the first week Jim final amount is W1 = 1.8 * 10,000 // ( 80 % gain) W1 = 18000 In the second Week Jim starts loss, i.e., W2 = 0.4 * W1 //( since (W2-W1)/W1= -0.6 ) W2 = 0.4 * 18000 = 7200 After Two weeks, Jim's net account value becomes .72 of 10000 = 7200. For 52 weeks (for a year) = 26 couple weeks ( for 80% gain each first week and 60 % loss each second week) Jim will have 10000*0.72^26[^]= ~1.95 I am sure you all will like the solution :) ciao. note : The question was created by the famous mathematician John Allen Paulos [^] in his book A Mathematician plays the stock market[^] --- My first article^

      1 Reply Last reply
      0
      • S Shog9 0

        Drat... now i'm all curious...

        ---- Scripts i've known... CPhog 0.9.9 - make CP better. Forum Bookmark 0.2.1 - bookmark forum posts on Pensieve Print forum 0.1.1 - printer-friendly forums

        R Offline
        R Offline
        Raj Lal
        wrote on last edited by
        #26

        Was plugged out ... here[^] is the solution for the weekly strategy problem --- My first article^ -- modified at 18:03 Tuesday 13th December, 2005

        1 Reply Last reply
        0
        • D David ONeil

          Quartz... wrote:

          About half the time

          He makes about an undeterminable amount, based upon the phrasing of your question. You also need to know if he trades all the stocks weekly, or just some of them. Does he ever take any off-the-top? Does he ever invest more? Questions like this need to be explicitly worded. I win. What's my prize?

          R Offline
          R Offline
          Raj Lal
          wrote on last edited by
          #27

          sorry was unplugged... here[^] is the solution for the weekly strategy problem --- My first article^ -- modified at 18:02 Tuesday 13th December, 2005

          1 Reply Last reply
          0
          • A Ashley van Gerven

            I agree... that about theoretically shoots the question in the head. Apart from your questions I'm also wondering if he bought a Lamborghini halfway thru the year and therefore halved his capital? Also maybe he won a few grand at the casino and invested that which further affects the outcome. ;)

            R Offline
            R Offline
            Raj Lal
            wrote on last edited by
            #28

            Sorry for the delay was unplugged... here[^] is the solution for the weekly strategy problem --- My first article^ --- My first article^

            1 Reply Last reply
            0
            • R Roman Nurik

              d? ill delete after you reply

              r -€

              R Offline
              R Offline
              Raj Lal
              wrote on last edited by
              #29

              Was unplugged...sorry about that here[^] is the solution for the weekly strategy problem --- My first article^

              1 Reply Last reply
              0
              • J Jorgen Sigvardsson

                Ashley van Gerven wrote:

                now lets see if i'm right...

                I don't think you're correct. Mainly because you split the 10 grand. You don't gain 80% on 5000 dollars while you lose 60% on 5000 on a single week. Either he gains 80%, or he loses 60%. The problem statement says that he starts out with 10 grand, and every second week time he gains 80%, and all other weeks he loses 60%. My interpretation of the problem is that he get's either 80% or loses 60% of what he's currently got, and all the money stays in the scheme. The problem is very similar to compound interest problems: Bob starts out with X dollars in the bank. He gets Y% interest of what he's got on the bank annually. Bob does not withdraw any money. How much money does Bob have after Z years? The only thing that differs is that he's getting 80% back or loses 60%. So, the correct answer should be (IMO), 10000 * 1.8^(52/2) * (1 - 0.6)^(52/2) which is approximately 1.95. -- Pictures[^] from my Japan trip.

                R Offline
                R Offline
                Raj Lal
                wrote on last edited by
                #30

                Was unplugged...sorry about that here[^] is the solution for the weekly strategy problem --- My first article^

                1 Reply Last reply
                0
                • J Jorgen Sigvardsson

                  [edit]Answer removed. :)[/edit] -- Pictures[^] from my Japan trip. -- modified at 18:31 Monday 12th December, 2005

                  R Offline
                  R Offline
                  Raj Lal
                  wrote on last edited by
                  #31

                  Though you got it correct on the first time but here[^] is the detail solution if you want. Also there is an assumption that One year = 52 weeks which is not always correct :) cheers --- My first article^

                  J 1 Reply Last reply
                  0
                  • R Raj Lal

                    Though you got it correct on the first time but here[^] is the detail solution if you want. Also there is an assumption that One year = 52 weeks which is not always correct :) cheers --- My first article^

                    J Offline
                    J Offline
                    Jorgen Sigvardsson
                    wrote on last edited by
                    #32

                    Quartz... wrote:

                    One year = 52 weeks which is not always correct

                    52 + 1.25 on average if we count leap years (but not taking "leap leap" years into account). Not that it'll affect the outcome much in the end.. :-D -- Pictures[^] from my Japan trip.

                    1 Reply Last reply
                    0
                    • J Jorgen Sigvardsson

                      Counter question: If he starts out with 10000 dollars, and puts the money in a fund, which gives an average 10% interest every year, how long before he has earned 100000? -- Pictures[^] from my Japan trip.

                      J Offline
                      J Offline
                      Jon Hulatt
                      wrote on last edited by
                      #33

                      Ok, so it's an old thread, but I'll bite. This is high school maths. Suprised noone else answered

                      Jörgen Sigvardsson wrote:

                      Counter question: If he starts out with 10000 dollars, and puts the money in a fund, which gives an average 10% interest every year, how long before he has earned 100000?

                      If he has earned 100,000 then his balance will be 110,000 (it includes his starting balance. So an expression for the solution would be:- 110000 = 10000 * 1.1 ^ n where n is the number of years we're looking for, and 1.1 is 110% (the compound interest figure). so, simplified a bit, 11 = 1.1 ^ n Therefore, ln(base 1.1) 11 = n ~ ( ln 11 / ln 1.1) = n n = 25.16 so after 26 years he'll have his money. Do I get a prize?

                      using System.Beer;

                      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