Internal
problem
ID
[22031]
Book
:
Differential
Equations
By
Kaj
L.
Nielsen.
Second
edition
1966.
Barnes
and
nobel.
66-28306
Section
:
Chapter
XV.
The
Laplace
Transform.
Ex.
XXIII
at
page
251
Problem
number
:
4
(g)
Date
solved
:
Thursday, October 02, 2025 at 08:21:49 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
ode:=diff(diff(y(t),t),t)+9*y(t) = 5*cos(2*t); ic:=[y(0) = 2, D(y)(0) = 3]; dsolve([ode,op(ic)],y(t),method='laplace');
ode=D[y[t],{t,2}]+9*y[t]==5*Cos[2*t]; ic={y[0]==2,Derivative[1][y][0] ==3}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(9*y(t) - 5*cos(2*t) + Derivative(y(t), (t, 2)),0) ics = {y(0): 2, Subs(Derivative(y(t), t), t, 0): 3} dsolve(ode,func=y(t),ics=ics)