How to Integrate Large Data Sets in Excel
Understand the basics of the trapezoid rule., Load the data into Excel., Convert the measurements into a usable form, if needed., Determine which columns will represent the width and height of the trapezoid., Click on a blank column and label it...
Step-by-Step Guide
-
Step 1: Understand the basics of the trapezoid rule.
This is how the integral will be approximated.
Imagine the stress-strain curve above, but separated into hundreds of trapezoidal sections.
Each section's area will be added to find the area under the curve. -
Step 2: Load the data into Excel.
You can do this by double-clicking on the .xls or .xlsx file that is exported by the machine. , For this particular data set, it means converting the tensile machine measurements from "Travel" to "Strain"
and "Load" to "Stress"
respectively.
This step may require different calculations or may not be needed at all, depending on the data from your machine. , Once again, this will be determined by the nature of your data.
For this set, "Strain" corresponds to the width and "Stress" corresponds to the height. , This new column will be used to store the width of each trapezoid. , Type it exactly as shown, and do not stop typing in the cell yet.
Note that the "typing" cursor is still flashing. ,, The cell should now have a number in it. , Once it appears, left click, hold, and drag the cursor down.
Stop at the cell directly above the last measurement.
Numbers should populate all the selected cells after. ,, Once again, do not exit the cell just yet. ,, The cell should have a number in it. , Repeat the same procedure you did before to apply the formula to all the cells in the same column.
Once again, stop at the cell before the last measurement.
Numbers should appear in all the selected cells. , This will store the area for each trapezoid. , Once again, do not exit the cell. ,, A number should now appear in the cell. , Repeat the procedure you applied before again to apply the formula to all the cells in the same column.
Once again, stop at the cell before the last measurement.
Numbers should appear in the selected cells after this step. ,,, A number under "Integral" should appear, and will be the answer. -
Step 3: Convert the measurements into a usable form
-
Step 4: if needed.
-
Step 5: Determine which columns will represent the width and height of the trapezoid.
-
Step 6: Click on a blank column and label it "Width".
-
Step 7: Select the empty cell below "Width" and type "=ABS(".
-
Step 8: Click on the second measurement corresponding to the width
-
Step 9: then press the - key.
-
Step 10: Click on the first measurement in the same column
-
Step 11: and type in the closing parenthesis
-
Step 12: and press ↵ Enter.
-
Step 13: Select the newly created cell and move the mouse cursor to the bottom right corner of the cell directly below
-
Step 14: until a cross appears.
-
Step 15: Click on a blank column and label it "Height" directly next to the "Width" column.
-
Step 16: Select the column underneath the "Height" label
-
Step 17: and type "=0.5*(".
-
Step 18: Click the first measurement in the column corresponding to the height
-
Step 19: then press the + key.
-
Step 20: Click on the second measurement in the same column
-
Step 21: and type the closing parenthesis
-
Step 22: and press ↵ Enter.
-
Step 23: Click on the newly created cell.
-
Step 24: Click on a blank column and label it "Area" next to the "Height" column.
-
Step 25: Click on the cell directly underneath "Area"
-
Step 26: and type "=".
-
Step 27: Click on the first cell in the "Width" column
-
Step 28: and type an asterisk (*) directly after.
-
Step 29: Click on the first cell in the "Height" column
-
Step 30: and press ↵ Enter.
-
Step 31: Click on the newly created cell.
-
Step 32: Click on a blank column and label it "Integral" next to the "Area" column.
-
Step 33: Click on the cell below "Integral"
-
Step 34: and type in "=SUM("
-
Step 35: and do not exit the cell.
-
Step 36: Click on the first cell under "Area"
-
Step 37: and drag downwards until all the cells in the "Area" column are selected
-
Step 38: then press ↵ Enter.
Detailed Guide
This is how the integral will be approximated.
Imagine the stress-strain curve above, but separated into hundreds of trapezoidal sections.
Each section's area will be added to find the area under the curve.
You can do this by double-clicking on the .xls or .xlsx file that is exported by the machine. , For this particular data set, it means converting the tensile machine measurements from "Travel" to "Strain"
and "Load" to "Stress"
respectively.
This step may require different calculations or may not be needed at all, depending on the data from your machine. , Once again, this will be determined by the nature of your data.
For this set, "Strain" corresponds to the width and "Stress" corresponds to the height. , This new column will be used to store the width of each trapezoid. , Type it exactly as shown, and do not stop typing in the cell yet.
Note that the "typing" cursor is still flashing. ,, The cell should now have a number in it. , Once it appears, left click, hold, and drag the cursor down.
Stop at the cell directly above the last measurement.
Numbers should populate all the selected cells after. ,, Once again, do not exit the cell just yet. ,, The cell should have a number in it. , Repeat the same procedure you did before to apply the formula to all the cells in the same column.
Once again, stop at the cell before the last measurement.
Numbers should appear in all the selected cells. , This will store the area for each trapezoid. , Once again, do not exit the cell. ,, A number should now appear in the cell. , Repeat the procedure you applied before again to apply the formula to all the cells in the same column.
Once again, stop at the cell before the last measurement.
Numbers should appear in the selected cells after this step. ,,, A number under "Integral" should appear, and will be the answer.
About the Author
Olivia Simmons
Specializes in breaking down complex creative arts topics into simple steps.
Rate This Guide
How helpful was this guide? Click to rate: