Solution:
The standard form of a pair of Cartesian lines is:
a1x−x1=b1y−y1=c1z−z1anda2x−x2=b2y−y2=c2z−z2(1)
So the given equations can be written according to the standard form, i.e.
−3x−1=2p/7y−2=2z−3and−3p/7x−1=1y−5=−5z−6(2)
Now, comparing equation (1) and (2), we get
a1=−3,b1=72p,c1=2anda2=7−3p,b2=1,c2=−5
So, the direction ratios of the lines are
−3,72p,2and7−3p,1,−5
Now, as both the lines are at right angles,
a1a2+b1b2+c1c2=0
Substitute the values:
(−3)×(7−3p)+(72p)×1+2×(−5)=0
79p+72p−10=0
79p+2p=10
711p=10
11p=70
p=1170
Thus, the value of p is 1170