Presentation is loading. Please wait.

Presentation is loading. Please wait.

MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical.

Similar presentations


Presentation on theme: "MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical."— Presentation transcript:

1 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege.edu Chabot Mathematics §5.4 Definite Integral Apps

2 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 2 Bruce Mayer, PE Chabot College Mathematics Review §  Any QUESTIONS About §5.3 → Fundamental Theorem and Definite Integration  Any QUESTIONS About HomeWork §5.3 → HW-24 5.3

3 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 3 Bruce Mayer, PE Chabot College Mathematics §5.4 Learning Goals  Explore a general procedure for using definite integration in applications  Find area between two curves, and use it to compute net excess profit and distribution of wealth (Lorenz curves)  Derive and apply a formula for the average value of a function  Interpret average value in terms of rate and area

4 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 4 Bruce Mayer, PE Chabot College Mathematics Need for Strip-Like Integration  Strip Integration Very often, the function f(x) to differentiate, or the integrand to integrate, is TOO COMPLEX to yield exact analytical solutions. In most cases in engineering or science testing, the function f(x) is only available in a TABULATED form with values known only at DISCRETE POINTS

5 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 5 Bruce Mayer, PE Chabot College Mathematics Strip Integration  Game Plan: Divide Unknown Area into Strips (or boxes), and Add Up  To Improve Accuracy the  TOP of the Strip can Be Slanted Lines –Trapezoidal Rule Parabolas –Simpson’s Rule Higher Order PolyNomials

6 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 6 Bruce Mayer, PE Chabot College Mathematics Strip Integration  Game Plan: Divide Unknown Area into Strips (or boxes), and Add Up  To Improve Accuracy 1.Increase the Number of strips; i.e., use smaller ∆x 2.Modify Strip-Tops –Slanted Lines (used most often) –Parabolas –High-Order Polynomials  Hi-No. of Flat-Strips Works Fine.

7 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 7 Bruce Mayer, PE Chabot College Mathematics Example  NONconstant ∆x  Pacific Steel Casting Company (PSC) in Berkeley CA, uses huge amounts of electricity during the metal-melting process.  The PSC Materials Engineer measures the power, P, of a certain melting furnace over 340 minutes as shown in the table at right. See Data Plot at Right.

8 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 8 Bruce Mayer, PE Chabot College Mathematics Example  NONconstant ∆x  The T-table at Right displays the Data Collected by the PSC Materials Engineer  Recall from Physics that Energy (or Heat), Q, is the time-integral of the Power.  Use Strip-Integration to find the Total Energy in MJ expended by The Furnace during this process run

9 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 9 Bruce Mayer, PE Chabot College Mathematics Example  NONconstant ∆x  GamePlan for Strip Integration  Use a Forward Difference approach ∆t n = t n+1 − t n –Example: ∆t 6 = t 7 − t 6 = 134 − 118 = 16min → 16min·(60sec/min) = 960sec Over this ∆t assume the P(t) is constant at P avg,n =(P n+1 + P n )/2 –Example: P avg,6 = (P 7 + P 6 )/2 = (147+178)/2 = 162.5 kW = 162.5 kJ/sec

10 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 10 Bruce Mayer, PE Chabot College Mathematics Example  NONconstant ∆x  The GamePlan Graphically Note the Variable Width, ∆x, of the Strip Tops

11 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 11 Bruce Mayer, PE Chabot College Mathematics MATLAB Code MATLAB Code % Bruce Mayer, PE % MTH-15 25Jul13 % XY_Area_fcn_Graph_6x6_BlueGreen_BkGnd_Template_1306.m % clear; clc; clf; % clf is clear figure % % The FUNCTION xmin = 0; xmax = 350; ymin = 0; ymax = 225; x = [0 24 24 45 45 74 74 90 90 118 118 134 134 169 169 180 180 218 218 229 229 265 265 287 287 340] y = [77 77 105.5 105.5 125 125 136 136 152 152 162.5 162.5 179 179 181 181 192 192 208.5 208.5 203 203 201 201 213.5 213.5] % % The ZERO Lines zxh = [xmin xmax]; zyh = [0 0]; zxv = [0 0]; zyv = [ymin ymax]; % % the 6x6 Plot axes; set(gca,'FontSize',12); whitebg([0.8 1 1]); % Chg Plot BackGround to Blue-Green % Now make AREA Plot area(x,y,'FaceColor',[1 0.6 1],'LineWidth', 3),axis([xmin xmax ymin ymax]),... grid, xlabel('\fontsize{14}t (minutes)'), ylabel('\fontsize{14}P (kW)'),... title(['\fontsize{16}MTH15 Variable-Width Strip-Integration',]),... annotation('textbox',[.15.82.0.1], 'FitBoxToText', 'on', 'EdgeColor', 'none', 'String', 'Bruce Mayer, PE 25Jul13','FontSize',7) set(gca,'XTick',[xmin:50:xmax]); set(gca,'YTick',[ymin:25:ymax]) set(gca,'Layer','top')

12 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 12 Bruce Mayer, PE Chabot College Mathematics Example  NONconstant ∆x  The NONconstant Strip-Width Integration is conveniently done in an Excel SpreadSheet  The 13 ∆Q strips Add up to 3456.69 MegaJoules of Total Energy Expended

13 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 13 Bruce Mayer, PE Chabot College Mathematics Area Between Two Curves  Let f and g be continuous functions, the area bounded above by y = f (x) and below by y = g(x) on [a, b] is Provided that The Areal Difference Region, R, Graphically a b R

14 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 14 Bruce Mayer, PE Chabot College Mathematics Example Area Between Curves  Find the area between functions f & g over the interval x = [0,10]  The Graphs of f & g

15 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 15 Bruce Mayer, PE Chabot College Mathematics Example  Area Between Curves  The process Graphically −=

16 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 16 Bruce Mayer, PE Chabot College Mathematics Example  Area Between Curves  Do the Math → ≈ 70.20

17 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 17 Bruce Mayer, PE Chabot College Mathematics Example  Area Between Curves  Thus Ans A = 70.200

18 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 18 Bruce Mayer, PE Chabot College Mathematics MATLAB Code MATLAB Code % Bruce Mayer, PE % MTH-15 25Jun13 % clear; clc; clf; % clf clears figure window % % The Limits xmin = 0; xmax = 10; ymin = 0; ymax = 20; % The FUNCTION x = linspace(xmin,xmax,500); y1 = (-8/25)*(x-5).^2 + 10; y2 = 11*exp(-x/6)+9; % % the 6x6 Plot axes; set(gca,'FontSize',12); whitebg([0.8 1 1]); % Chg Plot BackGround to Blue-Green subplot(1,3,2) area(x,y1,'FaceColor',[1.8.4], 'LineWidth', 3),axis([xmin xmax ymin ymax]),... grid, xlabel('\fontsize{14}x'),ylabel('\fontsize{14}ylo = (-8/25)*(x-5)^2+10 yhi = 11e^-^x^/^6+9'),... title(['\fontsize{16}MTH15 Area Between Curves',]),... annotation('textbox',[.5.05.0.1], 'FitBoxToText', 'on', 'EdgeColor', 'none', 'String', 'Bruce Mayer, PE 25Jul13','FontSize',7) hold on set(gca,'XTick',[xmin:2:xmax]); set(gca,'YTick',[ymin:2:ymax]) set(gca,'Layer','top') hold off % subplot(1,3,1) area(x,y2, 'FaceColor',[0 1 0], 'LineWidth', 3),axis([xmin xmax ymin ymax]),... grid, xlabel('\fontsize{14}x'),... annotation('textbox',[.15.05.0.1], 'FitBoxToText', 'on', 'EdgeColor', 'none', 'String', 'Bruce Mayer, PE 25Jul13','FontSize',7) hold on set(gca,'XTick',[xmin:2:xmax]); set(gca,'YTick',[ymin:2:ymax]) set(gca,'Layer','top') hold off % xn = linspace(xmin, xmax, 500); subplot(1,3,3) fill([xn,fliplr(xn)],[(-8/25)*(xn-5).^2 + 10, fliplr(11*exp(-xn/6)+9)],'m'),axis([xmin xmax ymin ymax]),... grid, xlabel('\fontsize{14}x'),... annotation('textbox',[.85.05.0.1], 'FitBoxToText', 'on', 'EdgeColor', 'none', 'String', 'Bruce Mayer, PE 25Jul13','FontSize',7) hold on set(gca,'XTick',[xmin:2:xmax]); set(gca,'YTick',[ymin:2:ymax]) set(gca,'Layer','top') hold off % disp('Showing SubPlot - Hit Any Key to Continue') pause % clf fill([xn,fliplr(xn)],[(-8/25)*(xn-5).^2 + 10, fliplr(11*exp(-xn/6)+9)],'m'),axis([xmin xmax ymin ymax]),... grid, xlabel('\fontsize{14}x'),,ylabel('\fontsize{14}ylo = (-8/25)*(x-5)^2+10 yhi = 11e^-^x^/^6+9'),... title(['\fontsize{16}MTH15 Area Between Curves',]),... annotation('textbox',[.6.05.0.1], 'FitBoxToText', 'on', 'EdgeColor', 'none', 'String', 'Bruce Mayer, PE 25Jul13','FontSize',7) hold on set(gca,'XTick',[xmin:2:xmax]); set(gca,'YTick',[ymin:2:ymax]) set(gca,'Layer','top') hold off

19 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 19 Bruce Mayer, PE Chabot College Mathematics MuPAD Code MuPAD Code f := 11*exp(-x/6)+9 g := (-8/25)*(x-5)^2+10 fminusg := f-g AntiDeriv := int(fminusg, x) ABC := int(fminusg, x=0..10) float(ABC)

20 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 20 Bruce Mayer, PE Chabot College Mathematics Example  Net Excess Profit  The Net Excess Profit of an investment plan over another is given by Where dP 1 /dt & dP 2 /dt are the rates of profitability of plan-1 & plan-2  The Net Excess Profit (NEP) gives the total profit gained by plan-1 over plan-2 in a given time interval.

21 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 21 Bruce Mayer, PE Chabot College Mathematics Example  Net Excess Profit  Find the net excess profit during the period from now until plan-1 is no longer increasing faster than plan-2:  Plan-1 is an investment that is currently increasing in value at $500 per day and dP 1 /dt (P 1 ’) is increasing instantaneously by 1% per day, as compared to plan-2 which is currently increasing in value at $100 per day and dP 2 /dt (P 2 ’) is increasing instantaneously by 2% per day

22 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 22 Bruce Mayer, PE Chabot College Mathematics Example  Net Excess Profit  SOLUTION:  The functions are each increasing exponentially (instantaneously), with dP 1 /dt initially 500 and growing exponentially with k = 0.01, so that  Similarly, dP 2 /dt is initially 100 and growing exponentially with k = 0.02, so that

23 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 23 Bruce Mayer, PE Chabot College Mathematics Example  Net Excess Profit  ReCall the NEP Eqn where a and b are determined by the time for which plan-1 is increasing faster than plan-2, that is, [a,b] includes those times, t, such that:  Using the Given Data

24 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 24 Bruce Mayer, PE Chabot College Mathematics Example  Net Excess Profit  Dividing Both Sides of the InEquality  Taking the Natural Log of Both Side  Divide both Sides by 0.01 to Solve for t

25 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 25 Bruce Mayer, PE Chabot College Mathematics Example  Net Excess Profit  The plan-1 is greater than plan-2 from day-0 to day 160.94.  Thus after rounding the NEP covers the time interval [0,161]. The the NEP Eqn:  Doing the Calculus

26 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 26 Bruce Mayer, PE Chabot College Mathematics Example  Net Excess Profit  STATE: In the initial 161 days, the Profit from plan-1 exceeded that of plan-2 by approximately $80k

27 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 27 Bruce Mayer, PE Chabot College Mathematics Example  Net Excess Profit  The Profit Rates  The NEP (ABC) Area Between Curves

28 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 28 Bruce Mayer, PE Chabot College Mathematics MATLAB Code MATLAB Code % Bruce Mayer, PE % MTH-15 25Jun13 % clear; clc; clf; % clf clears figure window % xmin = 0; xmax = 161; ymin = 0; ymax = 2.5; % The FUNCTION x = linspace(xmin,xmax,500); y1 =.5*exp(x/100); y2 =.1*exp(x/50); % x in days y's in $k % % the 6x6 Plot axes; set(gca,'FontSize',12); whitebg([0.8 1 1]); % Chg Plot BackGround to Blue-Green plot(x,y1, x,y2, 'LineWidth', 4),axis([xmin xmax ymin ymax]),... grid, xlabel('\fontsize{14}t (days)'), ylabel('\fontsize{14} P_1''= 0.5e^x^/^1^0^0 P_2'' = 0.5e^x^/^5^0^ ($k)'),... title(['\fontsize{16}MTH15 Net Excess Profit',]),... annotation('textbox',[.6.05.0.1], 'FitBoxToText', 'on', 'EdgeColor', 'none', 'String', 'Bruce Mayer, PE 25Jul13','FontSize',7) hold on set(gca,'XTick',[xmin:20:xmax]); set(gca,'YTick',[ymin:0.5:ymax]) disp('Hit ANY KEY to show Fill') pause % xn = linspace(xmin, xmax, 500); fill([xn,fliplr(xn)],[.5*exp(xn/100), fliplr(.1*exp(x/50))],'m') hold off

29 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 29 Bruce Mayer, PE Chabot College Mathematics Recall: Average Value of a fcn  Mathematically - If f is integrable on [a, b], then the average value of f over [a, b] is  Example  Find the Avg Value:  Use Average Definition:

30 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 30 Bruce Mayer, PE Chabot College Mathematics Example  GeoTech Engineering  A Model for The rate at which sediment gathers at the delta of a river is given by Where –t ≡ the length of time (years) since study began –M ≡ the Mass of sediment (tons) accumulated  What is the average rate at which sediment gathers during the first six months of study? ))

31 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 31 Bruce Mayer, PE Chabot College Mathematics Example  GeoTech Engineering  By the Avg Value eqn the average rate at which sediment gathers over the first six months (0.5 years)  No Integration Rule applies so try subsitution. Let

32 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 32 Bruce Mayer, PE Chabot College Mathematics Example  GeoTech Engineering  And  Then the Transformed Integral  Working the Calculus

33 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 33 Bruce Mayer, PE Chabot College Mathematics Example  GeoTech Engineering  The average rate at which sediment was gathering for the first six months was 0.863 tons per year.  dM/dt along with its average value on [0,0.5]: Equal Areas

34 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 34 Bruce Mayer, PE Chabot College Mathematics WhiteBoard Work  Problems From §5.4 P46 → Worker Productivity P60 → Cardiac Fluidic Mechanics

35 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 35 Bruce Mayer, PE Chabot College Mathematics All Done for Today DilBert Integration

36 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 36 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege.edu Chabot Mathematics Appendix –

37 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 37 Bruce Mayer, PE Chabot College Mathematics

38 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 38 Bruce Mayer, PE Chabot College Mathematics

39 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 39 Bruce Mayer, PE Chabot College Mathematics P5.4-46(b)  Production Rates  Cumulative Difference Q tot = 184/3 units ABC = 184/3

40 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 40 Bruce Mayer, PE Chabot College Mathematics

41 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 41 Bruce Mayer, PE Chabot College Mathematics

42 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 42 Bruce Mayer, PE Chabot College Mathematics

43 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 43 Bruce Mayer, PE Chabot College Mathematics

44 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 44 Bruce Mayer, PE Chabot College Mathematics

45 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 45 Bruce Mayer, PE Chabot College Mathematics

46 BMayer@ChabotCollege.edu MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 46 Bruce Mayer, PE Chabot College Mathematics


Download ppt "MTH15_Lec-25_sec_5-4_Definite_Integral_Apps.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical."

Similar presentations


Ads by Google