77.1.1 problem 1 (a) (page 9)

Internal problem ID [17812]
Book : V.V. Stepanov, A course of differential equations (in Russian), GIFML. Moscow (1958)
Section : All content
Problem number : 1 (a) (page 9)
Date solved : Thursday, March 13, 2025 at 10:54:35 AM
CAS classification : [_quadrature]

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

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