87.9.21 problem 36

Internal problem ID [23394]
Book : Ordinary differential equations with modern applications. Ladas, G. E. and Finizio, N. Wadsworth Publishing. California. 1978. ISBN 0-534-00552-7. QA372.F56
Section : Chapter 2. Linear differential equations. Exercise at page 74
Problem number : 36
Date solved : Thursday, October 02, 2025 at 09:41:00 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} y^{\prime \prime }+\cos \left (x \right ) y^{\prime }+y \,{\mathrm e}^{x}&=0 \end{align*}
Maple
ode:=diff(diff(y(x),x),x)+cos(x)*diff(y(x),x)+y(x)*exp(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ \text {No solution found} \]
Mathematica
ode=D[y[x],{x,2}]+Cos[x]*D[y[x],x]+Exp[x]*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 

Not solved

Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(y(x)*exp(x) + cos(x)*Derivative(y(x), x) + Derivative(y(x), (x, 2)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
False