write a program that computes the nth root of a number. given a real number X greater than 1 and less than -1 and given an integer Y, compute the nth root Z such that Z*Z*Z*Z*Z*Z*Z...(Y times)..Z*Z=X, or Z^y=X(Remember if X is negative Y must be odd.) The user enters values for X and Y and the program calculates Z. Compute Z so that when Z is multiplied Y time it will produce an X which is + or - 0.0000001 of the original value of X. You may only use simple arithmetic to do these computations. That is you may only use multiplication, division, addition, and subtraction. Do it using three methods and implement it 2 ways: one as a static method and one as an instance of the class.

Related Tutorials/Questions & Answers:

**compute nth root - Java Beginners**
compute nth root write a program that computes the

nth root... Y,

compute the

nth root Z such that Z*Z*Z*Z*Z*Z*Z...(Y times)..Z*Z=X, or Z^y=X... and the program calculates Z.

Compute Z so that when Z is multiplied Y time

**compute**
compute B. Write a JavaScript program that would input Employee Name, Rate per hour, No. of hours worked and will

compute the daily wage of an employee. If the number of hours worked exceeds eight hours add 30% to each excess

Advertisements

**compute**
compute B. Write a JavaScript program that would input Employee Name, Rate per hour, No. of hours worked and will

compute the daily wage... Name, Rate per hour, No. of hours worked and will

compute the daily wage

**compute **
compute
Write a menu driven program that will print out the results of the following :
(1) Ceiling
(2) Floor
(3) Absolute
(4) (a+b)^3
(5) Exit... at 25%
Input the name and marks of 25 students and

compute the average. Print out

**Compute command**
Compute command hello,
What is

compute command?
hii, samar

Compute command control computations on subsets created by the BREAK command

**compute the average of degrees**
compute the average of degrees using c++ language , write a program to do the following
1 enter three degrees of a student by the user .
2

compute the average of his degrees

**compute the daily wage of an employee. **
compute the daily wage of an employee. B. Write a JavaScript program that would input Employee Name, Rate per hour, No. of hours worked and will

compute the daily wage of an employee. If the number of hours worked exceeds

**compute the daily wage of an employee. **
compute the daily wage of an employee. B. Write a JavaScript... and will

compute the daily wage of an employee. If the number of hours worked exceeds... and will

compute the daily wage of an employee. If the number of hours worked

**compute the final grades**
compute the final grades C. Write a JavaScript program that would input a student?s final grade from 50-100. Evaluate the Final grade and display the Point Equivalent based on the table below. Indicate also the remarks

**compute the final grades**
compute the final grades C. Write a JavaScript program that would input a student?s final grade from 50-100. Evaluate the Final grade and display the Point Equivalent based on the table below. Indicate also the remarks

**compute the final grades**
compute the final grades C. Write a JavaScript program that would input a student?s final grade from 50-100. Evaluate the Final grade and display the Point Equivalent based on the table below. Indicate also the remarks

**compute the final grades**
compute the final grades C. Write a JavaScript program that would input a student?s final grade from 50-100. Evaluate the Final grade and display the Point Equivalent based on the table below. Indicate also the remarks

**compute the final grades**
compute the final grades C. Write a JavaScript program that would input a student?s final grade from 50-100. Evaluate the Final grade and display the Point Equivalent based on the table below. Indicate also the remarks

**compute the final grades**
compute the final grades C. Write a JavaScript program that would input a student?s final grade from 50-100. Evaluate the Final grade and display the Point Equivalent based on the table below. Indicate also the remarks

**Compute the image processing - Java Beginners**
Compute the image processing Hi,
Question 1:
I have some... code here to find the averaging of the image (grey image) also, How do i

compute an average with a colour images one?
Question 2:
I need to

compute
**Square Root**
Square Root Hi,
can any one please tell me the code to findout the square

root of a given number with using built in function???
Thanks a lot in advance!!
Regards:
Akash

**Cube Root**
Cube Root Hi,
Can one one please tell me how to find the cube

root of any number without using any inbuilt function??
Regards:
Akash

**XML root element**
XML

root element Hi.....
please tell me about that
Can a

root element type be explicitly declared in the DTD?
Thanks

**Add a root element**
Add a

root element i have one doubt,
This is my current xml doc.
â?¦
But I want add a tag at first and last line of a xml by using JDOM(SAX Builder). Like
â