Presentation is loading. Please wait.

Presentation is loading. Please wait.

ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 1 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Bruce Mayer, PE Registered.

Similar presentations


Presentation on theme: "ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 1 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Bruce Mayer, PE Registered."— Presentation transcript:

1 BMayer@ChabotCollege.edu ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 1 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Bruce Mayer, PE Registered Electrical & Mechanical Engineer BMayer@ChabotCollege.edu Engineering 25 EXCEL Integration

2 BMayer@ChabotCollege.edu ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 2 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Excel Numerical Integration  Game Plan: Divide Unknown Area into Strips (or boxes), and Add Up  Employ Trapezoidal rule with used Slanted-Line tops

3 BMayer@ChabotCollege.edu ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 3 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods  Trapezoidal Elements  By Trapezoid Geometry  Then the Incremental Area

4 BMayer@ChabotCollege.edu ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 4 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Trapezoidal Integration by Excel  Integrate over 1.7-4.3 using Excel  That is, Find  Show Game Plan on Next Slides

5 BMayer@ChabotCollege.edu ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 5 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods The Function Plotted

6 BMayer@ChabotCollege.edu ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 6 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Set Up Integration Strips

7 BMayer@ChabotCollege.edu ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 7 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Integration Equations  dA = [Avg Strip Hgt]*[Strip Width]

8 BMayer@ChabotCollege.edu ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 8 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Data Acq integration – NO Fcn

9 BMayer@ChabotCollege.edu ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 9 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Time in Excel  DAYS  Regardless of how TIME is DISPLAYED in a spreadsheet table, Excel ENCODES as DAYS  Any “time” format can be converted to Fractional Days using either of reFORMAT the current Cell Copy-n-Paste VALUES into a number- formatted cell  Excel uses this “Day Code” to Add and/orSubtract Dates & Times

10 BMayer@ChabotCollege.edu ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 10 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Time↔DayCode Equivalency

11 BMayer@ChabotCollege.edu ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 11 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Excel HELP on DATE Codes  In Excel the “Date Codes Start at the “zero hour” of the year 1900  See Excel help for more information  Remember all Times & Dates are internally stored as DAYS

12 BMayer@ChabotCollege.edu ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 12 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods MATLAB Code % Bruce Mayer, PE * 07Dec09 % ENGR36 * EXCEL integration Prob % file = Excel_Integ_Stem_0912.m % % Set up WhtBd Graphic to show % integration Strips % x = [1.7:.05:4.3] y = 8*exp(-0.2*x).*sin(9*x.^0.63) + log(sqrt(7*x)) stem(x,y), grid, axis([1.6 4.4 -3.5 7])


Download ppt "ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 1 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Bruce Mayer, PE Registered."

Similar presentations


Ads by Google