Internal
problem
ID
[3282]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
35,
page
157
Problem
number
:
39
Date
solved
:
Tuesday, September 30, 2025 at 06:32:21 AM
CAS
classification
:
[[_2nd_order, _missing_x]]
With initial conditions
ode:=diff(diff(x(t),t),t)-k^2*x(t) = 0; ic:=[x(0) = 0, D(x)(0) = v__0]; dsolve([ode,op(ic)],x(t), singsol=all);
ode=D[x[t],{t,2}]-k^2*x[t]==0; ic={x[0]==0,Derivative[1][x][0 ]==v0}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") k = symbols("k") v__0 = symbols("v__0") x = Function("x") ode = Eq(-k**2*x(t) + Derivative(x(t), (t, 2)),0) ics = {x(0): 0, Subs(Derivative(x(t), t), t, 0): v__0} dsolve(ode,func=x(t),ics=ics)