Internal
problem
ID
[6737]
Book
:
Schaums
Outline.
Theory
and
problems
of
Differential
Equations,
1st
edition.
Frank
Ayres.
McGraw
Hill
1952
Section
:
Chapter
16.
Linear
equations
with
constant
coefficients
(Short
methods).
Supplemetary
problems.
Page
107
Problem
number
:
28
Date
solved
:
Sunday, March 30, 2025 at 11:21:02 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)-4*diff(y(x),x)+4*y(x) = exp(x)+x*exp(2*x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]-4*D[y[x],x]+4*y[x]==Exp[x]+x*Exp[2*x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*exp(2*x) + 4*y(x) - exp(x) - 4*Derivative(y(x), x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)