Internal
problem
ID
[17189]
Book
:
A
book
of
problems
in
ordinary
differential
equations.
M.L.
KRASNOV,
A.L.
KISELYOV,
G.I.
MARKARENKO.
MIR,
MOSCOW.
1983
Section
:
Chapter
3
(Systems
of
differential
equations).
Section
23.2
The
method
of
undetermined
coefficients.
Exercises
page
239
Problem
number
:
815
Date
solved
:
Thursday, March 13, 2025 at 09:18:30 AM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t) = y(t), diff(y(t),t) = -x(t)+1]; dsolve(ode);
ode={D[x[t],t]==y[t],D[y[t],t]==1-x[t]}; ic={}; 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) - 1,0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)