Question: write the above in c program One numerical method for calculating the cubic root of a number, VP, is in iterations. The process starts by

write the above in c program
One numerical method for calculating the cubic root of a number, VP, is in iterations. The process starts by choosing a value xas a first estimate of the solution. Using this value, a second, more accurate value x, can be calculated with x,-(P/ M + 2x)/3, which is then used for calculating a third, still more accurate value x, and so on. The general equation for calculating the value of x,+1 is -(P/x' +2x)/3. Write a program to calculate the cubic root of a number by this method. In the program use XI-P for the first estimate of the solution. Then, by using the general equation in a while loop, calculate new, more accurate values. Stop the looping when the estimated relative error .2 E defined by -1 is smaller than 0.00001 Print the estimate of the cube root of the number entered with 6 decimal digits and also print the actual value of the cube root of the same number from the math library
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
