switch(r, 1, 550, 2, 500, 3, 450, 4, 400, 5, 350, 6, 300, 7, 250, 8, 200, 9, 150, 10, 100, 11, 25, 12, 25, 13, 25, 14, 25, 15, 25, 16, 20, 17, 20, 18, 20, 19, 20, 20, 20, 21, 15, 22, 15, 23, 15, 24, 15, 25, 15, 26, 10)

Any place 26th and above get awarded 10 points. I don't know how to write that part. If anyone has a way to simplify this formula, help would be greatly appreciated.

Parameters:

- 26+ = 10 points

- 21st - 25th = 15 points

- 16th - 20th = 20 points

- 11th - 19th = 25

- 1st - 10th = 50

and

1st thru 10th gets 50 points for each place higher that they exit the tournament

10=50, 9=100, 8=150, 7=200, 6=250,,1=500 (all in 50 point increments.

It's times like this that I wish I paid more attention in Algebra2.

thanks for your help