56.1.54 problem 54

Internal problem ID [8766]
Book : Own collection of miscellaneous problems
Section : section 1.0
Problem number : 54
Date solved : Wednesday, March 05, 2025 at 06:46:12 AM
CAS classification : [[_2nd_order, _quadrature]]

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

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