[email protected] • ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt1
Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods
Bruce Mayer, PERegistered Electrical & Mechanical Engineer
Engineering 25
EXCELEXCELIntegratioIntegratio
nn
[email protected] • ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt2
Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods
Trapezoidal Integration by ExcelTrapezoidal Integration by Excel
Integrate using Excel
xxey x 7ln9sin8 63.05
That is, Find
Show Game Plan on Next Slides
dxxxeIx
x
xy
3.4
7.1
63.05 7ln9sin8
[email protected] • ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt3
Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods
The Function PlottedThe Function PlottedXY Function for Integration
-3.5
-3.0
-2.5
-2.0
-1.5
-1.0
-0.5
0.0
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
5.5
6.0
6.5
7.0
1.7 1.9 2.1 2.3 2.5 2.7 2.9 3.1 3.3 3.5 3.7 3.9 4.1 4.3
X
Y,
A
Bmayer file: XY_Integration_0912.xls
xxey x 7ln9sin8 63.05
[email protected] • ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt4
Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods
Set Up Integration StripsSet Up Integration Strips
2 2.5 3 3.5 4
-3
-2
-1
0
1
2
3
4
5
6
7
x
y
[email protected] • ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt5
Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods
Integration EquationsIntegration Equations
dA = [Avg Strip Hgt]*[Strip Width]
12
12
1
1
2
2
nn
N
nnn
N
n
avg
nn
nnavg
xxyydAA
dxydA
xxdx
yyy
[email protected] • ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt6
Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods
Data Acq integration – NO FcnData Acq integration – NO FcnXY DataAcq Plot
0
1
1
2
2
3
3
0:00:00 1:12:00 2:24:00 3:36:00 4:48:00 6:00:00 7:12:00
Time (hrs)
Q (
W)
Q (W)
BMayer Chabot College 0502..xls
[email protected] • ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt7
Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods
MA
TL
AB
Co
de
MA
TL
AB
Co
de
% 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])