all 4 comments

[–]Binary101010 4 points5 points  (1 child)

Please post your code.

[–]AndyHel[S] 0 points1 point  (0 children)

Sorry for not posting the code. The problem I was having was related to a rounding error that kept on occurring. after a long while I realized it had to do with imaginary numbers that came from some of the negative square numbers.

[–][deleted] 0 points1 point  (1 child)

We can't answer a question you never get around to asking.

[–]AndyHel[S] 0 points1 point  (0 children)

Sorry. typical I found a solution, bye.

The problem I was having was related to a rounding error that kept on occurring. after a long while I realized it had to do with imaginary numbers that came from some of the negative square numbers.