(1)直线l:y=x (x>0)
4cosa=3sina
tga=4/3
cosa=3/5 sina=4/5
P(12/5,12/5)
(2)直线l:x-y=0
点P到直线l的距离=|4cosa-3sina|/根号2=5|cos(a-b)|/根号2