 # ENGR-25_Chp6_Tutorial_PolyFit_J_S_rsq.pptx 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer.

## Presentation on theme: "ENGR-25_Chp6_Tutorial_PolyFit_J_S_rsq.pptx 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer."— Presentation transcript:

ENGR-25_Chp6_Tutorial_PolyFit_J_S_rsq.pptx 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege.edu Engineering 25 Tutorial: PolyFit 1 st,2 nd, 3 rd, 4 th

ENGR-25_Chp6_Tutorial_PolyFit_J_S_rsq.pptx 2 Bruce Mayer, PE Engineering-25: Computational Methods PolyFit for PolyMers  In ENGR45 you will learn that the production of PolyMers (Plastics) requires Chemical Reactions  The polymer rcns maybe Single ReAgent Multiple ReAgent

ENGR-25_Chp6_Tutorial_PolyFit_J_S_rsq.pptx 3 Bruce Mayer, PE Engineering-25: Computational Methods MultiReagent Reaction  The Curing Time, t, for a Batch of certain Polymer varies the amount of Reagent, R, as shown in the Data-Table (T-Table) Below  For this Data Set Find 1 st thru 4 th degree polynomials that best fit the data Determine the all the polynomial’s goodness of fit by finding J, S, and r 2

ENGR-25_Chp6_Tutorial_PolyFit_J_S_rsq.pptx 4 Bruce Mayer, PE Engineering-25: Computational Methods MultiReagent Reaction Plot Each polynomial and the actual Data on the Same Graph Use the Low-r 2 polynomials to estimate the Amount of ReAgent that will Minimize the Curing Time

ENGR-25_Chp6_Tutorial_PolyFit_J_S_rsq.pptx 5 Bruce Mayer, PE Engineering-25: Computational Methods The Plots  Use 2X2 SubPlot

ENGR-25_Chp6_Tutorial_PolyFit_J_S_rsq.pptx 6 Bruce Mayer, PE Engineering-25: Computational Methods The Results The J values for polynomial degrees 1-4: 1.0e+05 * 2.1442 0.0676 0.0647 0.0621 The S value for this data set: 2.2477e+05 The r-sqd values for polynomial degrees 1-4: 0.0461 0.9699 0.9712 0.9724 The Best r-sqd value is for degree = 4 The amount of R (in kg) for minimum cure-time 4.8400 The minimum cure-time in seconds 897.5275

ENGR-25_Chp6_Tutorial_PolyFit_J_S_rsq.pptx 7 Bruce Mayer, PE Engineering-25: Computational Methods The MATLAB File-1

ENGR-25_Chp6_Tutorial_PolyFit_J_S_rsq.pptx 8 Bruce Mayer, PE Engineering-25: Computational Methods The MATLAB File-2

ENGR-25_Chp6_Tutorial_PolyFit_J_S_rsq.pptx 9 Bruce Mayer, PE Engineering-25: Computational Methods Digital Data Table R (kg)t (sec) 0.01350 1.11170 2.01070 2.9920 4.1895 5.1895 6.0960 7.2995 8.11040 9.31260

Download ppt "ENGR-25_Chp6_Tutorial_PolyFit_J_S_rsq.pptx 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer."

Similar presentations