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: Derivatives and Integrals

Spreadsheet Calculus: Derivatives and Integrals
Calculus can be kind of tricky when you're first learning it. Here's how you can use spreadsheet programs to your advantage. Use this to check your answers or just get an idea of what a graph looks like. If you're doing integration then you also probably know that there are some functions that don't have elementary antiderivatives. You can use spreadsheets to visualize what the antiderivatives of these functions looks like.
Just a quick note: throughout this instructable I refer to myself as we. This isn't the royal we, I'm doing this project with a group of 3 other people for a class at UBC, so when I say we I mean us, my group.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Set your X values

Set your X values
«
  • Picture 4.png
  • Picture 6.png
  • Picture 9.png
  • Picture 10.png
First thing you're going to need is a spreadsheet program like Excel, Numbers, or OpenOffice. If you don't know how to use any of these programs, don't worry, it's pretty easy learning.
To demonstrate, we're going to use the equation y=2x3+6x2-12x+4. It's the same equation shown in the picture below, which looks a lot nicer. We chose this equation because finding it's derivative and antiderivative will be easy, so we can check our answer.
First, you want to put your x values down in your spreadsheet, I made mine go from -5 to 5. Also set your step size, I set mine at 0.1. You could also use 0.01 (it would be a bit more accurate) but you generally don't want to go smaller. Once your columns are more than a few thousand cells long, it takes forever for your computer to process them all at once. For my computer, below 1000 cells usually works well.
Put your step size in a cell (I use A2). Put your initial value at the top of the next column over, the second picture below shows you what this should look like. Then in the cell below (B2) type in "=B1+$A$2" without the quotation marks, hit enter. The dollar signs tell your spreadsheet program to reference A2 regardless of which cell you copy the equation into. Place your cursor over the bottom-right corner of the cell, there should be a small black square, click it and drag it down, as you drag it, you should see the numbers slowly getting bigger. It's hard to describe, look at the third picture. Drag this box down until you reach the other end of your X range, in this case 5.
« Previous StepDownload PDFView All StepsNext Step »
4 comments
Jan 19, 2010. 11:01 AMmedecandia says:
I know a lot of people could benefit from this. Having just graduated from college a bit ago I cannot believe I never learned this (or even thought to do it!) This is a great way to teach basic calculus. Great tutorial. I'm gonna pass this info along to my college buddies still going through.
Jun 4, 2009. 11:31 AMbblackmoor says:
This was very helpful. Thank you.
Apr 7, 2009. 7:06 AMdchall8 says:
This is EXCELLENT! Once again I am puzzled as to why some Instructables get to be "featured" when some really good ones, like this one, are passed over.

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