Internal
problem
ID
[15992]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
2.
First
Order
Equations.
Exercises
2.4,
page
57
Problem
number
:
41
Date
solved
:
Monday, March 31, 2025 at 02:22:59 PM
CAS
classification
:
[_exact]
With initial conditions
ode:=-2*x-y(x)*cos(x*y(x))+(2*y(x)-x*cos(x*y(x)))*diff(y(x),x) = 0; ic:=y(0) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=(-2*x-y[x]*Cos[x*y[x]])+(2*y[x]-x*Cos[x*y[x]])*D[y[x],x]==0; ic={y[0]==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*x + (-x*cos(x*y(x)) + 2*y(x))*Derivative(y(x), x) - y(x)*cos(x*y(x)),0) ics = {y(0): 0} dsolve(ode,func=y(x),ics=ics)
Timed Out