Internal
problem
ID
[22928]
Book
:
Applied
Differential
Equations.
By
Murray
R.
Spiegel.
3rd
edition.
1980.
Pearson.
ISBN
978-0130400970
Section
:
Chapter
6.
Solution
of
linear
differential
equations
by
Laplace
transform.
A
Exercises
at
page
283
Problem
number
:
5
(d)
Date
solved
:
Thursday, October 02, 2025 at 09:16:42 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
Using Laplace method With initial conditions
ode:=diff(diff(y(t),t),t)-2*diff(y(t),t)+y(t) = 12*t; ic:=[y(0) = 4, D(y)(0) = 1]; dsolve([ode,op(ic)],y(t),method='laplace');
ode=D[y[t],{t,2}]-2*D[y[t],t]+y[t]==12*t; ic={y[0]==4,Derivative[1][y][0] ==1}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-12*t + y(t) - 2*Derivative(y(t), t) + Derivative(y(t), (t, 2)),0) ics = {y(0): 4, Subs(Derivative(y(t), t), t, 0): 1} dsolve(ode,func=y(t),ics=ics)