Question: Package Newton's method for approximating square roots in a function named 'newton'. This function expects the input number as an argument and returns the estimate
Package Newton's method for approximating square roots in a function named 'newton'. This function expects the input number as an argument and returns the estimate of it's square root. The script should aslo include a main function that allows the user to compute square roots of inputs until she presses the enter/return key.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
