Internal
problem
ID
[12888]
Book
:
An
elementary
treatise
on
differential
equations
by
Abraham
Cohen.
DC
heath
publishers.
1906
Section
:
Chapter
VII,
Linear
differential
equations
with
constant
coefficients.
Article
52.
Summary.
Page
117
Problem
number
:
Ex
9
Date
solved
:
Monday, March 31, 2025 at 07:23:39 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)+4*y(x) = sin(x)^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]+4*y[x]==Sin[x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(4*y(x) - sin(x)**2 + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)