Internal
problem
ID
[6435]
Book
:
Engineering
Mathematics.
By
K.
A.
Stroud.
5th
edition.
Industrial
press
Inc.
NY.
2001
Section
:
Program
24.
First
order
differential
equations.
Further
problems
24.
page
1068
Problem
number
:
6
Date
solved
:
Sunday, March 30, 2025 at 10:58:26 AM
CAS
classification
:
[[_homogeneous, `class A`], _exact, _rational, [_Abel, `2nd type`, `class A`]]
ode:=(2*y(x)-x)*diff(y(x),x) = y(x)+2*x; dsolve(ode,y(x), singsol=all);
ode=(2*y[x]-x)*D[y[x],x]==2*x+y[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*x + (-x + 2*y(x))*Derivative(y(x), x) - y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)