Internal
problem
ID
[6647]
Book
:
Schaums
Outline.
Theory
and
problems
of
Differential
Equations,
1st
edition.
Frank
Ayres.
McGraw
Hill
1952
Section
:
Chapter
6.
Equations
of
first
order
and
first
degree
(Linear
equations).
Supplemetary
problems.
Page
39
Problem
number
:
19
(h)
Date
solved
:
Wednesday, March 05, 2025 at 01:34:27 AM
CAS
classification
:
[_exact, [_1st_order, `_with_symmetry_[F(x),G(x)]`], [_Abel, `2nd type`, `class A`]]
ode:=(2*s(t)-exp(2*t))*diff(s(t),t) = 2*s(t)*exp(2*t)-2*cos(2*t); dsolve(ode,s(t), singsol=all);
ode=(2*s[t]-Exp[2*t])*D[s[t],t]==2*(s[t]*Exp[2*t]-Cos[2*t]); ic={}; DSolve[{ode,ic},s[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") s = Function("s") ode = Eq((2*s(t) - exp(2*t))*Derivative(s(t), t) - 2*s(t)*exp(2*t) + 2*cos(2*t),0) ics = {} dsolve(ode,func=s(t),ics=ics)
Timed Out