subject
Mathematics, 06.10.2019 10:02 Bigman8518

The babylonian algorithm to compute the square root of a positive number make a guess at the answer (you can pick n/2 as your initial guess). compute r = n / guess . set guess = (guess + r) / 2 . go back to step 2 for as many iterations as necessary. the more steps 2 and 3 are repeated, the closer guess will become to the square root of n write a program that inputs a double for n , iterates through the babylonian algorithm five times, and outputs the answer as a double to two decimal places

ansver
Answers: 3

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 15:00, angie07253
Brady has a 20 year fixed rate mortgage for $215,500 with monthly payments of 1,305.89.the annual interest rate is 4%. what is the total cost of the principal and interest for this loan rounded to the nearest dollar
Answers: 3
image
Mathematics, 21.06.2019 16:30, aly2008
The sales tax rate is 7.25%. how much tax in dollars is added on an item that costs $56.00? a. $4.06 b. $7.25 c. $14.50 d. $60.06
Answers: 2
image
Mathematics, 21.06.2019 19:30, gwendallinesikes
Use multiples to write two fractions equivalent to 7/9. 14/18, 8/10 6/8, 21/27 10/12, 28/36 14/18, 21/27
Answers: 1
image
Mathematics, 21.06.2019 20:00, brevenb375
What effect would doubling all the dimensions of a triangular pyramid have on the volume of the pyramid? explain your reasoning.
Answers: 1
You know the right answer?
The babylonian algorithm to compute the square root of a positive number make a guess at the answer...

Questions in other subjects:

Konu
Business, 29.01.2021 18:40
Konu
Arts, 29.01.2021 18:40
Konu
Mathematics, 29.01.2021 18:40