75.4.24 problem 89

Internal problem ID [16655]
Book : A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section : Section 4. Equations with variables separable and equations reducible to them. Exercises page 38
Problem number : 89
Date solved : Monday, March 31, 2025 at 03:03:46 PM
CAS classification : [_quadrature]

\begin{align*} \tan \left (y^{\prime }\right )&=0 \end{align*}

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