Thread: Making my own square root function

  1. #1
    Dyadic Alexthunder's Avatar
    Join Date
    Sep 2005

    Question Square Root formula

    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

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    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.*

  3. #3
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Where circles begin.
    M.Eng Computer Engineering Candidate
    B.Sc Computer Science

    Robotics and graphics enthusiast.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Undefined Reference Compiling Error
    By AlakaAlaki in forum C++ Programming
    Replies: 1
    Last Post: 06-27-2008, 11:45 AM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  3. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  4. Calling a Thread with a Function Pointer.
    By ScrollMaster in forum Windows Programming
    Replies: 6
    Last Post: 06-10-2006, 08:56 AM
  5. square root function
    By Unregistered in forum C Programming
    Replies: 8
    Last Post: 05-19-2002, 03:11 AM