document.write( "Question 1087081: A cookie company charges $1.50 per cookie, plus a delivery fee of $1.\r
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( "Write a function that represents the total price P (in dollars) as a function of c (number of cookies).\r
\n" );
document.write( "\n" );
document.write( "P(c)= \r
\n" );
document.write( "\n" );
document.write( "What is the total cost to purchase 2 cookies and have them delivered?\r
\n" );
document.write( "\n" );
document.write( "P(2)=\r
\n" );
document.write( "\n" );
document.write( "If I have $35, how many cookies can I have delivered?\r
\n" );
document.write( "\n" );
document.write( "c= \n" );
document.write( "
Algebra.Com's Answer #701363 by jim_thompson5910(35256)![]() ![]() ![]() You can put this solution on YOUR website! I'll write the answers first and explain how I got each answer. \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The function is P(c) = 1.50*c + 1\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "When we plug c = 2 into the function we get P(2) = 4 meaning that it costs $4 to deliver 2 cookies\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "If you have $35, then you can have c = 22 cookies delivered\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "---------------------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We're told that it costs $1.50 per cookie and there's a flat fee of $1. This means that no matter how many cookies you order, you pay at least $1. If you order c cookies, then it costs 1.50*c dollars on top of the $1 paid in the flat fee. So that's why the first answer is P(c) = 1.50*c + 1\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Once we have the function P(c) = 1.50*c + 1, we replace every copy of c with 2. \n" ); document.write( "Then we use PEMDAS to evaluate \n" ); document.write( "P(c) = 1.50*c + 1 \n" ); document.write( "P(2) = 1.50*2 + 1 \n" ); document.write( "P(2) = 3 + 1 \n" ); document.write( "P(2) = 4 \n" ); document.write( "So it costs $4 to deliver 2 cookies\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The last part is where we take things in reverse. Instead of plugging in some number for c, we replace P(c) with a known cost and we solve for c itself. In this case, P(c) = 35 is the cost or budget we set aside. \n" ); document.write( "So we go from \n" ); document.write( "P(c) = 1.50*c + 1 \n" ); document.write( "to \n" ); document.write( "35 = 1.50*c + 1 \n" ); document.write( "Solve for c to get... \n" ); document.write( "35 = 1.50*c + 1 \n" ); document.write( "35-1 = 1.50*c + 1 - 1 \n" ); document.write( "34 = 1.50*c \n" ); document.write( "1.50*c = 34 \n" ); document.write( "1.50*c/1.50 = 34/1.50 \n" ); document.write( "c = 22.6666666666667 \n" ); document.write( "Rounding down (not up) to the nearest whole number and we get c = 22. So we can afford to get 22 cookies if the budget is $35. Why do we round down? Because rounding up leads to P(c) being too costly and we go over budget. Look at how \n" ); document.write( "P(c) = 1.50*c + 1 \n" ); document.write( "P(22) = 1.50*22 + 1 \n" ); document.write( "P(22) = 34 \n" ); document.write( "and we stay under budget but plugging in c = 23 leads to \n" ); document.write( "P(c) = 1.50*c + 1 \n" ); document.write( "P(23) = 1.50*23 + 1 \n" ); document.write( "P(23) = 35.50 \n" ); document.write( "and we're 50 cents over budget. So c = 23 is too much. The highest amount we can order is c = 22. \n" ); document.write( " |