Internal
problem
ID
[21341]
Book
:
A
Textbook
on
Ordinary
Differential
Equations
by
Shair
Ahmad
and
Antonio
Ambrosetti.
Second
edition.
ISBN
978-3-319-16407-6.
Springer
2015
Section
:
Chapter
7.
System
of
first
order
equations.
Excercise
7.6
at
page
162
Problem
number
:
B
14
Date
solved
:
Thursday, October 02, 2025 at 07:28:35 PM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t) = x(t)+3*y(t)+2*t, diff(y(t),t) = x(t)-y(t)+t^2]; dsolve(ode);
ode={D[x[t],t]==x[t]+3*y[t]+2*t,D[y[t],t]==x[t]-y[t]+t^2}; 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(-2*t - x(t) - 3*y(t) + Derivative(x(t), t),0),Eq(-t**2 - x(t) + y(t) + Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)