Finding root for the segment - found the formula but it doesn't work for some values - wrong formula?
I have the segment, defined as $(x_1, y_1)$, $(x_2, y_2)$. I know that $y_1\ge 0$ and $y_2 < 0$. I want to compute the root point for that segment. I decided to do it that way: ...
I've been trying to figure out how $n!$ and $x^n$ are related (where x is an integer) for most of the morning - I know it must be the key to unlocking this problem. Up to this point I've only used ...
Possible Duplicate: How to convert this loop into a closed form expression? I have the following code in Python ...