57.1.32 problem 32

Internal problem ID [9016]
Book : First order enumerated odes
Section : section 1
Problem number : 32
Date solved : Wednesday, March 05, 2025 at 07:14:45 AM
CAS classification : [_quadrature]

\begin{align*} 5 y^{\prime }&=0 \end{align*}

Maple. Time used: 0.001 (sec). Leaf size: 5
ode:=5*diff(y(x),x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_{1} \]
Mathematica. Time used: 0.003 (sec). Leaf size: 7
ode=5*D[y[x],x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to c_1 \]
Sympy. Time used: 0.036 (sec). Leaf size: 3
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(5*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} \]