Internal
problem
ID
[6424]
Book
:
Engineering
Mathematics.
By
K.
A.
Stroud.
5th
edition.
Industrial
press
Inc.
NY.
2001
Section
:
Program
24.
First
order
differential
equations.
Test
excercise
24.
page
1067
Problem
number
:
7
Date
solved
:
Wednesday, March 05, 2025 at 12:39:56 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, _dAlembert]
ode:=(x^3+x*y(x)^2)*diff(y(x),x) = 2*y(x)^3; dsolve(ode,y(x), singsol=all);
ode=(x^3+x*y[x]^2)*D[y[x],x]==2*y[x]^3; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((x**3 + x*y(x)**2)*Derivative(y(x), x) - 2*y(x)**3,0) ics = {} dsolve(ode,func=y(x),ics=ics)