Internal
problem
ID
[23136]
Book
:
An
introduction
to
Differential
Equations.
By
Howard
Frederick
Cleaves.
1969.
Oliver
and
Boyd
publisher.
ISBN
0050015044
Section
:
Chapter
5.
Linear
equations
of
the
second
order
with
constant
coefficients.
Exercise
5b
at
page
77
Problem
number
:
3
Date
solved
:
Thursday, October 02, 2025 at 09:23:19 PM
CAS
classification
:
[[_2nd_order, _missing_x]]
With initial conditions
ode:=diff(diff(z(t),t),t)+g*z(t) = 0; ic:=[z(1/3*Pi/g^(1/2)) = 5, z(2/3*Pi/g^(1/2)) = 1/3*Pi]; dsolve([ode,op(ic)],z(t), singsol=all);
ode=D[z[t],{t,2}]+g*z[t]==0; ic={z[Pi/(3*Sqrt[g]) ]==5,z[2*Pi/(3*Sqrt[g])]==Pi/3}; DSolve[{ode,ic},z[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") g = symbols("g") z = Function("z") ode = Eq(g*z(t) + Derivative(z(t), (t, 2)),0) ics = {z(pi/(3*sqrt(g))): 5, z(2*pi/(3*sqrt(g))): pi/3} dsolve(ode,func=z(t),ics=ics)