Question: Write a while loop to continually update this approximation (using the same formula from problem 1.1) until the relative approximate error, E = X+1
Write a while loop to continually update this approximation (using the same formula from problem 1.1) until the relative approximate error, E = X+1 - X X is less than .00001. Use this approximation to calculate the cubic root of 100. Print out the final value, the final error, and the number of iterations required.
Step by Step Solution
3.40 Rating (162 Votes )
There are 3 Steps involved in it
Answer C code include iostream using namespace std double relativeErrordou... View full answer
Get step-by-step solutions from verified subject matter experts
