Internal
problem
ID
[14245]
Book
:
Ordinary
Differential
Equations
by
Charles
E.
Roberts,
Jr.
CRC
Press.
2010
Section
:
Chapter
1.
Introduction.
Exercises
page
14
Problem
number
:
21
Date
solved
:
Monday, March 31, 2025 at 12:14:00 PM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)-y(x)/x = 1; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]-y[x]/x==1; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - 1 - y(x)/x,0) ics = {} dsolve(ode,func=y(x),ics=ics)