Internal
problem
ID
[4529]
Book
:
Differential
equations
for
engineers
by
Wei-Chau
XIE,
Cambridge
Press
2010
Section
:
Chapter
6.
The
Laplace
Transform
and
Its
Applications.
Problems
at
page
291
Problem
number
:
6.51
Date
solved
:
Tuesday, March 04, 2025 at 06:51:10 PM
CAS
classification
:
[[_3rd_order, _with_linear_symmetries]]
Using Laplace method With initial conditions
ode:=diff(diff(diff(y(t),t),t),t)-diff(diff(y(t),t),t)+4*diff(y(t),t)-4*y(t) = 10*exp(-t); ic:=y(0) = 5, D(y)(0) = -2, (D@@2)(y)(0) = 0; dsolve([ode,ic],y(t),method='laplace');
ode=D[y[t],{t,3}]-D[y[t],{t,2}]+4*D[y[t],t]-4*y[t]==10*Exp[-t]; ic={y[0]==5,Derivative[1][y][0] == -2,Derivative[2][y][0] == 0}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-4*y(t) + 4*Derivative(y(t), t) - Derivative(y(t), (t, 2)) + Derivative(y(t), (t, 3)) - 10*exp(-t),0) ics = {y(0): 5, Subs(Derivative(y(t), t), t, 0): -2, Subs(Derivative(y(t), (t, 2)), t, 0): 0} dsolve(ode,func=y(t),ics=ics)