The Tournament Director Forums
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 21, 2013, 04:14:19 PM

Login with username, password and session length
Search:     Advanced search
17108 Posts in 3139 Topics by 1518 Members
Latest Member: toad3meter
Back to The Tournament Director main site
* Home Help Search Login Register
+  The Tournament Director Forums
|-+  Main
| |-+  Help Me
| | |-+  Formula simplification help
« previous next »
Pages: [1] Print
Author Topic: Formula simplification help  (Read 516 times)
Altdotweb
Newbie
*
Posts: 4


View Profile
« on: February 01, 2008, 04:48:07 PM »

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

Logged
MattBurlew
Jr. Member
**
Posts: 78


View Profile
« Reply #1 on: February 01, 2008, 09:33:09 PM »

This is pretty easy.

so 26+ gets 10 points
  21st-25th get 15 points (or 5 beyond the minimum)
  16th-20th get 20 points (or 5 + 5 beyond the minimum)
  11th-15th get 25 points (or 5 + 5 + 5 beyond the minimum)
  10th gets 100, plus 50 for every place beyond that (up to 550 for 1st) (not including the 25 thus far)

10 + if(r<=25,5,0) + if(r<=20,5,0) + if(r<=15,5,0) + if(r<=10,50*(12-r)-25,0)
Logged
Altdotweb
Newbie
*
Posts: 4


View Profile
« Reply #2 on: February 02, 2008, 02:00:12 PM »

Thanks matt. That was exactly what I needed.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!