Please submit solutions to the following via moodle by 23:59 on Wednesday 7th December. Each question is worth [2] marks. For Q3.4-Q3.5, please see Week08Looping.pdf.
Q3.1Length of catenary. Let be the curve for which is a catenary. The length of is given by which of the following?
(A) . (B) (C)
(D) . (E)
Q3.2Tangents. Let be the curve that is given implicitly by the equation
Which of the following statements about the tangent line to at is true?
(A) The equation of the tangent line to at is .
(B) The tangent line crosses the -axis at .
(C) The tangent line passes through the point .
(D) The point is not on , so there is no tangent to at .
(E) The normal line to at has gradient .
Q3.3Stationary points. How many stationary points does the function have?
None.
1.
2.
3.
Infinitely many.
Q3.4Recursion.Construct a for loop that performs the following recursion:
Correct to 2 decimal places, what is when the initial value is ?
Q3.5Nested For Loops. Suppose I have the following numbers of coins of different denominations:
Coin | 2p | 5p | 10p | 20p | 50p |
---|---|---|---|---|---|
Frequency | 15 | 5 | 7 | 5 | 2 |
What is the number of distinct ways in which I could make exactly £1 from subsets of those coins?
[For instance ( 2p, 5p and 20p) would be one possible way.]
52
72
82
92
102