Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Real Maths problem

Options
  • 14-07-2015 4:28pm
    #1
    Registered Users Posts: 196 ✭✭


    Need help with a scoring issue

    I have a range from 46 to 155

    I must allocate points of 0 to 5 based on the range, where 46 = 0 points and 155 = 5 points.

    How do I workout a score for x, where x is within the range 46 to 155


    Thanks
    Tagged:


Comments

  • Registered Users Posts: 1,107 ✭✭✭Moody_mona


    (x - 46)(5/109)

    But it won't be pretty!


  • Registered Users Posts: 414 ✭✭apoeiguq3094y


    juror wrote: »
    Need help with a scoring issue

    I have a range from 46 to 155

    I must allocate points of 0 to 5 based on the range, where 46 = 0 points and 155 = 5 points.

    How do I workout a score for x, where x is within the range 46 to 155


    Thanks
    In a more general form than Mona's ...

    score=(x-x_min)*max_score/(x_max-x_min)

    For your range it gives (for selected values):
    46         0
       51    0.2294
       56    0.4587
       61    0.6881
       66    0.9174
       71    1.1468
       76    1.3761
       81    1.6055
       86    1.8349
       91    2.0642
       96    2.2936
      101    2.5229
      106    2.7523
      111    2.9817
      116    3.2110
      121    3.4404
      126    3.6697
      131    3.8991
      136    4.1284
      141    4.3578
      146    4.5872
      151    4.8165
      155    5.0000
    
    Because 109 (155-46) is prime, non of your answers will be nice neat numbers.


  • Registered Users Posts: 196 ✭✭juror


    Thanks to both of ye. Super answers.

    I'm working out data on an excel sheet so untidy numbers are not a problem.

    Cheers!


Advertisement