Internal
problem
ID
[3472]
Book
:
Mathematical
methods
for
physics
and
engineering,
Riley,
Hobson,
Bence,
second
edition,
2002
Section
:
Chapter
14,
First
order
ordinary
differential
equations.
14.4
Exercises,
page
490
Problem
number
:
Problem
14.23
(a)
Date
solved
:
Tuesday, March 04, 2025 at 04:41:25 PM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)+x*y(x)/(a^2+x^2) = x; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+ (x*y[x])/(a^2+x^2)==x; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") y = Function("y") ode = Eq(-x + x*y(x)/(a**2 + x**2) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)