Internal
problem
ID
[13693]
Book
:
AN
INTRODUCTION
TO
ORDINARY
DIFFERENTIAL
EQUATIONS
by
JAMES
C.
ROBINSON.
Cambridge
University
Press
2004
Section
:
Chapter
12,
Homogeneous
second
order
linear
equations.
Exercises
page
118
Problem
number
:
12.1
(xv)
Date
solved
:
Monday, March 31, 2025 at 08:09:09 AM
CAS
classification
:
[[_2nd_order, _missing_x]]
With initial conditions
ode:=diff(diff(y(t),t),t)+omega^2*y(t) = 0; ic:=y(0) = 0, D(y)(0) = 1; dsolve([ode,ic],y(t), singsol=all);
ode=D[y[t],{t,2}]+w^2*y[t]==0; ic={y[0]==0,Derivative[1][y][0] ==1}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") omega = symbols("omega") y = Function("y") ode = Eq(omega**2*y(t) + Derivative(y(t), (t, 2)),0) ics = {y(0): 0, Subs(Derivative(y(t), t), t, 0): 1} dsolve(ode,func=y(t),ics=ics)