Internal
problem
ID
[17194]
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.
Methods
of
integrating
nonhomogeneous
linear
systems
with
constant
coefficients.
Exercises
page
234
Problem
number
:
812
Date
solved
:
Monday, March 31, 2025 at 03:44:18 PM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t) = y(t)+tan(t)^2-1, diff(y(t),t) = tan(t)-x(t)]; dsolve(ode);
ode={D[x[t],t]==y[t]+Tan[t]^2-1,D[y[t],t]==Tan[t]-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) - tan(t)**2 + Derivative(x(t), t) + 1,0),Eq(x(t) - tan(t) + Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)