Internal
problem
ID
[2840]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
5.
Separation
of
variables
and
Fourier
series.
Section
5.1
(Two
point
boundary-value
problems).
Page
480
Problem
number
:
9
Date
solved
:
Sunday, March 30, 2025 at 12:33:43 AM
CAS
classification
:
[[_2nd_order, _missing_x]]
With initial conditions
ode:=diff(diff(y(t),t),t)+lambda*y(t) = 0; ic:=y(0) = 0, y(1) = 0; dsolve([ode,ic],y(t), singsol=all);
ode=D[y[t],{t,2}]-2*D[y[t],t]+(1+\[Lambda])*y[t]==0; ic={y[0] == 0,y[1] == 0}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") lambda_ = symbols("lambda_") y = Function("y") ode = Eq(lambda_*y(t) + Derivative(y(t), (t, 2)),0) ics = {y(0): 0, y(1): 0} dsolve(ode,func=y(t),ics=ics)