7.7.4 problem 4

Internal problem ID [182]
Book : Elementary Differential Equations. By C. Henry Edwards, David E. Penney and David Calvis. 6th edition. 2008
Section : Chapter 1. First order differential equations. Review problems at page 98
Problem number : 4
Date solved : Saturday, March 29, 2025 at 04:38:37 PM
CAS classification : [_exact]

\begin{align*} 2 x y^{3}+{\mathrm e}^{x}+\left (3 x^{2} y^{2}+\sin \left (y\right )\right ) y^{\prime }&=0 \end{align*}

Maple. Time used: 0.011 (sec). Leaf size: 20
ode:=2*x*y(x)^3+exp(x)+(3*x^2*y(x)^2+sin(y(x)))*diff(y(x),x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ x^{2} y^{3}+{\mathrm e}^{x}-\cos \left (y\right )+c_1 = 0 \]
Mathematica. Time used: 0.279 (sec). Leaf size: 23
ode=2*x*y[x]^3+Exp[x]+(3*x^2*y[x]^2+Sin[y[x]])*D[y[x],x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ \text {Solve}\left [x^2 y(x)^3-\cos (y(x))+e^x=c_1,y(x)\right ] \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(2*x*y(x)**3 + (3*x**2*y(x)**2 + sin(y(x)))*Derivative(y(x), x) + exp(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out