Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3
Show your attempt
10th Apr 2021, 7:10 PM
Maryem Ayachi
Maryem Ayachi - avatar
+ 3
so to help you understand the question Heron’s Method is a way to find the square root by taking an approximate guess and returning a closer approximation to the real value of the square root. and the result will be more accurate depending on how much you repeat the process. so let's say we want the square root of number 28, we know the real root of number 25 which is equal to 5 and we will apply the formella (5+28/5)/2=5.3 the real value is 5.291 so it pretty accurate yet you can increase the accuracy one more time by using the new result that you have got (5.3+28/5.3)/2 which results in 5.291 which is the actual value what left is applying this in your code goodluck
10th Apr 2021, 7:49 PM
Dareen Moughrabi
Dareen Moughrabi - avatar
+ 3
Numan Sayyed this is not place for asking for solutions. It is your homework, you went to college for some reason, so you should do it yourself instead of cheating
10th Apr 2021, 9:19 PM
Michal Doruch
+ 3
Numan Sayyed welcome to SoloLearn! Please note that simply asking for answers to your homework without showing any effort or code attempts is not allowed. More than that, it's actually harmful for you - the more effort you put into something, the better you will remember it. This can equal better grades, which can mean a better job in the future. Moral of the story? Show your code attempts and try to identify the part you don't understand or are stuck on, then come ask a question. Please have a look at the guidelines as well: https://www.sololearn.com/discuss/1316935/?ref=app
11th Apr 2021, 9:00 AM
Tony
Tony - avatar
0
Acctualy i can't understand so i am not created
10th Apr 2021, 7:17 PM
Numan
Numan - avatar