Internal
problem
ID
[13635]
Book
:
AN
INTRODUCTION
TO
ORDINARY
DIFFERENTIAL
EQUATIONS
by
JAMES
C.
ROBINSON.
Cambridge
University
Press
2004
Section
:
Chapter
7,
Scalar
autonomous
ODEs.
Exercises
page
56
Problem
number
:
7.1
(i)
Date
solved
:
Wednesday, March 05, 2025 at 10:05:44 PM
CAS
classification
:
[_quadrature]
ode:=diff(x(t),t) = -x(t)+1; dsolve(ode,x(t), singsol=all);
ode=D[x[t],t]==-x[t]+1; ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(x(t) + Derivative(x(t), t) - 1,0) ics = {} dsolve(ode,func=x(t),ics=ics)