Internal
problem
ID
[21240]
Book
:
A
Textbook
on
Ordinary
Differential
Equations
by
Shair
Ahmad
and
Antonio
Ambrosetti.
Second
edition.
ISBN
978-3-319-16407-6.
Springer
2015
Section
:
Chapter
5.
Second
order
equations.
Excercise
5.9
at
page
119
Problem
number
:
B
19
Date
solved
:
Thursday, October 02, 2025 at 07:27:13 PM
CAS
classification
:
[[_2nd_order, _missing_x]]
With initial conditions
ode:=diff(diff(x(t),t),t)+x(t) = 0; ic:=[x(a) = 0, x(b) = 0]; dsolve([ode,op(ic)],x(t), singsol=all);
ode=D[x[t],{t,2}]+x[t]==0; ic={x[a]==0,x[b]==0}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") a = symbols("a") b = symbols("b") x = Function("x") ode = Eq(x(t) + Derivative(x(t), (t, 2)),0) ics = {x(a): 0, x(b): 0} dsolve(ode,func=x(t),ics=ics)