Final Answer:
a) The solution to the given initial value problem is y(t) =
, where u(t) is the Heaviside function that switches from 0 to 1 at t=π.
b) Graphing the solution y(t) =
on a graphing utility will display the behavior of the function over time.
Step-by-step explanation:
a) The given differential equation represents a forced harmonic oscillator with a Dirac delta function δ(t-π) as the forcing term. To solve it, first, the complementary function (homogeneous solution) is found by solving the characteristic equation:
, which yields
The complementary solution is of the form
To find the particular solution for the Dirac delta function, consider a sinusoidal function shifted by π starting from t=π. This gives the particular solution
Applying initial conditions y(0)=1 and y'(0)=0, we find the constants to get the solution:

b) Graphing the function y(t) =
will show a sinusoidal wave that starts at t=0 with an amplitude decayed by the exponential factor
and is shifted by π for
due to the Heaviside function. The graph will display a continuous waveform that abruptly shifts phase at t=π due to the sudden change enforced by the Heaviside function, creating a smooth transition in the waveform's behavior. This behavior can be observed and visualized accurately using graphing software or calculators.