74.10.1 problem 1

Internal problem ID [16135]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 4. Higher Order Equations. Exercises 4.2, page 147
Problem number : 1
Date solved : Monday, March 31, 2025 at 02:44:37 PM
CAS classification : [[_2nd_order, _quadrature]]

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

Maple. Time used: 0.002 (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.003 (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.036 (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 \]