A community for students. Sign up today!
Here's the question you clicked on:
 0 viewing
 2 years ago
def babylon(a):
def test(x):
return 0.5 * ((a / x) + x)
return test(2)
def sqrt(a):
return fixedPoint(babylon, 0.0001)
This code has a bug in it. You can fix this by correcting exactly one line of the definition.
 2 years ago
def babylon(a): def test(x): return 0.5 * ((a / x) + x) return test(2) def sqrt(a): return fixedPoint(babylon, 0.0001) This code has a bug in it. You can fix this by correcting exactly one line of the definition.

This Question is Closed

Chris2332
 2 years ago
Best ResponseYou've already chosen the best response.1What exactly don't you understand when it says "do not discuss exam problems in the forum" until the exam is over??? Are you complete idiots???

shadowfiend
 2 years ago
Best ResponseYou've already chosen the best response.0While I understand your frustration, please don't resort ad hominem attacks like “Are you complete idiots???” when criticizing people for posting exam problems. Reporting the posts and letting moderators deal with it is the correct way to deal with this; in general, please keep your interactions on OpenStudy positive rather than negative, and let moderators take negative actions. Thanks for letting us know about the exam questions!
Ask your own question
Ask a QuestionFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.