87.17.25 problem 26

Internal problem ID [23617]
Book : Ordinary differential equations with modern applications. Ladas, G. E. and Finizio, N. Wadsworth Publishing. California. 1978. ISBN 0-534-00552-7. QA372.F56
Section : Chapter 2. Linear differential equations. Exercise at page 127
Problem number : 26
Date solved : Thursday, October 02, 2025 at 09:43:30 PM
CAS classification : [[_2nd_order, _quadrature]]

\begin{align*} y^{\prime \prime }&=3 \end{align*}
Maple. Time used: 0.001 (sec). Leaf size: 14
ode:=diff(diff(y(x),x),x) = 3; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \frac {3}{2} x^{2}+c_1 x +c_2 \]
Mathematica. Time used: 0.002 (sec). Leaf size: 19
ode=D[y[x],{x,2}]==3; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \frac {3 x^2}{2}+c_2 x+c_1 \end{align*}
Sympy. Time used: 0.044 (sec). Leaf size: 14
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(Derivative(y(x), (x, 2)) - 3,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} + C_{2} x + \frac {3 x^{2}}{2} \]