Internal
problem
ID
[4843]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
9
Problem
number
:
243
Date
solved
:
Sunday, March 30, 2025 at 04:03:30 AM
CAS
classification
:
[_separable]
ode:=(2*x+1)*diff(y(x),x) = 4*exp(-y(x))-2; dsolve(ode,y(x), singsol=all);
ode=(1+2 x)D[y[x],x]==4 Exp[-y[x]]-2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((2*x + 1)*Derivative(y(x), x) + 2 - 4*exp(-y(x)),0) ics = {} dsolve(ode,func=y(x),ics=ics)