Tutorial Week 10

From UBCMATH WIKI
Revision as of 17:11, 23 March 2017 by Cytryn (Talk | contribs)

Jump to: navigation, search

Worksheet Questions

  1. A undamped mass-spring system with mass 1 kg and spring constant 16 kg/s$^2$, is initially at rest. At $t=3$, a linearly increasing force is applied until the force reaches $F_0 = 10$ N at $t=8$. After that moment, the force remains constant at that level ($F_0$).
    1. Write down the forcing function for this scenario in terms of Heaviside functions.
    2. Write down the ODE for this mass-spring system subject to the given forcing function.
    3. What is the transfer function ($H(s)$) and the impulse response ($h(t)$) for this ODE?
    4. Use the impulse response and convolution to solve the ODE from part (b).
  2. Consider the following differential equation:$$ y''+\omega^2 y=\frac{2}{\pi}\cos(t)$$ where $\omega=2.01$.
    1. Find a particular solution $y_p(t)$ using the method of undetermined coefficients.
    2. Now consider the equation $$ y''+\omega^2 y=\sum_{n=1}^{10}\frac{2}{n\pi}\cos(nt).$$ Use your solution in (a), and again the method of undetermined coefficients, to determine a particular solution $y_p(t)$.
    3. Describe how the magnitude of the coefficients in your particular solution varies with n.

Solutions

    1. $f(t)= 2 u_3(t) (t-3) - 2u_8(t)(t-8)$ (2 marks -1 if there is a small error)
    2. $x''+16x=f(t)$ (1 mark)
    3. $H(s) = \frac{1}{s^2+16}$ (2 marks) $h(t)=\frac{1}{4} \sin(4t)$ (2 marks -1 if they did not include the coefficient)
    4. For $t<3$:
      $x(t)=0\text{ (1 mark)}$.
      For $3<t<8$:
      $x(t) = \int_0^t f(w)h(t-w) \ dw =\frac{1}{2} \int_3^t (w-3) \sin(4(t-w)) \ dw.\text{ (1 mark)}$
      For $t>8$:
      $x(t) =\frac{1}{2} \int_3^8 (w-3) \sin(4(t-w)) \ dw + \frac{1}{2} \int_8^t 5\sin(4(t-w)) \ dw.\text{ (2 marks)}$
    1. $\displaystyle y_p=\frac{2}{\pi(\omega^2-1)}\cos (t)$ (1 mark)
    2. $y_p=\sum_{n=1}^{10}a_n \cos (nt)$ where $\displaystyle a_n=\frac{2}{n\pi (\omega^2-n^2)}$ (2 marks: 1 for the correct coefficient and 1 for writing the sum correctly)
    3. The magnitude of the coefficients decreases as the distance between $n$ and $\omega$ increases. (1 mark)