Internal
problem
ID
[2836]
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
:
2
Date
solved
:
Sunday, March 30, 2025 at 12:33:35 AM
CAS
classification
:
[[_2nd_order, _missing_x]]
With initial conditions
ode:=diff(diff(y(t),t),t)+lambda*y(t) = 0; ic:=D(y)(0) = 0, D(y)(L) = 0; dsolve([ode,ic],y(t), singsol=all);
ode=D[y[t],{t,2}]+\[Lambda]*y[t]==0; ic={Derivative[1][y][0] == 0,Derivative[1][y][L] == 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 = {Subs(Derivative(y(t), t), t, 0): 0, Derivative(y(L), L): 0} dsolve(ode,func=y(t),ics=ics)