Question: Write a C++ program to find the nth root of a number. The program must ask for a number and a root and print that
Write a C++ program to find the nth root of a number. The program must ask for a number and a root and print that root of the number. Program should use Newtons method to compute the root using successive approximation.
where k is the root we want, and a is the mumber we want the root of. Print result using scientific notation to 15 digits. After finding and printing the root, your program should ask the user for another number and root, and should repeat the process. Program exit when the user enters 0 for the root. Program must use fuctiona to compute succeeding terms, and to do the exponention.
where k is the root we want, and a is the mumber we want the root of. Print result using scientific notation to 15 digits. After finding and printing the root, your program should ask the user for another number and root, and should repeat the process. Program exit when the user enters 0 for the root. Program must use fuctiona to compute succeeding terms, and to do the exponention. Thanks!!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
