Internal
problem
ID
[554]
Book
:
Elementary
Differential
Equations.
By
C.
Henry
Edwards,
David
E.
Penney
and
David
Calvis.
6th
edition.
2008
Section
:
Chapter
4.
Laplace
transform
methods.
Section
4.3
(Translation
and
partial
fractions).
Problems
at
page
296
Problem
number
:
40
Date
solved
:
Tuesday, March 04, 2025 at 11:26:36 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
ode:=diff(diff(x(t),t),t)+2/5*diff(x(t),t)+226/25*x(t) = 6*exp(-1/5*t)*cos(3*t); ic:=x(0) = 0, D(x)(0) = 0; dsolve([ode,ic],x(t),method='laplace');
ode=D[x[t],{t,2}]+4/10*D[x[t],t]+904/100*x[t]==6*Exp[-t/5]*Cos[3*t]; ic={x[0]==0,Derivative[1][x][0] ==0}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(226*x(t)/25 + 2*Derivative(x(t), t)/5 + Derivative(x(t), (t, 2)) - 6*exp(-t/5)*cos(3*t),0) ics = {x(0): 0, Subs(Derivative(x(t), t), t, 0): 0} dsolve(ode,func=x(t),ics=ics)