
EmergencyDeploymenttoPanamaJerryKobylskiIntroductionYourbattalionhasrecentlybeendeployedtoPanamainresponsetoanimmigrationcrisis.Becauseyouknowyouwillbethereforseveralmonthsasaresponseforceintheeventof anuprising,yourtheatercommanderhasauthorizedfundsfortheconstructionofabasecamp.AstheassistantbattalionS3,youarechargedwithseveral missionswhichinvolvethepreparationofthecampforyourbattalion.Mostofthesemissionsinvolvemathematicalmodeling.Example1:Youneedtoconstructagraywater pit forthe battalion.Agraywater pit is alargerectangularholewherewaterfromshowerscollect so that the ground can absorbthe water. You must construct anopentoprectangularpitwithasquarebase of xfeet oneach side andaheight of yfeet.The pit will beplaced so that it can catch all of therunoff water from the showers. Itmust be large enoughto supportthepeak showertime (rightafterPT)whichisforonehour.Twenty showerheads usually run during this hour,eachreleasingabout2cu.ftperminute.Considertheabsorptionrateof the ground to be negligible.Thecostsassociatedwiththeconstructionofthepitinvolvenot only the material, but also anexcavation charge. The totalcost can be written as c(x,y) =5(x + 4xy) + 10xy. Since thebattalion must contractwiththelocal Panamanianengineersforthisproject,yourcommanderhasdirectedyoutofindthedimensionsofthepitthatwillminimizethe cost.Whatare25
25 Emergency Deployment to Panama Jerry Kobylski Introduction Your battalion has recently been deployed to Panama in response to an immigration crisis. Because you know you will be there for several months as a response force in the event of an uprising, your theater commander has authorized funds for the construction of a base camp. As the assistant battalion S3, you are charged with several missions which involve the preparation of the camp for your battalion. Most of these missions involve mathematical modeling. Example 1: You need to construct a gray water pit for the battalion. A gray water pit is a large rectangular hole where water from showers collect so that the ground can absorb the water. You must construct an open top rectangular pit with a square base of x feet on each side and a height of y feet. The pit will be placed so that it can catch all of the runoff water from the showers. It must be large enough to support the peak shower time (right after PT) which is for one hour. Twenty shower heads usually run during this hour, each releasing about 2 cu. ft per minute. Consider the absorption rate of the ground to be negligible. The costs associated with the construction of the pit involve not only the material, but also an excavation charge. The total cost can be written as c(x,y) = 5(x2 + 4xy) + 10xy. Since the battalion must contract with the local Panamanian engineers for this project, your commander has directed you to find the dimensions of the pit that will minimize the cost. What are

thesedimensionsandwhatisthe cost?AssumptionsWemust assumethefollowing:theabsorption of the waterbythegroundwill benegligible; all of the water from the shower heads will end up in the pit; theshower heads run continuously and that the rate of each is exactly2 cu.ft.perminute;andthegiven costfunction is anaccuraterepresentation oftheassociatedcosts.Variables:x : the length and width of the bottom of the pit in feety:the height of the pit in feetc(x,y):thetotal cost oftheconstructionofthepit indollarsSince the base of the pit will be a square, we know that the volume will be v =Xy.Thisvolumemustbeabletosupporttheamountof water comingfromtheshowers.Thus,fi3V=xy=20(2)-x60min=2400min2400Lx2Nowwecansubstitutethis inforyinthecostequation:c(x,y)=5x2+20xy+10xy=5x2+30xy72002400=5x2c(x)= 5x2 +30x(xDifferentiating c(x) gives us:7200dc(x) =10xx=19.31x?dxWe take the derivative above of the cost function and set it equal to zerobecausewearetryingtominimize cost.Wethen canfindyand ultimately c(x,y)forthegiven criticalvalueofx.x=19.31ft2400=6437 ftL19.312c(x, y) = 5(19.31) + 30(19.31)(6.437) = $5593.3326
26 these dimensions and what is the cost? Assumptions We must assume the following: the absorption of the water by the ground will be negligible; all of the water from the shower heads will end up in the pit; the shower heads run continuously and that the rate of each is exactly 2 cu. ft. per minute; and the given cost function is an accurate representation of the associated costs. Variables: x : the length and width of the bottom of the pit in feet y: the height of the pit in feet c(x,y): the total cost of the construction of the pit in dollars Since the base of the pit will be a square, we know that the volume will be v = x 2 y. This volume must be able to support the amount of water coming from the showers. Thus, 2 3 2 2400 60 min 2400 min 20(2) x y ft V x y = = = ´ = Now we can substitute this in for y in the cost equation: x x x c x x x c x y x xy xy x xy 7200 ) 5 2400 ( ) 5 30 ( ( , ) 5 20 10 5 30 2 2 2 2 2 = + = + = + + = + Differentiating c(x) gives us: 19.31 7200 10 ( ) 2 = - Þ x = x x dx dc x We take the derivative above of the cost function and set it equal to zero because we are trying to minimize cost. We then can find y and ultimately c(x,y) for the given critical value of x. ( , ) 5(19.31) 30(19.31)(6.437) $5593.33 6437 19.31 2400 19.31 2 2 = + = = = = c x y y ft x ft

Example2:Fromresearchyouhavefoundthat without restriction atypical battalionconsumes electricity inafieldenvironmentt4accordingtothefunction f(t):4bwheretisin6hourincrementsandf(t)isinKW.(Anegativef(t)representszeroKW.)Atmidnight t = 0, and at 0600, t = 1. The localelectricalcompanycanprovideamaximumof2KW at any given timetoyour locationbecause of the poor condition of the electricallinesMustyourecommendtoyourcommanderapolicyon imposinglightrestrictionsbetween the hours of 0400,when battalion activitybegins and 2100? If youdeterminethatyoumustimposetherestrictions,whenmustyouimposethem?AssumptionsWe must assume that the model f(t) accurately reflects our battalion's energyconsumption.Finally,wewill assumethatthenegativevaluesforthis functionhavenomeaning.Variables:t: time in 6 hour incrementsf(t): consumption of electricityinKwIf wetakethederivative of the function and set it equal tozero,we will findpossibleextrema.Wewillthenusethesecondderivativetodetermineiftheyareextreme points and what typef'(t)=t3-3t2+2t=0This gives us 3 solutions: t= 0,1,2. Using a second derivative testf"()= 3t2 -6t+2f"(0) = +(min)f"(l) = -(max)f(2) = +(min)Since when t = 1, we have a maximum, we find that f(1) = .083 kW, which isbelow2KW.Wemust also check the endpoints.Theyare t =2/3 (actual time 0400 hours)andt=3.5(actualtime2100hours)27
27 Example 2: From research you have found that without restriction a typical battalion consumes electricity in a field environment according to the function 6 1 4 ( ) 3 2 4 = - t + t - t f t , where t is in 6 hour increments and f(t) is in KW. (A negative f(t) represents zero KW.) At midnight t = 0, and at 0600, t = 1. The local electrical company can provide a maximum of 2KW at any given time to your location because of the poor condition of the electrical lines. Must you recommend to your commander a policy on imposing light restrictions between the hours of 0400, when battalion activity begins and 2100? If you determine that you must impose the restrictions, when must you impose them? Assumptions We must assume that the model f(t) accurately reflects our battalion’s energy consumption. Finally, we will assume that the negative values for this function have no meaning. Variables: t: time in 6 hour increments f(t): consumption of electricity in KW If we take the derivative of the function and set it equal to zero, we will find possible extrema. We will then use the second derivative to determine if they are extreme points and what type. '( ) 3 2 0 3 2 f t = t - t + t = This gives us 3 solutions: t = 0,1,2. Using a second derivative test: ' '(2) (min) ' '(1) (max) ' '(0) (min) ' '( ) 3 6 2 2 = + = - = + = - + f f f f t t t Since when t = 1, we have a maximum, we find that f(1) = .083 KW, which is below 2KW. We must also check the endpoints. They are t = 2/3 (actual time 0400 hours) and t = 3.5 (actual time 2100 hours)

f(2/3)=.0309KWf(3.5)=6.72KW,yesthisexceedsthe2KW,sowehaveto imposerestrictions.Tofindwhenwemust imposetherestrictions,wewillsettheoriginalfunctionequal to the 2 KW to see when it exceeds the capacity.t4t*+12_1f(t)=2:Thisyields4roots,2ofwhicharecomplexX6one negative, and one when t = 2.985 or an actual time of 1754 hoursSeems about thetime when all of theradios arehot withthe evening reportsthatare dueto higher headquarters!! So wemust impose restriction between1754hoursand2100hours.Now determine when the usage is increasingand decreasing for the giveninterval.Weknowthatwhent=0,1,2,theelectricityusage is neitherincreasingnordecreasingbecausetheslopeoff(t)iszero.Ifwepicknumbersinthefollowingintervals:-00<t<00<1<11<t<22<1<00andthensubstituteintothederivativeoftheoriginalfunction,wefindthatthefirst intervalyields a negativenumber,meaningthefunctionis decreasing onthefirst interval. A similar analysis for each interval yields:-oo<t<0=decreases0<t<1= increases1<t<2= decreases2<t<00= increasesThisishowweknewthatwhent=2.985,thetimewhentheusageequals2kwthat it would exceed 2KW up until the time of interest, 2100 hours, or t =3.5.The function is increasing inthis interval.Final analysis is confirmed by lookingat a graph of this function in Figure 1, which shows points and intervals ofinterest.28
28 f(2/3) = .0309 KW f(3.5) = 6.72 KW, yes this exceeds the 2 KW, so we have to impose restrictions. To find when we must impose the restrictions, we will set the original function equal to the 2 KW to see when it exceeds the capacity. 6 1 4 ( ) 2 3 2 4 = = - t + t - t f t This yields 4 roots, 2 of which are complex, one negative, and one when t = 2.985 or an actual time of 1754 hours. Seems about the time when all of the radios are hot with the evening reports that are due to higher headquarters!! So we must impose restriction between 1754 hours and 2100 hours. Now determine when the usage is increasing and decreasing for the given interval. We know that when t = 0, 1, 2, the electricity usage is neither increasing nor decreasing because the slope of f(t) is zero. If we pick numbers in the following intervals: < < ¥ < < < < - ¥ < < t t t t 2 1 2 0 1 0 and then substitute into the derivative of the original function, we find that the first interval yields a negative number, meaning the function is decreasing on the first interval. A similar analysis for each interval yields: t increases t decreases t increases t decreases < < ¥ Þ < < Þ < < Þ - ¥ < < Þ 2 1 2 0 1 0 This is how we knew that when t = 2.985, the time when the usage equals 2KW, that it would exceed 2 KW up until the time of interest, 2100 hours, or t = 3.5. The function is increasing in this interval. Final analysis is confirmed by looking at a graph of this function in Figure 1, which shows points and intervals of interest

(tElectricityUsageftMY.HoursFigure1ConclusionIn mathematical modelingwe are trying to find a mathematical relationshipamong variables ofa complex situation.Oncethis relationship isdetermined,wecan analyzea situation in orderto predict the results ofsome course ofaction'. In both of the above problems, we were given mathematicalrelationships.Ourobjectivewastofindoptimalpointsofinterestoftheserelationships orfunctions.Essentially,wewantedtopredicttheresults ofsomecourses of action. Usingthe given functions,we were able to findthe leastexpensivedimensions for excavation of a waterpit and the times duringthe daywhen2Kwofpowerwereexceededinthebasecamp.Inbothproblemswedifferentiatedthefunctions, settheresults equaltozero,and then solvedfor thecorrespondingrootsinordertofindtheoptimalpoints,aprocedurereferredtoas optimization. Oncea relationship amongthevariables ina complex situationisfound, the situation can usually thenbe optimizedtodetermine some desiredend state.Throughoptimization,many crucial resources canbe saved.Exercises1. Because the area around your base camp could potentially be a hostileenvironment,yourcommanderwould liketosurroundyour campwithsomesortofprotectivebarrier.Youaskaroundandareabletofind8orollsofconcertinawire.You learn that eachroll is 15 meters long,and that a concertina fence ismosteffectivewheninstalledasatriplestandardconcertinafence(seefigure2below).Using this concertina asthebarrier,what isthemaximumamountofarea insidethefenceyou would be abletohave for your camp? The locationwhereyour commanderwants thecamp is directly adjacentto a lake.Thus,youdo not have to worry about a barricade on that side. Additionally,you can leave29
29 Figure 1 Conclusion In mathematical modeling we are trying to find a mathematical relationship among variables of a complex situation. Once this relationship is determined, we can analyze a situation in order to predict the results of some course of action1 . In both of the above problems, we were given mathematical relationships. Our objective was to find optimal points of interest of these relationships or functions. Essentially, we wanted to predict the results of some courses of action. Using the given functions, we were able to find the least expensive dimensions for excavation of a water pit and the times during the day when 2 KW of power were exceeded in the base camp. In both problems we differentiated the functions, set the results equal to zero, and then solved for the corresponding roots in order to find the optimal points, a procedure referred to as optimization. Once a relationship among the variables in a complex situation is found, the situation can usually then be optimized to determine some desired end state. Through optimization, many crucial resources can be saved. Exercises 1. Because the area around your base camp could potentially be a hostile environment, your commander would like to surround your camp with some sort of protective barrier. You ask around and are able to find 80 rolls of concertina wire. You learn that each roll is 15 meters long, and that a concertina fence is most effective when installed as a triple standard concertina fence (see figure 2 below). Using this concertina as the barrier, what is the maximum amount of area inside the fence you would be able to have for your camp? The location where your commander wants the camp is directly adjacent to a lake. Thus, you do not have to worry about a barricade on that side. Additionally, you can leave f(t) t 4 4 t 3 t 2 1 6 f(t) t 2 1 0 1 2 3 4 1 0.5 0 0.5 1 1.5 2 Electricity Usage Hours KW

a gap in the fence of 20 meters for incoming and outgoing traffic; a 24 hourguardwillbethere (seefigure3below)LakeXX78Figure2CrossSectionFigure3Layout2. Your home duty station is preparing to send you repair parts for yourvehicles.Beforetheydohowever,theyhaveto purchasetheboxestosendtheparts in.Becauseofyourmathematicalmodelingexperience,theyaskyouforhelpindeterminingwhat sizeofboxtheyshouldpurchase.TheU.s.PostalServicewillacceptboxesforshipmentoverseasonlyifthesumofitslengthandgirth (distance around)does not exceed a certain dimension; in this case225inches. You decide to design the box with a square end in order that the bulkierparts canfit.Whatdimensionswill giveabox withthis design thelargestpossiblevolume?3.Oneofyourresponsibilitiesistoplanandorderfuelforall ofthevehicles inyourunit.Assumethedaily consumptionoffuel tobe best modeledby theequationf(t) =20 + 15 cos (t) where t is in hours and f(t) is in hundreds of gallons (atmidnight t =O).What is the maximum amount of fuel that youmust plan onorderingfromthelocal community?Approximatelywhattimesofthedaywillthese peaks occur? Also, you only have a six man section to run the fuel point.When can youhave minimummanning at yourfuel station?4. Now that you have successfully planned for the gray water pit for thebattalion,you must nowplan for obtainingthewater.You aretold that thedailyconsumption ofwater inabattalion ismodeled byf(t) =t-18t-1ot +120,wheretis in hours and f(t) is in tens of gallons of water. When t =-6, it is 0600hours.The local water sourceplantcan meet any demand,however,thepipingnetworkthatexistsnearyourcampcanonlyprovideamaximumof5o0gallonsat any given time.One other potential problemis that the local source mustprovide continuous service.This is because the cost of shutting off andrestartingtheirequipmentis expensive.First,verifythattheaboveequationmakessenseforyourbattalion'swaterconsumption.Then,determineifthepiping network will meet your needs. If not,what should you do? Finally,willyou meet the requirement of the water source plant?References1.Giordano,Frank R.,andMauriceD.Weir,AFirst CourseinMathematicalModeling,Books/ColePublishingCompany,Monterey,California,1985.30
30 a gap in the fence of 20 meters for incoming and outgoing traffic; a 24 hour guard will be there (see figure 3 below). Lake Figure 2 Cross Section Figure 3 Layout 2. Your home duty station is preparing to send you repair parts for your vehicles. Before they do however, they have to purchase the boxes to send the parts in. Because of your mathematical modeling experience, they ask you for help in determining what size of box they should purchase. The U.S. Postal Service will accept boxes for shipment overseas only if the sum of its length and girth (distance around) does not exceed a certain dimension; in this case 225 inches. You decide to design the box with a square end in order that the bulkier parts can fit. What dimensions will give a box with this design the largest possible volume? 3. One of your responsibilities is to plan and order fuel for all of the vehicles in your unit. Assume the daily consumption of fuel to be best modeled by the equation f(t) = 20 + 15 cos (t) where t is in hours and f(t) is in hundreds of gallons (at midnight t = 0). What is the maximum amount of fuel that you must plan on ordering from the local community? Approximately what times of the day will these peaks occur? Also, you only have a six man section to run the fuel point. When can you have minimum manning at your fuel station? 4. Now that you have successfully planned for the gray water pit for the battalion, you must now plan for obtaining the water. You are told that the daily consumption of water in a battalion is modeled by f(t) = t4 – 18t2 - 10t + 120, where t is in hours and f(t) is in tens of gallons of water. When t = -6, it is 0600 hours. The local water source plant can meet any demand, however, the piping network that exists near your camp can only provide a maximum of 500 gallons at any given time. One other potential problem is that the local source must provide continuous service. This is because the cost of shutting off and restarting their equipment is expensive. First, verify that the above equation makes sense for your battalion’s water consumption. Then, determine if the piping network will meet your needs. If not, what should you do? Finally, will you meet the requirement of the water source plant? References 1. Giordano, Frank R., and Maurice D. Weir, A First Course in Mathematical Modeling, Books / Cole Publishing Company, Monterey, California, 1985