Internal
problem
ID
[2673]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
2.
Second
order
differential
equations.
Section
2.9,
The
method
of
Laplace
transform.
Excercises
page
232
Problem
number
:
17
Date
solved
:
Tuesday, March 04, 2025 at 02:33:53 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) = exp(-t); ic:=y(0) = 1, D(y)(0) = 3; dsolve([ode,ic],y(t),method='laplace');
ode=D[y[t],{t,2}]+2*D[y[t],t]+y[t]==Exp[-t]; ic={y[0]==1,Derivative[1][y][0] ==3}; 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)) - exp(-t),0) ics = {y(0): 1, Subs(Derivative(y(t), t), t, 0): 3} dsolve(ode,func=y(t),ics=ics)