Internal
problem
ID
[22251]
Book
:
Schaums
outline
series.
Differential
Equations
By
Richard
Bronson.
1973.
McGraw-Hill
Inc.
ISBN
0-07-008009-7
Section
:
Chapter
14.
The
method
of
undetermined
coefficients.
Solved
problems.
Page
71
Problem
number
:
14.7
Date
solved
:
Thursday, October 02, 2025 at 08:36:37 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(-(x - 1)*sin(x) - (x + 1)*cos(x) - 5*y(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)