Internal
problem
ID
[20469]
Book
:
A
Text
book
for
differentional
equations
for
postgraduate
students
by
Ray
and
Chaturvedi.
First
edition,
1958.
BHASKAR
press.
INDIA
Section
:
Chapter
III.
Ordinary
linear
differential
equations
with
constant
coefficients.
Exercise
III
(F)
at
page
42
Problem
number
:
5
Date
solved
:
Thursday, October 02, 2025 at 06:03:11 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)-4*y(x) = 2*sin(1/2*x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]-4*y[x]==2*Sin[1/2*x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-4*y(x) - 2*sin(x/2) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)