A mathematical approximation for the solution of a static indentation test