Internal
problem
ID
[17199]
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
:
817
Date
solved
:
Monday, March 31, 2025 at 03:44:26 PM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t) = -y(t)+sin(t), diff(y(t),t) = x(t)+cos(t)]; dsolve(ode);
ode={D[x[t],t]==-y[t]+Sin[t],D[y[t],t]==x[t]+Cos[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) - sin(t) + Derivative(x(t), t),0),Eq(-x(t) - cos(t) + Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)