Hello,
In C++, we have a function sqrt(). However, my professor in our class told us to make our own square root function.
Anyone who knows that, please help....
Just the formula only.
Hello,
In C++, we have a function sqrt(). However, my professor in our class told us to make our own square root function.
Anyone who knows that, please help....
Just the formula only.
Last edited by Alexthunder; 02-02-2006 at 06:53 PM.
An apprentice carpenter may want only a hammer and saw, but a master craftsman employs many precision tools. Computer programming likewise requires sophisticated tools to cope with the complexity of real applications, and only practice with these tools will build skill in their use. Robert L. Kruse
Last edited by Dave_Sinkula; 02-02-2006 at 07:25 PM. Reason: Corrected "nice" link.
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
M.Eng Computer Engineering CandidateB.Sc Computer Science
Robotics and graphics enthusiast.