Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 9 Online
OpenStudy (anonymous):

def sqrt(a): def tryit(x): return 0.5 * (a/x + x) return fixedPoint(tryit(a), 0.0001) This code has a bug in it. You can fix this by correcting exactly one line of the definition. Please do so in the box below.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!