Enrique A. answered 06/05/19
Computer Science PhD student with 10 years of teaching experience
A) Geometrically, you can think of the data given as two points: (150, 25) and (350, 45). The problem then reduces to finding the line between these points. Let this line be y = mx + b. Plug one of the points to get, 25 = 150m + b, and solve for b to get b = 25 - 150m. Plug the other point to get, 45 = 350m +b, use the value of b now, 45 = 350m + 25 - 150m = 25 + 200 m. You can solve for m now to get, m = (45 - 25) / 200 = 20 / 200 = 1/10.
Thus, we have found that our like looks like y = x / 10 + b. But, we know b = 25 - 150 m = 25 - 150 / 10 = 25 - 15 = 10. The line is thus, y = x / 10 + 10.
B) If the production cost is $61, then the number of cup of coffee is the value of x associated with y = 61. We use the equation of the line to get 61 = x / 10 + 10 => 61 - 10 = x / 10 => 51 * 10 = x => x = 510. So, the number of cups of coffee is 510.