The inverse sine of a sine function scaled by an arbitrary factor: \( \arcsin( n \sin \theta ) \)
A relation of this sort occurs in Snell’s Law for the refraction of light at the interface between two media:
\[ n_1 \sin \theta_1 = n_2 \sin \theta_2 \]Complete code for this example: