Internal
problem
ID
[11794]
Book
:
Differential
Gleichungen,
E.
Kamke,
3rd
ed.
Chelsea
Pub.
NY,
1948
Section
:
Chapter
8,
system
of
first
order
odes
Problem
number
:
1870
Date
solved
:
Wednesday, March 05, 2025 at 03:07:07 PM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t)+diff(y(t),t)-y(t) = exp(t), 2*diff(x(t),t)+diff(y(t),t)+2*y(t) = cos(t)]; dsolve(ode);
ode={D[x[t],t]+D[y[t],t]-y[t]==Exp[t],2*D[x[t],t]+D[y[t],t]+2*y[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) - exp(t) + Derivative(x(t), t) + Derivative(y(t), t),0),Eq(2*y(t) - cos(t) + 2*Derivative(x(t), t) + Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)