I was trying to plot circle equations and found a strange bug:
When plotting following equation:
0.66^2 = (x-1)^2 + (y-1)^2
the circle is plotted correctly as expected.
But when taking the square root first on both sides:
0.66 = sqrt((x-1)^2 + (y-1)^2)
the circle printed has nearly double the radius as expected.
Also I tried to verify if the radius is really “double” the expected one by plotting a vertical line in the same plot:
And my apology for not reading the tag of the post to know it’s for W|A.
If you look at the “bugged” plot carefully, the intersection of the x and y axis is actually not (0,0)… it intersects at (0.5, 0.5) [Why it defaults to that, I don’t know]. But if you adjust the plot domain