Question: In c programming PROBLEM STATEMENT: You are to write a program that will compute the nh root of a number by using a numerical approximation

 In c programming PROBLEM STATEMENT: You are to write a program
that will compute the nh root of a number by using aIn c programming

PROBLEM STATEMENT: You are to write a program that will compute the nh root of a number by using a numerical approximation The progra be able to compute only the following roots VS, VS, VS, VS and VS, and these ones will be calculated based on just square and/or cubic roots. Some of you will not have covered this topic in Mathematics as yet, but do not be perplexed by this - the numerical technique we will use can be easily implemented without any knowledge of calculus, just arithmetic will be required. BACKGROUND: There are several algorithms or methods of computing the square/cube root of a non-negative real number S, i.e. VS or VS. One of the first algorithms used for approximating VS or VS is the Babylonian method, or "Hero's method", named after the first-century Greek mathematician Hero of Alexandria who gave the first explicit description of the method. In this method, finding VS or VS is the same as, respectively, solving the equation f(x) -x2 - S-0 or f(x)-x3-S-0 for a positive x. Therefore, any general numerical root-finding algorithm can be used and Newton's method, for example, is one of them. Newton's Method provides a convergent numerical approximation for finding roots, with the caveat that an initial guess must be chosern. You will use Newton's Method as follows: 1. Begin with an arbitrary positive starting value Xo (the closer to the actual square root of S the better). In our case, the initial guess will be chosen according to the following formula f(xi) Let Xi+1= Xi-fr(%) 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!