Question: this is JAVA programing Homework. as I posted I need to return the nth root of x. I will not going to copy and paste

 this is JAVA programing Homework. as I posted I need to

this is JAVA programing Homework. as I posted I need to return the nth root of x.

I will not going to copy and paste the HW but this is very first time using JAVA so, I need an example to approach each questions.

please help me

8 public class MethodLibrary 10e ** 12 k You can use this main method for experimenting with your methods if you like, but it is not part of the assignment. You might find it easier to experiment using JShell. 9 5 5 0 14 public static void main (String[] args) 15 16 17 18 /** 19 20 nthRoot (64.0, 6) is 2.0. NOTE: A small amount of roundoff error is acceptable. 21 Returns the nth root of x, where n is positive. For example, nthRoot (27.0, 3) is 3.0 (the cube root of 27), and The number x is required to have a real-valued nth root, and n is required to be positive. If this requirement is violated, the behavior of the method is undefined (it does not matter what it does) 0 9 0 23 24 25e public static double nthRoot (double x, int n) 26 27 return 0.0; 29 30e

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!