Internal
problem
ID
[4725]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
5
Problem
number
:
123
Date
solved
:
Sunday, March 30, 2025 at 03:49:39 AM
CAS
classification
:
[_quadrature]
ode:=diff(y(x),x) = a+b*sin(y(x)); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==a+b Sin[y[x]]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") y = Function("y") ode = Eq(-a - b*sin(y(x)) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
TypeError : < not supported between instances of NoneType and y