Internal
problem
ID
[7619]
Book
:
Fundamentals
of
Differential
Equations.
By
Nagle,
Saff
and
Snider.
9th
edition.
Boston.
Pearson
2018.
Section
:
Chapter
4,
Linear
Second-Order
Equations.
EXERCISES
4.2
at
page
164
Problem
number
:
26
(c)
Date
solved
:
Tuesday, September 30, 2025 at 04:55:02 PM
CAS
classification
:
[[_2nd_order, _missing_x]]
With initial conditions
ode:=diff(diff(y(t),t),t)+y(t) = 0; ic:=[y(0) = 2, y(Pi) = -2]; dsolve([ode,op(ic)],y(t), singsol=all);
ode=D[y[t],{t,2}]+y[t]==0; ic={y[0]==2,y[Pi] ==-2}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(y(t) + Derivative(y(t), (t, 2)),0) ics = {y(0): 2, y(pi): -2} dsolve(ode,func=y(t),ics=ics)