Home page for accesible maths 8 Homework and quiz exercises

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

8.6 Quiz 3

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 CC be the curve y=coshxy=\cosh x for -a<x<a,-a<x<a, which is a catenary. The length LL of CC is given by which of the following?

(A) L=12sinh2a+aL={{1}\over{2}}\sinh 2a+a. \;\;\;\; (B) L=14sinh2a+a2.L={{1}\over{4}}\sinh 2a+{{a}\over{2}}. \;\;\;\; (C) L=cosha.L=\cosh a.

(D) L=2sinhaL=2\sinh a.\;\;\;\;     (E) L=-aa1+sin2xdx.L=\int_{-a}^{a}\sqrt{1+\sin^{2}x}\,dx.

Q3.2Tangents. Let CC be the curve that is given implicitly by the equation

2(x+y)2=x2(x+1).2(x+y)^{2}=x^{2}(x+1).

Which of the following statements about the tangent line to CC at P=(1,-2)P=(1,-2) is true?

(A) The equation of the tangent line to CC at PP is y=-94xy=-\frac{9}{4}x.

(B) The tangent line crosses the xx-axis at (19,0)(\frac{1}{9},0).

(C) The tangent line passes through the point (-1,1)(-1,1).

(D) The point (1,-2)(1,-2) is not on CC, so there is no tangent to CC at PP.

(E) The normal line to CC at PP has gradient -9-{9}.

Q3.3Stationary points. How many stationary points does the function f(x,y)=x33-xy2+2y55f(x,y)=\frac{x^{3}}{3}-xy^{2}+\frac{2y^{5}}{5} have?

  1. (A)

    None.

  2. (B)

    1.

  3. (C)

    2.

  4. (D)

    3.

  5. (E)

    Infinitely many.

Q3.4Recursion.Construct a for loop that performs the following recursion:

xn\displaystyle x_{n} =\displaystyle= (n-12)×xn-1\displaystyle\left(n-\frac{1}{2}\right)\times x_{n-1}

Correct to 2 decimal places, what is x7{\color{blue}\colorlet{pgfstrokecolor}{.}x_{7}} when the initial value is x0=π{\color{blue}\colorlet{pgfstrokecolor}{.}x_{0}=\sqrt{\pi}}?

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 (5×5\times 2p, 2×2\times 5p and 4×4\times 20p) would be one possible way.]

  1. (A)

    52

  2. (B)

    72

  3. (C)

    82

  4. (D)

    92

  5. (E)

    102