In fact, my program crashes because I end up trying to divide by zero, a really bad thing. Hint: if you implement Newton's method, do not make your first guess zero.
我下一步都没法开始,实际上,我的程序会崩溃,因为我试着去除0了,真糟糕,提示你:如果你想用牛顿的方法,第一个猜想数别设为0。
麻省理工公开课 - 计算机科学及编程导论课程节选
应用推荐
模块上移
模块下移
不移动