A little math problem

Discussion in 'Chit Chat' started by Informatix, Mar 9, 2015.

  1. Informatix

    Informatix Expert Licensed User

    Hello,

    Is there a way to solve this problem easily ?
    I want to find the initial increment for a mathematical serie of n values. All series have to go from 0 to 1.

    With 3 values, for example, the initial increment is 0.3333333:
    First value = 0 + (0*0.333333) = 0
    Second value = first value + (1*0.333333) = 0.33333333
    Third value = second value + (2*0.3333333) = 1

    With 4 values, the initial increment is 0.1666666:
    First value = 0 + (0*0.1666666) = 0
    Second value = first value + (1*0.1666666) = 0.1666666
    Third value = second value + (2*0.1666666) = 0.5
    Fourth value = third value + (3*0.1666666) = 1

    A big like for any answer helping to solve that problem without using brute force.
     
    thedesolatesoul likes this.
  2. udg

    udg Expert Licensed User

    Hi Informatix,

    it looks like that to compute x (0.1666..) you should simply divide 1 by the series (n * n-1)/2 that is the one which gives you the sum of n natural numbers.
    Is that what are you after?

    udg
     
  3. Informatix

    Informatix Expert Licensed User

    Yes, thanks a lot.
    I'm back from vacation and my brain is like mud.
     
  4. udg

    udg Expert Licensed User

    I know that feeling. Once I couldn't recall my own passwords for well over half a day...I was simply locked at staring my screen waiting for some enlightenment..
     
    Cableguy likes this.
  5. thedesolatesoul

    thedesolatesoul Expert Licensed User

  6. Troberg

    Troberg Well-Known Member Licensed User

    Udg beat me to it. I've just helped the kids with that in their math class.
     
  7. thedesolatesoul

    thedesolatesoul Expert Licensed User

    Its ok, you get brownie points too :)
     
    moster67 likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice