Internal
problem
ID
[15875]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
2.
First
Order
Equations.
Exercises
2.2,
page
39
Problem
number
:
59
Date
solved
:
Thursday, March 13, 2025 at 06:55:34 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=diff(y(x),x) = -(y(x)-2)/(x-2); ic:=y(0) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]==-(y[x]-2)/(x-2); ic={y[0]==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) + (y(x) - 2)/(x - 2),0) ics = {y(0): 0} dsolve(ode,func=y(x),ics=ics)