1.5 problem 5

Internal problem ID [4571]

Book: Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY. 2001
Section: Program 24. First order differential equations. Test excercise 24. page 1067
Problem number: 5.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

Solve \begin {gather*} \boxed {x^{2} y^{\prime }-x^{3} \sin \left (3 x \right )-4=0} \end {gather*}

Solution by Maple

Time used: 0.002 (sec). Leaf size: 24

dsolve(x^2*diff(y(x),x)=x^3*sin(3*x)+4,y(x), singsol=all)
 

\[ y \relax (x ) = -\frac {\cos \left (3 x \right ) x}{3}+\frac {\sin \left (3 x \right )}{9}-\frac {4}{x}+c_{1} \]

Solution by Mathematica

Time used: 0.019 (sec). Leaf size: 30

DSolve[x^2*y'[x]==x^3*Sin[3*x]+4,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -\frac {4}{x}+\frac {1}{9} \sin (3 x)-\frac {1}{3} x \cos (3 x)+c_1 \\ \end{align*}