Internal
problem
ID
[8977]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
5.0
Problem
number
:
16
Date
solved
:
Wednesday, March 05, 2025 at 07:13:33 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)+2*diff(y(x),x)-24*y(x) = 16-(x+2)*exp(4*x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]+2*D[y[x],x]-24*y[x]==16-(x+2)*Exp[4*x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((x + 2)*exp(4*x) - 24*y(x) + 2*Derivative(y(x), x) + Derivative(y(x), (x, 2)) - 16,0) ics = {} dsolve(ode,func=y(x),ics=ics)