Internal
problem
ID
[16580]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
6.
Systems
of
Differential
Equations.
Exercises
6.1,
page
282
Problem
number
:
12
Date
solved
:
Thursday, March 13, 2025 at 08:23:40 AM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t) = y(t), diff(y(t),t) = -x(t)+sin(2*t)]; dsolve(ode);
ode={D[x[t],t]==y[t],D[y[t],t]==-x[t]+Sin[2*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) - sin(2*t) + Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)