Internal
problem
ID
[7802]
Book
:
Schaums
Outline
Differential
Equations,
4th
edition.
Bronson
and
Costa.
McGraw
Hill
2014
Section
:
Chapter
11.
THE
METHOD
OF
UNDETERMINED
COEFFICIENTS.
page
95
Problem
number
:
Problem
11.12
Date
solved
:
Tuesday, September 30, 2025 at 05:05:38 PM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(x),x)-5*y(x) = (x-1)*sin(x)+(1+x)*cos(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]-5*y[x]==(x-1)*Sin[x]+(x+1)*Cos[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((1 - x)*sin(x) - (x + 1)*cos(x) - 5*y(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)