Solution (source code)

= Solution

After multiplication by $\sec^2x$, recognize both sides as derivatives:
$$
yy''+(y')^2=\sec^2x,\qquad
\frac{d}{dx}(yy'-\tan x)=0.
$$
The nontrivial <first integral> is therefore
$$
\boxed{h(x,y,y')=yy'-\tan x=C_1.}
$$
It necessarily depends on the derivative, correcting the printed notation $h(x,y)$. A second integration gives
$$
\boxed{y^2=-2\log(\cos x)+2C_1x+C_2}
$$
on the specified interval. Since $y(0)=0$, $C_2=0$. A finite derivative at zero also implies $yy'\to0$ there, forcing $C_1=0$. A positive <particular solution> is consequently
$$
\boxed{y(x)=\sqrt{-2\log(\cos x)},\qquad 0\le x<\pi/2.}
$$
The negative of this function is the other sign choice. Near zero, $-2\log(\cos x)=x^2+x^4/6+O(x^6)$, so the positive branch has $y=x+x^3/12+O(x^5)$ and $y'(0)=1$; the negative branch has derivative $-1$.

For the positive branch, $y'=\tan x/y>0$. Its second derivative has numerator $-2\log\cos x-\sin^2x$, multiplied by a positive factor. This numerator is zero at zero and has derivative $2\sin^3x/\cos x>0$, so the curve is convex for positive $x$. It starts tangent to $y=x$ and rises without bound as $x\uparrow\pi/2$, with $y\sim\sqrt{-2\log(\pi/2-x)}$. The third panel of the sketch above shows this branch.