Author Topic: New Points Formula- easy one I hope  (Read 1362 times)

jzallen

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
New Points Formula- easy one I hope
« on: July 29, 2022, 11:57:54 AM »
Need help with this one!

1st = 35
2nd = 29
3rd = 28
4th = 27
5th = 21
6th = 20
7th = 19
8th = 18
9th= 17
10th = 16
11th= 10
12th = 9
13th = 8
14th = 7
15th = 6
16th = 5
17th = 4
18th = 3
19th = 2
20th = 1

efdenny

  • Full Member
  • ***
  • Posts: 166
    • View Profile
Re: New Points Formula- easy one I hope
« Reply #1 on: July 30, 2022, 12:38:50 PM »
(n-r+1) + switch(r,1,15,2,10,3,10,4,10,5,5,6,5,7,5,8,5,9,5,10,5)

jzallen

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Re: New Points Formula- easy one I hope
« Reply #2 on: July 30, 2022, 06:18:47 PM »
That’s crazy looking. Math is so hard.
So when you run that as a test it gives you the points I listed above? Won’t be a PC until Tuesday to try it

efdenny

  • Full Member
  • ***
  • Posts: 166
    • View Profile
Re: New Points Formula- easy one I hope
« Reply #3 on: July 31, 2022, 08:44:51 AM »
Ha! Yeah, it looks worse than it is -- here's the breakdown:

(n-r+1) establishes your base points, based on finish. (number of entrants - rank +1)
20th = 1 pt
19th = 2 pts
...
2nd =19 pts
1st = 20 pts

the switch statement says for each rank (r), give additional points.
1st = 15 additional points
2nd-4th = 10 additional points
5th-10th = 5 additional points

So, it would result in this:
1st = 20 + 15 = 35
2nd = 19 + 10 = 29
3rd = 18 + 10 = 28
4th = 17 + 10 = 27
5th = 16 + 5 = 21

and so on...

jzallen

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Re: New Points Formula- easy one I hope
« Reply #4 on: July 31, 2022, 09:42:19 AM »
Thank you! My slow brain gets it now!