The equation u=cos(a x) has no effect, neither have the ranges a and u you define.
u=1 has to be avoided because of the term ln(sqrt((1-u^2)/u) (-> minus infinity).
You could simply plot h, but you will have to manually edit the ranges for the input variables so that the calculation does not fail for any grid point.

Its more convenient to use the "CreateMesh" function and plot the created nested arrays

You could also create an array with values corresponding to the range variables you had defined and look for it minimum value

or you could use "minimize" to find the minimum

The values found do not exactly match the solution you name.
Mathcad file attached