This might be dumb... but I'm having problems raising e to a negative number and I can't figure out what is going on.
>>> math.exp(((-23*(23-1))/730))
0.36787944117144233
>>> math.exp(-506/730)
0.36787944117144233
>>> math.exp(-.69)
0.5015760690660556
>>> math.exp(-(506/730))
1.0
For some reason I keep getting different answers when they should all be the same...
(506/730 is about 0.69)
Does anyone know what's happening?
Thanks!