Internal
problem
ID
[15751]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
1.
Introduction
to
Differential
Equations.
Exercises
1.1,
page
10
Problem
number
:
57
Date
solved
:
Thursday, March 13, 2025 at 06:17:24 AM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=diff(y(x),x) = cos(1/x)/x^2; ic:=y(2/Pi) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]==Cos[1/x]/x^2; ic={y[2/Pi]==1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - cos(1/x)/x**2,0) ics = {y(2/pi): 1} dsolve(ode,func=y(x),ics=ics)