Answer is in the attachment below.
The expression cos ( arcsin ( r x − h ) ) can be simplified to r r 2 − ( x − h ) 2 using trigonometric identities and the Pythagorean theorem. This represents the cosine of the angle whose sine is r x − h .
;