Internal
problem
ID
[19020]
Book
:
Differential
equations.
An
introduction
to
modern
methods
and
applications.
James
Brannan,
William
E.
Boyce.
Third
edition.
Wiley
2015
Section
:
Chapter
5.
The
Laplace
transform.
Section
5.4
(Solving
differential
equations
with
Laplace
transform).
Problems
at
page
327
Problem
number
:
10
Date
solved
:
Thursday, October 02, 2025 at 03:37:01 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) = 18*exp(-t); ic:=[y(0) = 7, D(y)(0) = -2]; dsolve([ode,op(ic)],y(t),method='laplace');
ode=D[y[t],{t,2}]+2*D[y[t],t]+y[t]==18*Exp[-t]; ic={y[0]==7,Derivative[1][y][0] == -2}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(y(t) + 2*Derivative(y(t), t) + Derivative(y(t), (t, 2)) - 18*exp(-t),0) ics = {y(0): 7, Subs(Derivative(y(t), t), t, 0): -2} dsolve(ode,func=y(t),ics=ics)