I came across what seems like a mistake in Mathematica 8. I canβt find anything related to it on the Internet, but I admit that Iβm not quite sure what to look for.
If I ran this statement:
0.05 + .10 /. {0.15 -> "pass"} 1.04 + .10 /. {1.14 -> "pass"} 1.05 + .10 /. {1.15 -> "pass"} 1.15 /. {1.15 -> "pass"}
I get this output:
pass pass 1.15 pass
Am I just missing something?
Edit: After reading a useful discussion below, I modified the submit table to use the statement instead:
f[x_] := Which[x == 1.05, -1.709847, x == 1.10, -1.373823, x == 1.15, -1.119214, x == 1.20, -0.9160143, x == 1.25, -0.7470223, x == 1.30, -0.6015966]
This seems like a trick.
source share