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

On ps2, Newton #3: would the way I wrote the compute_root function work? I noticed its different than the solution. I get the same answer when I run the code. http://pastebin.com/07BjJyPK Also, I am unsure of the while loop I have in there. If x_0 changes in the code under the while loop (if guess is wrong), will that new x_0 be entered into the while abs(evaluate_poly(poly, x_0)) >= x?

OpenStudy (anonymous):

I didn't test the code but I don't see any problem with it.

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!
Latest Questions
Arriyanalol: i need help
3 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
3 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
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!