Internal
problem
ID
[2838]
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
:
4
Date
solved
:
Tuesday, March 04, 2025 at 02:50:33 PM
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, 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,y[L]==0}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") cg = symbols("cg") y = Function("y") ode = Eq(cg*y(t) + Derivative(y(t), (t, 2)),0) ics = {Subs(Derivative(y(t), t), t, 0): 0, y(L): 0} dsolve(ode,func=y(t),ics=ics)