NivaarExam PrepOfficial exam papers ↗

04-BS-1 · May 2014

Question 8 of 8: Damped Mass-Spring System Driven by a Square Pulse (Laplace Transform)

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

National Exams — May 2014 — 04-BS-1 Mathematics. Three-hour, closed-book exam (one double-sided aid sheet permitted, approved calculator allowed). Format: eight questions offered; any five constitute a complete paper and only the first five appearing in the answer book are marked. All eight are solved below for completeness.

Reference texts: Kreyszig, Advanced Engineering Mathematics (10th ed., Wiley) — ODEs, Laplace transforms/unit-step forcing, surface/flux integrals, Stokes' theorem; Stewart, Calculus: Early Transcendentals (9th ed., Cengage) — Lagrange multipliers, planes/tangent lines in space, volumes of revolution; Strang, Introduction to Linear Algebra (6th ed.) — eigenvalues/eigenvectors and linear systems of ODEs.

Question 8: Damped Mass-Spring System Driven by a Square Pulse (Laplace Transform) (20 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given. Overdamped mass-spring system $y''+3y'+2y=r(t)$, zero ICs, forced by a unit square pulse active on $[1,2)$: $r(t)=u(t-1)-u(t-2)$ in terms of the Heaviside step $u$.

Find. $y(t)$ for all $t\ge0$.

Approach. Use the Laplace transform. First find the system's unit-step response $h(t)$ (the solution to $y''+3y'+2y=u(t)$ with zero ICs) by inverting $\mathcal L\{h\}=\dfrac{1}{s(s+1)(s+2)}$ via partial fractions. Then, since $r(t)=u(t-1)-u(t-2)$ and the ICs are zero, the second shifting theorem gives $y(t)=h(t-1)u(t-1)-h(t-2)u(t-2)$ directly, with no new inverse transform needed.

  1. Transform the ODE. With zero ICs, $\mathcal L\{y''+3y'+2y\}=(s^2+3s+2)Y(s)=(s+1)(s+2)Y(s)$, and $\mathcal L\{r(t)\}=\dfrac{e^{-s}-e^{-2s}}{s}$, so $$Y(s)=\frac{e^{-s}-e^{-2s}}{s(s+1)(s+2)}.$$
  2. Partial fractions of the transfer function. $$\frac{1}{s(s+1)(s+2)}=\frac{A}{s}+\frac{B}{s+1}+\frac{C}{s+2},\qquad A=\tfrac12,\ B=-1,\ C=\tfrac12$$ (found by clearing denominators and evaluating at $s=0,-1,-2$).
  3. Invert to get the unit-step response $h(t)$. $$h(t)=\tfrac12-e^{-t}+\tfrac12e^{-2t},\qquad t\ge0$$ (check: $h(0)=\tfrac12-1+\tfrac12=0$ and $h'(0)=e^{-t}-e^{-2t}\big|_{t=0}=0$, matching the zero ICs).
  4. Apply the second shifting theorem. Since $Y(s)=(e^{-s}-e^{-2s})\cdot\mathcal L\{h\}(s)$, each exponential factor delays and gates $h$: $$y(t)=h(t-1)\,u(t-1)-h(t-2)\,u(t-2).$$ Written piecewise: $$y(t)=\begin{cases}0,&t<1,\\[4pt] \tfrac12-e^{-(t-1)}+\tfrac12e^{-2(t-1)},&1\le t<2,\\[4pt] \big[\tfrac12-e^{-(t-1)}+\tfrac12e^{-2(t-1)}\big]-\big[\tfrac12-e^{-(t-2)}+\tfrac12e^{-2(t-2)}\big],&t\ge2.\end{cases}$$

$$\boxed{y(t)=h(t-1)u(t-1)-h(t-2)u(t-2)},\quad h(\tau)=\tfrac12-e^{-\tau}+\tfrac12e^{-2\tau}$$

QuantityResult
Unit-step response $h(t)$$\tfrac12-e^{-t}+\tfrac12e^{-2t}$
$y(t)$, $t<1$$0$
$y(t)$, $1\le t<2$$h(t-1)$
$y(t)$, $t\ge2$$h(t-1)-h(t-2)$
Sample value $y(1.5)$$\approx0.0774$
Sample value $y(2.5)$$\approx0.2244$ (peak region)
Back to the paper →