Internal
problem
ID
[3489]
Book
:
Mathematical
methods
for
physics
and
engineering,
Riley,
Hobson,
Bence,
second
edition,
2002
Section
:
Chapter
15,
Higher
order
ordinary
differential
equations.
15.4
Exercises,
page
523
Problem
number
:
Problem
15.5(b)
Date
solved
:
Tuesday, September 30, 2025 at 06:40:42 AM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
With initial conditions
ode:=diff(diff(f(t),t),t)+8*diff(f(t),t)+12*f(t) = 12*exp(-4*t); ic:=[f(0) = 0, D(f)(0) = -2]; dsolve([ode,op(ic)],f(t), singsol=all);
ode=D[ f[t],{t,2}]+8*D[ f[t],t]+12*f[t]==12*Exp[-4*t]; ic={f[0]==0,Derivative[1][f][0]==-2}; DSolve[{ode,ic},f[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") f = Function("f") ode = Eq(12*f(t) + 8*Derivative(f(t), t) + Derivative(f(t), (t, 2)) - 12*exp(-4*t),0) ics = {f(0): 0, Subs(Derivative(f(t), t), t, 0): -2} dsolve(ode,func=f(t),ics=ics)