Square root of 16, and my plot basically shows it crosses at 4 and-- well, I think that's minus 4.
我的图清楚的显示这个函数,在4和-4两个点和x轴交合。
Then if I'm looking for the square root of something less than 1, I know it will be in my region, right?
如果我要求平方根的数小于,我就知道我们的答案应该,在0-1这个区间了,对不对?
I'm checking that I didn't leave my program because I didn't find an answer. Well this is a good thing, it's better than my program running forever, but it's a bad thing because I don't have it the square root of 0.25.
我对计数器要做个验证,因为我不会没得到答案就退出程序,好,这其实是个好事,因为它不会让我的程序永远跑下去,但这也是件坏事因为,我没得到0。25的平方根。
In some sense, strictly speaking they shouldn't be necessary because the fact that my specification starts with an assumption, says, hey you, who might call square root make sure that the things you call me with obey the assumption.
在某种意义上严格的来讲,它们不是必要的,因为我已经对假设做了声明,也就是说,如果你要调用我的,求平方根的函数,请确保你传递给我的,参数满足假设条件。
应用推荐