document.write( "Question 1196212: A school is preparing a trip for 400 students. The company who is providing the transportation has 10 buses of 50 seats each and 8 buses of 40 seats, but only has 9 drivers available. The rent cost for a large bus is #800 and #600 for the small bus. Calculate how many buses of each type should be used for the trip for the least possible cost. \n" ); document.write( "
Algebra.Com's Answer #828952 by math_tutor2020(3817)![]() ![]() ![]() You can put this solution on YOUR website! \n" ); document.write( "Let \n" ); document.write( "A = larger bus (50 seats) \n" ); document.write( "B = smaller bus (40 seats)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Bus A costs $800 \n" ); document.write( "Bus B costs $600\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "x = number of buses of type A \n" ); document.write( "y = number of buses of type B\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Bus A can hold 50 students, so x of them contribute 50x seats \n" ); document.write( "Bus B can hold 40 students, so y of them contribute 40y seats \n" ); document.write( "In total there are 50x+40y seats available\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We want that seat count to be 400 or larger. \n" ); document.write( "We may or may not have extra/empty seats.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( "which is one of the restrictions.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Another restriction is that \n" ); document.write( "We only have 9 drivers, so this total must be 9 or fewer.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Now either graph by hand, or use a graphing app such as Desmos or GeoGebra. \n" ); document.write( "In the screenshot below, I'm using GeoGebra \n" ); document.write( " ![]() \n" ); document.write( "The shaded triangle consists of all possible solutions to make both inequalities true, and also to keep x > 0 and y > 0 \n" ); document.write( "It makes no sense to have x or y be negative. \n" ); document.write( "Take note that the green shaded region is below the boundary x+y = 9, and above the boundary 5x+4y = 40, and also above the x axis.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "When it comes to finding the min cost, we'll be looking at the vertices. This is standard for linear programming problems.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The shaded triangle has vertices of: \n" ); document.write( "(4,5) \n" ); document.write( "(8,0) \n" ); document.write( "(9,0)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Plug each of those x,y coordinates into the cost function \n" ); document.write( "C(x,y) = 800x + 600y\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Plug in (x,y) = (4,5) \n" ); document.write( "C(x,y) = 800x + 600y \n" ); document.write( "C(4,5) = 800*4 + 600*5 \n" ); document.write( "C(4,5) = 3200 + 3000 \n" ); document.write( "C(4,5) = 6200\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Repeat for (x,y) = (8,0) \n" ); document.write( "C(x,y) = 800x + 600y \n" ); document.write( "C(8,0) = 800*8 + 600*0 \n" ); document.write( "C(8,0) = 6400 + 0 \n" ); document.write( "C(8,0) = 6400\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "And lastly do so for (x,y) = (9,0) \n" ); document.write( "C(x,y) = 800x + 600y \n" ); document.write( "C(9,0) = 800*9 + 600*0 \n" ); document.write( "C(9,0) = 7200 + 0 \n" ); document.write( "C(9,0) = 7200\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The cost outputs were: 6200, 6400, and 7200 \n" ); document.write( "The smallest of which is 6200 and this corresponds to when (x,y) = (4,5)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Answer: They should use 4 buses of type A (the 50 seater buses) and 5 buses of type B (the 40 seater buses) to achieve the lowest cost of $6200 \n" ); document.write( " \n" ); document.write( " |