+ 1

Bisection Computational Method not working

Here is the Python program for finding the square root of 2, which works fine https://code.sololearn.com/cA140a5A21a3 Here is the Javascript program for finding the square root of 2, which doesnt work, instead returns undefined https://code.sololearn.com/ca9a1A1783A2

14th Feb 2021, 5:29 AM
Sarthak
Sarthak - avatar
2 Réponses
+ 2
Wilbur Jaywright Line no.24 will never get executed
15th Feb 2021, 6:39 PM
Sarthak
Sarthak - avatar
+ 1
I looked further at the code and realize my answer was embarrassingly incorrect. Sorry
15th Feb 2021, 6:40 PM
Wilbur Jaywright
Wilbur Jaywright - avatar