Internal
problem
ID
[9462]
Book
:
Differential
Equations:
Theory,
Technique,
and
Practice
by
George
Simmons,
Steven
Krantz.
McGraw-Hill
NY.
2007.
1st
Edition.
Section
:
Chapter
7.
Laplace
Transforms.
Section
7.5
Problesm
for
review
and
discovery.
Section
A,
Drill
exercises.
Page
309
Problem
number
:
3(d)
Date
solved
:
Tuesday, September 30, 2025 at 06:19:04 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
Using Laplace method With initial conditions
ode:=diff(diff(y(t),t),t)-diff(y(t),t)+y(t) = 3*exp(-t); ic:=[y(0) = 3, D(y)(0) = 2]; dsolve([ode,op(ic)],y(t),method='laplace');
ode=D[y[t],{t,2}]-D[y[t],t]+y[t]==3*Exp[-t]; ic={y[0]==3,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) - Derivative(y(t), t) + Derivative(y(t), (t, 2)) - 3*exp(-t),0) ics = {y(0): 3, Subs(Derivative(y(t), t), t, 0): 2} dsolve(ode,func=y(t),ics=ics)