We have the following equation $$mg\sin(\theta)=kx\left(1-\frac{L}{\sqrt{x^2+a^2}}\right)$$ and we are asked to put it in the following dimensionless form: $$1-\frac{h}{u}=\frac{R}{\sqrt{1+u^2}}.$$ According to me $u=x/a$ and $R=L/a$ then we have $$\frac{R}{\sqrt{1+u^2}}=1-\frac{mg\sin(\theta)}{kx}$$ which would imply that $$\frac{h}{u}=\frac{mg\sin(\theta)}{kx}$$ which is weird since $u=x/a.$ Where am I going wrong?
Edit: Here I am adding the units of each term in the equation given above:
$m:\text{mass},$ $g:\text{acceleration due to gravity so }ms^{-2}$,$k:\text{ spring constant so }Nm^{-1},\{x,L,a\}:\text{length}.$
Here is the original question Part(b) in case I made any typos:
