3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Spreadsheet Calculus: Newton's Method

Spreadsheet Calculus: Newton\
Sometimes you need to find the roots of a function, also known as the zeroes. Sometimes finding the zeroes is pretty easy. Other times, that isn't the case. Take for example the 6th degree polynomial shown below. How do you find the zeroes to that equation? You could make a rough estimate with the graph, or you could use Newton's method.
 
Remove these adsRemove these ads by Signing Up
 

Step 1How it works

How it works
Newton's method uses tangent lines to approximate the zeroes of a function. It's difficult to explain only in word how it works, take a look at the picture below. The graph is e-x. We start at [5,148] and follow the line tangent to the curve. When the tangent line hits the x-axis (y=0) we do it again, at the x-value we found by following the tangent line. Eventually we would expect to reach a 0. In this case, we never would since e-x never touches the x-axis. It illustrates the point though.
Convince yourself that f(a)=f'(a)(a-b). f'(a) is the derivative of the function at point a. It's the slope of the function at a. If you multiply this by a certain number (a-b), b is undefined, it will equal the function at that point. If we know the value of the function at point a, and the derivative of the function at point a, then we can rewrite the equation in terms of b (the undefined point on the x-axis.) Rewritten as such:
b=a-f(a)/f'(a). Using this equation, we can use any point on the x-axis, find the next point, then use that one, and repeat until we hit one of the zeroes.
« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
6
Followers
4
Author:eric4435