Results 1 to 4 of 4

Math Help - % Question

  1. #1
    Newbie
    Joined
    Jan 2009
    Posts
    3

    % Question

    I'm trying to write an algorithm that calculates a % for me based on two numbers.


    117.6 = 100%
    98 = 50%


    So, if x falls between 117.6 and 98 it would be what % (something between 50-100%)?


    Is that even possible to calculate?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Newbie
    Joined
    Jan 2009
    Posts
    3
    Basically, it's a function to calculate decay of speed on a ball.


    So, if the ball is hit at the height of 117.6 it will travel at 100% speed whereas if the ball is hit at height of 98 it will travel at 50% speed.


    So, need to know what % speed the ball will travel at if it's hit at a height of 105 for instance.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Jan 2009
    Posts
    3
    Got it!

    50 + ((x-98)/19.6)*50
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Member ronaldo_07's Avatar
    Joined
    Nov 2008
    Posts
    175
    Kool
    Follow Math Help Forum on Facebook and Google+

Search Tags


/mathhelpforum @mathhelpforum