document.write( "Question 1196258: The manager of a restaurant found that the cost to produce 50 cups of coffee is
\n" ); document.write( " $ 9.00​, while the cost to produce 350 cups is ​$39.00. Assume the relationship between the cost y to produce x cups of coffee is linear.\r
\n" ); document.write( "\n" ); document.write( "a. Write a linear equation that expresses the​ cost, y, in terms of the number of cups of​ coffee, x.\r
\n" ); document.write( "\n" ); document.write( "b.  How many cups of coffee are produced if the cost of production is ​$
\n" ); document.write( "

Algebra.Com's Answer #829005 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "x = number of cups of coffee
\n" ); document.write( "y = total cost in dollars\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "50 cups cost $9, meaning: x = 50 and y = 9
\n" ); document.write( "I.e. the point (x,y) = (50, 9) is on the line\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Another point is (350, 39) since 350 cups cost $39 to produce.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let's find the slope of the line through (50,9) and (350,39)
\n" ); document.write( "(x1,y1) = (50,9) and (x2,y2) = (350,39)
\n" ); document.write( "m = (y2 - y1)/(x2 - x1)
\n" ); document.write( "m = (39 - 9)/(350 - 50)
\n" ); document.write( "m = 30/300
\n" ); document.write( "m = 1/10
\n" ); document.write( "m = 0.10\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The slope of 0.10 means that each time x goes up by 1, y increases by 0.10
\n" ); document.write( "Each new cup of coffee costs $0.10, i.e. 10 cents\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now apply point slope form.
\n" ); document.write( "y - y1 = m(x - x1)
\n" ); document.write( "y - 9 = 0.10(x - 50)
\n" ); document.write( "y - 9 = 0.10x - 0.10*50
\n" ); document.write( "y - 9 = 0.10x - 5
\n" ); document.write( "y = 0.10x - 5+9
\n" ); document.write( "y = 0.10x + 4\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The equation is in y = mx+b form
\n" ); document.write( "m = 0.10 = slope
\n" ); document.write( "b = 4 = y intercept\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The slope tells us how much each extra cup costs
\n" ); document.write( "The y intercept is the starting cost. If zero cups are produced, there is still a fixed fee of $4 to set everything up. Think of it like a fee to get in the door.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "All of the work/steps shown above apply to part (a) only.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "----------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Part (b) cannot be answered since the cost of production has been cut off.
\n" ); document.write( "You'll need to revise your post to include this value.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I'll go over a hypothetical example
\n" ); document.write( "Let's say the cost of production is $100\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This means we plug in y = 100 and solve for x.
\n" ); document.write( "y = 0.10x + 4
\n" ); document.write( "0.10x + 4 = y
\n" ); document.write( "0.10x + 4 = 100
\n" ); document.write( "0.10x = 100-4
\n" ); document.write( "0.10x = 96
\n" ); document.write( "x = 96/(0.10)
\n" ); document.write( "x = 960
\n" ); document.write( "Therefore, a production cost of $100 means that 960 cups were produced.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Once again, this is a hypothetical example. Follow steps similar to this with the actual cost your teacher gave you.
\n" ); document.write( "
\n" ); document.write( "
\n" );