How to find the angle between a vector and a plane?

31 Views Asked by At

I have been given a Vector in $R^3$ , that hits the XY plane, and I have been given the refractive index for $Z>0 \text{and } Z<0$ , I want to find the angle this incident ray makes with the plane so that I can find the angle of refraction. How to do this?

Edit:- idea, as I'm trying to find the angle made with the XY plane, do I just need to solve the problem, using the x and y components?