1

**Help Me / Re: WSOP POY Formula**

« **on:**April 20, 2018, 11:48:47 AM »

Would you believe I worked on this and tested it to the extent that it didn't error, but didn't really see if the values were correct? I would.

The variable names in the "assign" statements need quotes:

The variable names in the "assign" statements need quotes:

`assign("p", n - 9)`

assign("p20", round(p * .2))

assign("p30", round(p * .3))

round(switch(r,1,477.45,2,238.75,3,214.845,4,190.97,5,179.05,6,167.1,7,143.25,8,131.27,9,119.35)*pow(n,0.125))

+ if((r > 9) and (r <= 9 + p20), 95.49 * pow(n, 0.125))

+ if((r > 9 + p20) and (r <= p + 9 + p20 + p30), 47.745 * pow(n, 0.125))

+ if(r > p + 9 + p20 + p30, 23.875 * pow(n, 0.125))

assign("p20", round(p * .2))

assign("p30", round(p * .3))

round(switch(r,1,477.45,2,238.75,3,214.845,4,190.97,5,179.05,6,167.1,7,143.25,8,131.27,9,119.35)*pow(n,0.125))

+ if((r > 9) and (r <= 9 + p20), 95.49 * pow(n, 0.125))

+ if((r > 9 + p20) and (r <= p + 9 + p20 + p30), 47.745 * pow(n, 0.125))

+ if(r > p + 9 + p20 + p30, 23.875 * pow(n, 0.125))