Internal
problem
ID
[12105]
Book
:
Handbook
of
exact
solutions
for
ordinary
differential
equations.
By
Polyanin
and
Zaitsev.
Second
edition
Section
:
Chapter
1,
section
1.2.
Riccati
Equation.
subsection
1.2.6-1.
Equations
with
sine
Problem
number
:
10
Date
solved
:
Sunday, March 30, 2025 at 10:47:05 PM
CAS
classification
:
[[_1st_order, `_with_symmetry_[F(x),G(x)]`], _Riccati]
ode:=diff(y(x),x) = a*sin(lambda*x+mu)^k*(y(x)-b*x^n-c)^2+b*n*x^(n-1); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==a*Sin[\[Lambda]*x+\[Mu]]^k*(y[x]-b*x^n-c)^2+b*n*x^(n-1); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") c = symbols("c") k = symbols("k") lambda_ = symbols("lambda_") mu = symbols("mu") n = symbols("n") y = Function("y") ode = Eq(-a*(-b*x**n - c + y(x))**2*sin(lambda_*x + mu)**k - b*n*x**(n - 1) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
Timed Out