So can someone please explain a simplified version of the Newton/Raphson code.? Thanks in advance. Take care.
What Lang?
@siddhantk3m8
it is used to find roots of a continuous function (y = 0) - pick a value for x - and find the value of the function at that x (y = f(x)) - if f(x) is close enuf, stop and return x - if not - find the slope at that point (x, f(x)) - find where the line that is tangent to the point crosses the x axis (y = 0) - repeat the previous with this new x there is a pretty good animation in the wikipedia article https://en.wikipedia.org/wiki/File:NewtonIteration_Ani.gif
@primeralph Since they are in 6.00, you can generally assume Python. If wrong, they should not have posted in a Python based class' area. =)
yes people, it is PYTHON. What else language is specified in 6.00
Thanks @bwCA. looks pretty simple there.
Join our real-time social learning platform and learn together with your friends!