5.(4分)直线$x=-2$与直线$\sqrt{3}x-y+1=0$的夹角为____. 分析:先求出直线的斜率,可得它们的倾斜角,从而求出两条直线的夹角. 解:$\because$直线$x=-2$的斜率不存在,倾斜角为$\dfrac{\pi }{2}$, 直线$\sqrt{3}x-y+1=0$的斜率为$\sqrt{3}$,倾斜角为$\dfrac{\pi }{3}$, 故直线$x=-2$与直线$\sqrt{3}x-y+1=0$的夹角为$\dfrac{\pi }{2}-\dfrac{\pi }{3}=\dfrac{\pi }{6}$, 故答案为:$\dfrac{\pi }{6}$. 点评:本题主要考查直线的斜率和倾斜角,两条直线的夹角,属于基础题.
|