解:利用公式:pcosm=x,psinm=y
将极坐标化为直角坐标,得:
直线方程为:x+y-1=0
点A(-√2,-√2)
利用点到直线距离公式,得:d=|-√2-√2-1|/(√2)=2+√2/2
psin(θ+π/4)=√2/2
p(sinθcosπ/4+cosθsinπ/4)=√2/2
√2/2p(sinθ+cosθ)=√2/2
p(sinθ+cosθ)=1
psinθ+pcosθ=1
x+y=1
x+y-1=0
d=∣2+7π/4-4∣/√(1^2+1^2)
=∣7π/4-2∣/√2
=(7π/4-2)/√2
=(7π√2/4-2√2)/2