Internal
problem
ID
[18817]
Book
:
Introductory
Course
On
Differential
Equations
by
Daniel
A
Murray.
Longmans
Green
and
Co.
NY.
1924
Section
:
Chapter
VI.
Linear
equations
with
constant
coefficients.
problems
at
page
77
Problem
number
:
Ex.
4
Date
solved
:
Monday, March 31, 2025 at 06:15:39 PM
CAS
classification
:
[[_3rd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(diff(y(x),x),x),x)+y(x) = sin(3*x)-cos(1/2*x)^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,3}]+y[x]==Sin[3*x]-Cos[1/2*x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x) - sin(3*x) + cos(x/2)**2 + Derivative(y(x), (x, 3)),0) ics = {} dsolve(ode,func=y(x),ics=ics)