75.33.6 problem 835

Internal problem ID [17209]
Book : A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section : Chapter 3. Section 24.2. Solving the Cauchy problem for linear differential equation with constant coefficients. Exercises page 249
Problem number : 835
Date solved : Thursday, March 13, 2025 at 09:18:52 AM
CAS classification : [[_2nd_order, _quadrature]]

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

Using Laplace method With initial conditions

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

Maple. Time used: 8.533 (sec). Leaf size: 5
ode:=diff(diff(x(t),t),t) = 0; 
ic:=x(0) = 0, D(x)(0) = 0; 
dsolve([ode,ic],x(t),method='laplace');
 
\[ x \left (t \right ) = 0 \]
Mathematica. Time used: 0.008 (sec). Leaf size: 6
ode=D[x[t],{t,2}]==0; 
ic={x[0]==0,Derivative[1][x][0 ]==0}; 
DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
 
\[ x(t)\to 0 \]
Sympy. Time used: 0.047 (sec). Leaf size: 3
from sympy import * 
t = symbols("t") 
x = Function("x") 
ode = Eq(Derivative(x(t), (t, 2)),0) 
ics = {x(0): 0, Subs(Derivative(x(t), t), t, 0): 0} 
dsolve(ode,func=x(t),ics=ics)
 
\[ x{\left (t \right )} = 0 \]