Internal
problem
ID
[18818]
Book
:
Introductory
Course
On
Differential
Equations
by
Daniel
A
Murray.
Longmans
Green
and
Co.
NY.
1924
Section
:
Chapter
VI.
Linear
equations
with
constant
coefficients.
Examples
on
chapter
VI,
page
80
Problem
number
:
Ex.
4
Date
solved
:
Thursday, March 13, 2025 at 12:59:53 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)+4*y(x) = sin(3*x)+exp(x)+x^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]+4*y[x]==Sin[3*x]+Exp[x]+x^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2 + 4*y(x) - exp(x) - sin(3*x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)