Remember that the method Math.sqrt returns a double, which is therefore only an approximation of the actual square root.
记住方法Math . sqrt返回的是一个double型,也就是说这只是一个大概值。
Remember, I said when we do a bisection method, we're assuming the answer lies somewhere between Well, what is the square root of a quarter?
记住,我提过当我们用二分法的时候,我们假设答案处于,上边界和下边界之间,0。 25的平方根是多少?
The length of the diagonal side will be the square root of 2. This diagonal will be used to construct the next square root by employing a similar method.
对角线的长度是2的平方根。应用类似的方法,这个对角线会被用来构造下一个平方根。
Remember, I said when we do a bisection method, we're assuming the answer lies somewhere between Well, what is the square root of a quarter? It is a half.
记住,我提过当我们用二分法的时候,我们假设答案处于,上边界和下边界之间,0。25的平方根是多少?,是0。5。
应用推荐