Download presentation
Presentation is loading. Please wait.
Published byJourney Jarrard Modified over 9 years ago
1
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege.edu Engr/Math/Physics 25 MS Excel Tables/Plots
2
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 2 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods The 11 MS Excel Chart Types
3
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 3 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Graph Construction Demo TABLE I: Vapor Pressure Data Vapor pressures (mm Hg) of less than one atmosphere as a function of temperature. (All temperatures are in degrees Celsius) Chemical1510204060100200400760mmHg Sodium, Na439511549589633662701758823892oC 1,4-Dioxane C 4 H 8 O 2 -35.8-12.8-1.212.025.233.845.162.381.8101.1oC Acetone (CH3)2CO-59.4-40.5-31.1-20.8-9.4-2.07.722.739.556.5oC Butyric Acid, C 4 H 8 O 2 25.549.861.574.088.096.5108.0125.5144.5163.5oC Stannic Chloride, SnCl4-22.710.022.035.243.554.772.092.1113.0oC http://research.umbc.edu/~lkelly/DAExp.htm Given Vapor Pressure Data Construct a Scatter Chart to Find the Clapeyron Eqn Constants m & b for Stannic Chloride
4
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 4 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Result Demo_Excel_Table-n-Chart_Build_Fa06.xls
5
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 5 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
6
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 6 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods All Done for Today Excel Plotting
7
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 7 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege.edu Engr/Math/Physics 25 Appendix
8
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 8 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (1) Start Open File Demo_Excel_Table- n- Chart_Build_0511.xl s Copy from Table from Slide-22 → Paste into Demo Sheet Need Vertical Data Horizontal table starting in Col-H Copy Table Cells and EDIT → PASTE SPECIAL → transpose
9
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 9 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (2) Result after Transpose Paste
10
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 10 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (3) Archive Data Make Scratch WorkSheet; Xfer horizontal Table to to this sheet Edit Worksheet Adjust Headings Delete Cols other Than SnCl4 Move Remaining to Right
11
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 11 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (4) Place in cols A & B 1000/T; T in Kelvins Ln(Pv) After Filling A & B Formula for Col-B =LN(E8)
12
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 12 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (5) Now need to Sort the Data with the indep var (1000/T) in ASCENDING ORDER DATA → SORT
13
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 13 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (6) Highlight/Select Data to Plot Invoke Chart Wizard
14
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 14 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (7) Continue with Chart Wizard
15
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 15 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (8) Add X-Grid Lines Remove Legend Insert As NEW Sheet Give Descriptive Name
16
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 16 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (9) Chart Wizard Result Change X-axis Scale: 2.5-4 Shorten Title Clear BackGround Lager, Sq Data Markers GridLine & Text Colors
17
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 17 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (10) Select Chart Area Then Right-Clik Select X-axis, Ther Right-Clik
18
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 18 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (11) Select Grid Lines, Rt-Clik, Chg Colors Select Data Series, Rt-Clik, Chg Marker
19
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 19 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (12) Position Labels at Page Edges → Stretch-Out Plot Area
20
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 20 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (13) Chart Fine-Tuning Result Add TrendLine to find Clapeyron m &b Constants
21
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 21 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (14) Select Data Series, Rt-Clik, Add TrendLn Select: Linear, Display Parameters
22
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 22 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (15) Fine Tune TrendLine Form & Display Done with Plot; and have determined m & b by Trendline Note that the Fit is Excellent; R 2 = 99.92%
23
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 23 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (16) Add Fitted Data to table Copy & Paste from Chart Calc Using m & b Analysis of Fit Characteristics Calc Error =(G4-E4)/E4
24
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 24 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Put Fitted Data on Chart On Table: Select & Copy Data On chart: EDIT → PASTE SPECIAL → dialog Box above
25
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 25 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (17) Fine Tune Two-Variable Display Error Data Series To Make Error Data More Visible Show using SECONDARY Axis at Right
26
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 26 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (18)
27
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 27 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (19) Fine Tune Two-Axes Display
28
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 28 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (20)
29
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 29 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Nice Chart
30
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 30 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Coefficient of Correlation The coefficient of correlation is an indication of how well the linear relationship determined by the method of least squares fits the data set. The equation for the coefficient of correlation is:
31
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 31 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Interpretation of R If R is 0, the points are so scattered that the regression line does not help predict y for a given x. If R is +1 (positive slope) or –1 (negative slope), the points actually lie on a straight line so almost perfect predictions of y for a given x can be made using the regression line.
32
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 32 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Goodness of Fit R ValueCorrelation 0.9 to 1.0Very high positive 0.7 to 0.9High positive 0.5 to 0.7Moderate positive 0.3 to 0.5Low positive -0.3 to 0.3Little, if any -0.5 to -0.3Low negative -0.7 to -0.5Moderate negative -0.9 to -0.7High negative -1.0 to -0.9Very high negative
33
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 33 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.