Create program to newtons method for cube roots, C/C++ Programming

Newton's method for cube roots is based on the fact that if y is an approximation to the cube root of x, then a better approximation is given by the value:

(x/y2+2y)/3

(a) Use this formula to implement a cube-root procedure analogous to the square-root procedure from the lecture notes.

(b) Modify your original implementation to allow the good-enough? procedure to be included as a argument to the cube-root procedure; i.e., (cube-root 3 good-enough?). In this way, roots of arbitrary precision should be possible by defining new forms of good-enough?

 

Posted Date: 3/25/2013 1:49:55 AM | Location : United States







Related Discussions:- Create program to newtons method for cube roots, Assignment Help, Ask Question on Create program to newtons method for cube roots, Get Answer, Expert's Help, Create program to newtons method for cube roots Discussions

Write discussion on Create program to newtons method for cube roots
Your posts are moderated
Related Questions
DIFFERENCE BETWEEN WHILE AND DO WHILE LOOP?

Using your mountain project source code as a starting point, you are to write a code that randomly chooses one of the triangles on the surface of your mountain, this will be the en

a padovan string p(n) for a natural number n is defined as p(0)=''x'' p(1)=''y'' p(2)=''z'' p(n)=p(n-2)+p(n-3),n>2

Write a program that finds the minimum total number of shelves, including the initial one required for this loading process.


program for lexicographically precedes the given input permutation

search words from a passage and return snippets in html format..

Project Description: My project is about telephone billing system. This project was my project in my college life. The project is quite easy, i needed C++ programming language..


Jewels can only be removed for polishing from either end of the necklace