Arcsin is correct because you are measuring the hypotenuse.