The angle θ between a line with direction vector b and a plane with normal vector n uses sin, not cos, because the angle is measured from the plane itself, which is perpendicular to n:
sinθ=∣b∣∣n∣∣b⋅n∣
Worked example
Find the angle between the line 2x+1=3y=6z−3 and the plane 10x+2y−11z=3.
Solution: The line's direction vector is b=(2,3,6), and the plane's normal is n=(10,2,−11).