Modeling in Calculus IlJamesV.MathesonScenario1:OptimizingFiscalResourcesYouhave been assignedto a districtengineerposition.The first project yourunitreceivesistobuildavisitorscenteratarecentlycompletedCorpsofEngineersdamsite.Yourcommanderhasexaminedthebudgetforcompletingthevisitorscenter and decided that you can use roughly $100,000 worth ofmaterial tocompletetheoutershell of thebuilding.Thearchitect'sconceptforthedesignofthebuilding is that it will be a right tetrahedron.Thefloor ofthetetrahedron is tobeconstructedoutofgraniteblocks,twoofthewallsaretobemadeofbrickandoneofthewallsistobemadeofglass.Yourcommanderhasaskedyoutouseyourknowledge ofmultiple integrals and optimizationto come upwith a roughestimateofthemaximumvolumeofabuildingthatcanbeconstructedintheshapeofatetrahedronfor$100,o00.Heprovidesyouwiththefollowingsketchand a chart that has the cost of the materials you will use to construct thebuilding.+ZCB=Granite=BrickAngledwall definedbytriangleABC is tobemadeof glass243
243 Modeling in Calculus II James V. Matheson Scenario 1: Optimizing Fiscal Resources You have been assigned to a district engineer position. The first project your unit receives is to build a visitors center at a recently completed Corps of Engineers dam site. Your commander has examined the budget for completing the visitors center and decided that you can use roughly $100,000 worth of material to complete the outer shell of the building. The architect’s concept for the design of the building is that it will be a right tetrahedron. The floor of the tetrahedron is to be constructed out of granite blocks, two of the walls are to be made of brick and one of the walls is to be made of glass. Your commander has asked you to use your knowledge of multiple integrals and optimization to come up with a rough estimate of the maximum volume of a building that can be constructed in the shape of a tetrahedron for $100,000. He provides you with the following sketch and a chart that has the cost of the materials you will use to construct the building
MaterialCost: $ per square meter of surfacearea3Brick8Granite2GlassThisisyourfirstmajorprojectasadistrictengineerand youaredetermined tocreatethebestvisitorscentereverbuiltbyadamsite.Inordertomakeagoodestimateofthemaximumvolumeforthebuilding,youdecidetousethemethodofLagrangetooptimizethevolumeofthebuildingsubjecttotheequalityconstraintof$100,000worthofbuildingmaterials.Problem1:Agoodplacetobeginanyoptimizationproblemiswithanobjectivefunction.Inthis case,thegoal oftheproject isto optimizethevolume of thebuilding.Fromthe sketch you received,theshape ofthe building is a righttetrahedron.Use amultiple integral tofind ageneralizedfunctionrepresentingthe volume of a right tetrahedron.Solution 1:A triple integral can be used to find the volume of the tetrahedron. The limits of the innermost integral come from the x-y plane at the bottom of the building and the Planecontaining the points A, B, and C which creates the roof of the building. To find theAB andequation ofthe plane containing A, B, and C, it is necessary to create vectorsAC.The vectors are then crossed tofind a vector normal to the plane.From there, thepoint normal equation of the plane is used to find the upper limit for the inner mostCCintegral. Thus the inner integral limits are z = O and z = C -y,ThelimitsonBAthe middle integral come from an examination ofthe region in the x-y plane covered bythetetrahedron as shown in thegraph on thenextpage244
244 Material Cost: $ per square meter of surface area Brick 3 Granite 8 Glass 2 This is your first major project as a district engineer and you are determined to create the best visitors center ever built by a dam site. In order to make a good estimate of the maximum volume for the building, you decide to use the method of Lagrange to optimize the volume of the building subject to the equality constraint of $100,000 worth of building materials. Problem 1: A good place to begin any optimization problem is with an objective function. In this case, the goal of the project is to optimize the volume of the building. From the sketch you received, the shape of the building is a right tetrahedron. Use a multiple integral to find a generalized function representing the volume of a right tetrahedron. Solution 1: A triple integral can be used to find the volume of the tetrahedron. The limits of the inner most integral come from the x-y plane at the bottom of the building and the Plane containing the points A, B, and C which creates the roof of the building. To find the equation of the plane containing A, B, and C, it is necessary to create vectors AB and AC . The vectors are then crossed to find a vector normal to the plane. From there, the point normal equation of the plane is used to find the upper limit for the inner most integral. Thus the inner integral limits are z = 0 and y B C x A C z = C - - . The limits on the middle integral come from an examination of the region in the x-y plane covered by the tetrahedron as shown in the graph on the next page
B-Bx+ BAregion covered bytetrahedronxAy=0-Bx+B.ThelimitsThelowerlimit is simplyy=O.Theupper limitistheliney=Aon the outer most integral cover the extreme x values x = O and x = A. Integrating thefunction f(x, y,z)=1 over these limits yields a generalized formula for the volume ofthe tetrahedron in terms of the intercepts at points A, B, and C.ABC-B'1dzdydx=6Therefore, the objective function for your Lagrange Multiplier Problem isABCf(A,B,C)=6Problem2:Youhavebeenrestrictedtospendings10o,oo0andyouaregivenmaterial costs in terms of the surface area of each material.By examining thesketchof thebuilding,you can seethat the surfaceof thebuildingismadeoffourtriangles.Two of the triangles are brick, one is glass, and one is granite.Determineafunctionthatrepresentsthecostofthebuilding intermsoftheX,Y,andZinterceptsofthetetrahedron.Setthiscostfunctionegualto$100.000tamakean equality constraint.245
245 The lower limit is simply y = 0. The upper limit is the line x B A B y + - = . The limits on the outer most integral cover the extreme x values x = 0 and x = A. Integrating the function f (x, y,z) =1 over these limits yields a generalized formula for the volume of the tetrahedron in terms of the intercepts at points A, B, and C. ò ò ò + - A x B - - A B y B C x A C C dz dy dx 0 0 0 1 6 ABC = Therefore, the objective function for your Lagrange Multiplier Problem is 6 ( , , ) ABC f A B C = Problem 2: You have been restricted to spending $100,000 and you are given material costs in terms of the surface area of each material. By examining the sketch of the building, you can see that the surface of the building is made of four triangles. Two of the triangles are brick, one is glass, and one is granite. Determine a function that represents the cost of the building in terms of the X, Y, and Z intercepts of the tetrahedron. Set this cost function equal to $100,000 to make an equality constraint
Solution 2:The cost of the building will be approximated by summing the costs of the four triangles.Thecost ofeachtriangleis equal tothe surfaceareaof thetrianglemultiplied bythecostofthetriangle's material.The surface areafor thetriangles made of granite and brick arefoundusingtheformula Area==bh.Thesurfaceareaofthetrianglemadeofglass2is found by taking halfofthe magnitude of the cross product ofvectors AB and ACThis method yields the following constraint equation:3&g(A,B,C)=4AB+=AC+= BC+/B2C?+A°C2 +A°B2 =10000022Problem3:UsetheMethodof Lagrangewiththeobjectivefunctionandequalityconstraintfromstepsoneandtwotodeterminethelargestvolumeoftetrahedronshapedbuildingthatcanbeconstructedfor$1oo,oooSolution 3:UsingMATHCAD:(A,B,C) :- A-B-C63AC+2BC+5NB2.c + A2.c2 + AB2&A,B,C) :=4AB+L2Guess values:A := 100B :=120C := 150A :=25Givenfd[dd(A,B,C)=M(三(A,B,C)=M.(8(A,B,C)A,B,C)dAldAdcdcfdd_(A,b,c)=M.&(A,B,C)ε(A,B,C)=100000dBdBAvalBval=Find(A,B,C,A)CvallambdaAval =87.706Bval = 87.706Cyal = 175.412lambda=3.373A-B.CFind Volume:Volume isVolume :=f(Aval, Bval. Cval)6Volume = 2.249-105246
246 Solution 2: The cost of the building will be approximated by summing the costs of the four triangles. The cost of each triangle is equal to the surface area of the triangle multiplied by the cost of the triangle’s material. The surface area for the triangles made of granite and brick are found using the formula Area bh 2 1 = . The surface area of the triangle made of glass is found by taking half of the magnitude of the cross product of vectors AB and AC . This method yields the following constraint equation: 100000 2 3 2 3 ( , , ) 4 2 2 2 2 2 2 g A B C = AB + AC + BC + B C + A C + A B = Problem 3: Use the Method of Lagrange with the objective function and equality constraint from steps one and two to determine the largest volume of tetrahedron shaped building that can be constructed for $100,000. Solution 3: Using MATHCAD:
Scenario2:ARomanSiegeTheyearis27AD,youandyour buddy,Sparticus,areplacingavillage inGaulunder siege.Astonewall thatis 20metershigh surrounds thevillage.You cangetno closer than300 meters to the wall.Sparticus notices that all of thebuildings in the villageare made ofwood and thinks it would bea good idea tocatapultheatedrocksoverthewall intothevillagetostartitburningandendthesiege.You have a catapult that generates an initial velocity of 150m/sec.Sparticus wants you to tell the men at what angle to set the catapult so that therockslandinthevillage.Notethatthevillageisperfectlysquarewitheachofthefourwallsbeing1000meterslong.Problem1:Find therangeofanglesthat you cangivetothemento insuresuccess.Concernyourselfonlywithminimumandmaximumrange.Assumeyouarecenteredononewallandyourrockwill travel inadirectionperpendiculartothe wall.Sparticus'Range Cardside view of walllocationof300minterior of village1000mcatapult20 m1000mSolution 1:Initsmostsimpleform,thisproblemisatwo-dimensional ballisticmotionproblemBegin by deriving vector valued functions that represent the acceleration, velocity, andpositionoftheprojectile(rock)atanytimet.Theequationsshould bea(t) = (0, - 9.8)(t)=(150cos(9),-9.8t +150sin(9)F() =(150 tcos(9), 4.9t2 +150 tsin(9)247
247 Scenario 2: A Roman Siege The year is 27 AD, you and your buddy, Sparticus, are placing a village in Gaul under siege. A stone wall that is 20 meters high surrounds the village. You can get no closer than 300 meters to the wall. Sparticus notices that all of the buildings in the village are made of wood and thinks it would be a good idea to catapult heated rocks over the wall into the village to start it burning and end the siege. You have a catapult that generates an initial velocity of 150m/sec. Sparticus wants you to tell the men at what angle to set the catapult so that the rocks land in the village. Note that the village is perfectly square with each of the four walls being 1000 meters long. Problem 1: Find the range of angles that you can give to the men to insure success. Concern yourself only with minimum and maximum range. Assume you are centered on one wall and your rock will travel in a direction perpendicular to the wall. Solution 1: In its most simple form, this problem is a two-dimensional ballistic motion problem. Begin by deriving vector valued functions that represent the acceleration, velocity, and position of the projectile (rock) at any time t. The equations should be: a(t) = 0, - 9.8 r v(t) = 150cos(J), - 9.8t + 150sin(J) r ( ) 150 cos( ), 4.9 150 sin( ) 2 r t = t J - t + t J r