Internal
problem
ID
[160]
Book
:
Elementary
Differential
Equations.
By
C.
Henry
Edwards,
David
E.
Penney
and
David
Calvis.
6th
edition.
2008
Section
:
Chapter
1.
First
order
differential
equations.
Section
1.6
(substitution
and
exact
equations).
Problems
at
page
72
Problem
number
:
56
Date
solved
:
Saturday, March 29, 2025 at 04:37:27 PM
CAS
classification
:
[_Bernoulli]
ode:=diff(y(x),x)+p(x)*y(x) = q(x)*y(x)^n; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+p[x]*y[x]==q[x]*y[x]^n; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") n = symbols("n") y = Function("y") ode = Eq(p(x)*y(x) - q(x)*y(x)**n + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)