Internal
problem
ID
[19792]
Book
:
Elementary
Differential
Equations.
By
R.L.E.
Schwarzenberger.
Chapman
and
Hall.
London.
First
Edition
(1969)
Section
:
Chapter
3.
Solutions
of
first-order
equations.
Exercises
at
page
47
Problem
number
:
4
(i)
Date
solved
:
Thursday, October 02, 2025 at 04:43:43 PM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(x(t),t)+2*x(t) = exp(t); dsolve(ode,x(t), singsol=all);
ode=D[x[t],t]+2*x[t]==Exp[t]; ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(2*x(t) - exp(t) + Derivative(x(t), t),0) ics = {} dsolve(ode,func=x(t),ics=ics)