Processing math: 100%

Math Equations

Friday, April 24, 2015

The square root algorithm

I was taught that to get the square root of a number a you iterate xx+ax2 until you're happy with the result. More generally, to scale a vector v to have quadrance a you iterate v1+avv2v. That's a direct analog. With negative quadrances you get chaotic behavior.