Documente Academic
Documente Profesional
Documente Cultură
Prelab 4
Goals
This lab demonstrates:
Prelab
Complete the problems given in this document in separate worksheets. Name the worksheets with the problem
number. Submit the excel spreadsheet file via the Blackboard prelab assignment link by the start of your lab
class. Name the file CPE121_PRELAB4_first initial followed by last name (for instance
CPE121_PRELAB4_bsmith). Save the file as an Excel workbook. Before you work on this Prelab it is
recommended you read your textbook pages 256-277.
999.87
999.97
1000.00
999.97
999.73
999.13
998.23
997.08
995.68
C&PE 121
Prelab 4
2
Select with the mouse the Experimental data in the chart (one more time). Again, click the right mouse button
and left-click in the Add Treadline option. Now select the option Polynomial and make sure the Order is
2. Select the Custom option for the Trandline Name and type Quadratic in the textbox. Again select the
options: Display Equation on chsrt and Display R-squared values on chart. Just as shown below. Then leftclick with the mouse the paint bucket icon under the label TRENDLINE OPTIONS. Left-click with the
mouse in the options for the Dash type. There left-click the option Long Dash.
C&PE 121
Prelab 4
Note that the results that you get with this functions are the same as the resutls displayed with the Trendline
tool for the best-fit line.
Using Excel LINEST Function
In cell B18 type the label: Quadratic Fit Equation. Then select with the maouse the cell range E4:F12 that
contains temperature andsquared temperature values. Once you have selected the cell range, left click with the
mouse the Name Box and type TPoly2. Now, select with the mouse the cell range B20:D24 and type the
formula =LINEST(D,TPoly2,TRUE,TRUE). After typing the formula press together the keys
<Shift><Ctrl><Enter> to display the quadratic fit equations and statistics.. Add labels as shown below.
C&PE 121
Prelab 4
C&PE 121
Prelab 4
5
In the dialog window that opens fill the textboxes and check options as shown in the following screenshot.
Specially make sure the Labels option has been checked. Once youve filled and selected options left-click the
OK button. A new worksheet (P1DataAnalysis) with the output from the Data Analysis tool is inserted in
your workbook.
Note in the worksheed P1DataAnalysis that theR square value (cell B5) and
quadratic fit coefficients (cells B17:B19) are the same as those that you got with the
trendline tool and the LINEST function. Also note that the Density calculated and
displayed in cells B26:B34 are the same values as those calculated with the TREND
function.
Grade Checklist
(0.05 pt) Student name in cell A1.
(0.10 pt) Entered data from Table 1 and added columns for T and T2.
(0.20 pt) Plotted data as points (no lines) and added title and axes labels.
(0.10 pt) Added Best-Fit Line trendline displaying equation and R2.
(0.10 pt) Added Quadratic trendline displaying equation and R2.
(0.05 pt) Quadratic trendline was formatted to be Long Dash
(0.10 pt) Named cell ranges T, D and TPoly2.
(0.25 pt) Used Excel LINEST function to calculate quadratic fit using D and TPoly2, displayed statisctics and
added labels to identify results.
(0.15 pt) Used Excel LINEST function to calculate quadratic fit using D and T (with special notation to use
quadratic equation), did not display statisctics and added labels to identify results.
(0.15 pt) Used Excel TREND function tool to calculate density using a quadratic fit equation.
(0.25 pt) Used Data Analysis tool to calculate quadratic fit, selected options as indicated in instructions.
C&PE 121
Prelab 4
Type in cells B4, E4 and H4 the formulas shown in the following screenshot. Leave the format of cells B4, E4
and H4 to be General.
Left-click in the tab Data, then left-click in the icon What-If-Analysis and left-click in the option Goal
Seek.
In the dialog window that opens follow the textboxes as shown in the screenshot shown below.
Goal Seek should converge as shown below.
C&PE 121
Prelab 4
Repite the procedure using cells E3 and E4 to find the second root, x = 3.7102, in cell E3.
Repite the procedure using cells H3 and H4 to find the third root, x = -4.4389, in cell H3.
Your final worksheet Problem2 should look similar to the worksheet in the following screenshot.
Grade Checklist
(0.10 pt) Typed labels, initial values in cells B2, E2 and H2, and guess values in cells B3, E3 and H3
(0.30 pt) Typed formula in: cell B4 using value in cell B3, cell E4 using value in cell E3, and cell H4 using
value in cell H3
(0.10 pt) Calculated the three roots.