Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Real Maths problem

  • 14-07-2015 04:28PM
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 Posts: 1,107 ✭✭✭Moody_mona


    (x - 46)(5/109)

    But it won't be pretty!


  • Registered Users, Registered Users 2 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, Registered Users 2 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
Advertisement