Internal
problem
ID
[13698]
Book
:
AN
INTRODUCTION
TO
ORDINARY
DIFFERENTIAL
EQUATIONS
by
JAMES
C.
ROBINSON.
Cambridge
University
Press
2004
Section
:
Chapter
14,
Inhomogeneous
second
order
linear
equations.
Exercises
page
140
Problem
number
:
14.3
Date
solved
:
Wednesday, March 05, 2025 at 10:13:06 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(x(t),t),t)+4*x(t) = 289*t*exp(t)*sin(2*t); dsolve(ode,x(t), singsol=all);
ode=D[x[t],{t,2}]+4*x[t]==289*t*Exp[t]*Sin[2*t]; ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(-289*t*exp(t)*sin(2*t) + 4*x(t) + Derivative(x(t), (t, 2)),0) ics = {} dsolve(ode,func=x(t),ics=ics)