The range of x and y for Trig formulas are intended to be from a unit circle st x^2 + y^2 = 1
Taking the SQR of a neg number will throw that error which happens when x > 1.
Taking the SQR of a neg number will throw that error which happens when x > 1.
b = b + ...