6 Phil is to buy some squash balls for his club. There are three different types of ball that he can buy: slow, medium and fast.
He must buy at least 190 slow balls, at least 50 medium balls and at least 50 fast balls.
He must buy at least 300 balls in total.
Each slow ball costs \(\pounds 2.50\), each medium ball costs \(\pounds 2.00\) and each fast ball costs \(\pounds 2.00\).
He must spend no more than \(\pounds 1000\) in total.
At least \(60 \%\) of the balls that he buys must be slow balls.
Phil buys \(x\) slow balls, \(y\) medium balls and \(z\) fast balls.
- Find six inequalities that model Phil's situation.
- Phil decides to buy the same number of medium balls as fast balls.
- Show that the inequalities found in part (a) simplify to give
$$x \geqslant 190 , y \geqslant 50 , x + 2 y \geqslant 300,5 x + 8 y \leqslant 2000 , y \leqslant \frac { 1 } { 3 } x$$
- Phil sells all the balls that he buys to members of the club. He sells each slow ball for \(\pounds 3.00\), each medium ball for \(\pounds 2.25\) and each fast ball for \(\pounds 2.25\). He wishes to maximise his profit.
On Figure 1 on page 14, draw a diagram to enable this problem to be solved graphically, indicating the feasible region and the direction of an objective line.
(7 marks) - Find Phil's maximum possible profit and state the number of each type of ball that he must buy to obtain this maximum profit.
\includegraphics[max width=\textwidth, alt={}]{fe9c0da0-40e3-4a87-ae9a-13ec0740ffff-13_2484_1709_223_153}
\includegraphics[max width=\textwidth, alt={}, center]{fe9c0da0-40e3-4a87-ae9a-13ec0740ffff-15_2484_1709_223_153}
\(7 \quad\) A student is testing a numerical method for finding an approximation for \(\pi\).
The algorithm that the student is using is as follows.
Line 10 Input \(A , B , C , D , E\)
Line 20 Let \(A = A + 2\)
Line 30 Let \(B = - B\)
Line \(40 \quad\) Let \(C = \frac { B } { A }\)
Line 50 Let \(D = D + C\)
Line \(60 \quad\) Let \(E = ( D - 3.14 ) ^ { 2 }\)
Line 70 If \(E < 0.05\) then go to Line 90
Line 80 Go to Line 20
Line 90 Print ' \(\pi\) is approximately', \(D\)
Line 100 End
Trace the algorithm in the case where the input values are
$$A = 1 , B = 4 , C = 0 , D = 4 , E = 0$$
(6 marks)
\includegraphics[max width=\textwidth, alt={}]{fe9c0da0-40e3-4a87-ae9a-13ec0740ffff-17_2484_1707_223_155}