nth root algorithm - Wikipedia, the free encyclopedia
This is the method I am trying to code in C.
My teacher has asked us to use this to calculate sqrts in our program and NOT TO USE MATH.H OR ANY OTHER LIBRARY FILE.
My problem is, that I could do this program if I could use math.h in about two freaking seconds.
Since I can't, I have no idea how to use Newton's Method to calculate a SQRT, nor do I understand it's concept because well, this is coding NOT MATH CLASS =_=.
Can anyone please walk me through on how I would code this concept into C?