Internal
problem
ID
[15225]
Book
:
Differential
equations
and
the
calculus
of
variations
by
L.
ElSGOLTS.
MIR
PUBLISHERS,
MOSCOW,
Third
printing
1977.
Section
:
Chapter
3,
SYSTEMS
OF
DIFFERENTIAL
EQUATIONS.
Problems
page
209
Problem
number
:
Problem
1
Date
solved
:
Thursday, October 02, 2025 at 10:07:31 AM
CAS
classification
:
system_of_ODEs
With initial conditions
ode:=[diff(x(t),t) = y(t), diff(y(t),t) = -x(t)]; ic:=[x(0) = 0, y(0) = 1]; dsolve([ode,op(ic)]);
ode={D[x[t],t]==y[t],D[y[t],t]==-x[t]}; ic={x[0]==0,y[0]==1}; DSolve[{ode,ic},{x[t],y[t]},t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") y = Function("y") ode=[Eq(-y(t) + Derivative(x(t), t),0),Eq(x(t) + Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)