Internal
problem
ID
[13062]
Book
:
A
First
Course
in
Differential
Equations
by
J.
David
Logan.
Third
Edition.
Springer-Verlag,
NY.
2015.
Section
:
Chapter
2,
Second
order
linear
equations.
Section
2.3.1
Nonhomogeneous
Equations:
Undetermined
Coefficients.
Exercises
page
110
Problem
number
:
2(b)
Date
solved
:
Wednesday, March 05, 2025 at 09:11:44 PM
CAS
classification
:
[[_2nd_order, _missing_y]]
ode:=diff(diff(x(t),t),t)-diff(x(t),t) = 6+exp(2*t); dsolve(ode,x(t), singsol=all);
ode=D[x[t],{t,2}]-D[x[t],t]==6+Exp[2*t]; ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(-exp(2*t) - Derivative(x(t), t) + Derivative(x(t), (t, 2)) - 6,0) ics = {} dsolve(ode,func=x(t),ics=ics)