Internal
problem
ID
[17083]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
1.
Introduction
to
Differential
Equations.
Exercises
1.1,
page
10
Problem
number
:
23
Date
solved
:
Thursday, October 02, 2025 at 01:42:49 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(x(t),t),t)+x(t) = t*cos(t)-cos(t); dsolve(ode,x(t), singsol=all);
ode=D[x[t],{t,2}]+x[t]==t*Cos[t]-Cos[t]; ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(-t*cos(t) + x(t) + cos(t) + Derivative(x(t), (t, 2)),0) ics = {} dsolve(ode,func=x(t),ics=ics)