Thank you!

`lcs`

:]]>

my $M = round (($min + $max ) / 2);

Love this article! Thanks.]]>

]]>

]]>

I try again:

Yeah, well, I understand what you mean and I mostly agree, Yet, but, strictly speaking, this is true only for x > 0. You have to add or subtract pi when x is negative, and atan2(y, x) is usually defined for x == 0 (at least for values of y other than 0), even though y/x would lead to an exception when x = 0. I chose to give a geometrical interpretation of atan2 (the rectangular coordinates of a point in the plan) in my update to avoid having to deal with all these edge-case difficulties in algebra.

]]>]]>

I hope you didn't feel I was too hard on you in Week 049. I really loved the solution.

]]>