Internal
problem
ID
[4457]
Book
:
Differential
equations
for
engineers
by
Wei-Chau
XIE,
Cambridge
Press
2010
Section
:
Chapter
4.
Linear
Differential
Equations.
Page
183
Problem
number
:
14
Date
solved
:
Sunday, March 30, 2025 at 03:23:03 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)-8*diff(y(x),x)+17*y(x) = exp(4*x)*(x^2-3*sin(x)*x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]-8*D[y[x],x]+17*y[x]==Exp[4*x]*(x^2-3*x*Sin[x]); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((-x**2 + 3*x*sin(x))*exp(4*x) + 17*y(x) - 8*Derivative(y(x), x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)