74.10.11 problem 11

Internal problem ID [16137]
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 : 11
Date solved : Thursday, March 13, 2025 at 07:52:47 AM
CAS classification : [[_2nd_order, _missing_x]]

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

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