Internal
problem
ID
[22036]
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
(L)
Date
solved
:
Thursday, October 02, 2025 at 08:21:52 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
ode:=diff(diff(y(t),t),t)+4*y(t) = t*sin(t); ic:=[y(0) = 7/9, D(y)(0) = -5/2]; dsolve([ode,op(ic)],y(t),method='laplace');
ode=D[y[t],{t,2}]+4*y[t]==t*Sin[t]; ic={y[0]==7/9,Derivative[1][y][0] ==-5/2}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-t*sin(t) + 4*y(t) + Derivative(y(t), (t, 2)),0) ics = {y(0): 7/9, Subs(Derivative(y(t), t), t, 0): -5/2} dsolve(ode,func=y(t),ics=ics)