Test Cases for Tutorial Problems


      Tutorial 6

      Question 2

      For example, the square root of 5 is 2.23606

      Note: This program will not work correctly for large input numbers because, the initial guess is not good enough for the the function to converge to the correct answer


      Back to Main Page for Lecture 6