Internal
problem
ID
[16628]
Book
:
A
book
of
problems
in
ordinary
differential
equations.
M.L.
KRASNOV,
A.L.
KISELYOV,
G.I.
MARKARENKO.
MIR,
MOSCOW.
1983
Section
:
Section
3.
The
method
of
successive
approximation.
Exercises
page
31
Problem
number
:
42
Date
solved
:
Monday, March 31, 2025 at 03:02:03 PM
CAS
classification
:
[[_Riccati, _special]]
With initial conditions
ode:=diff(y(x),x) = x+y(x)^2; ic:=y(0) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]==x+y[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(-x - y(x)**2 + Derivative(y(x), x),0) ics = {y(0): 0} dsolve(ode,func=y(x),ics=ics)
TypeError : bad operand type for unary -: list