Using distance formula, we have
AB=√(2−5)2+(−2−2)2=√9+16=5.....(1)
BC=√(−2−2)2+(t+2)2=√t2+4t+20.....(2)
AC=√(−2−5)2+(t−2)2=√t2−4t+53.....(3)
Now, it is given that Δ ABC is right angled at B.
Using the Pythagorean theorem, we have
AB2+BC2=AC2
∴25+t2+4t+20=t2−4t+53 [From (1) (2) and (3)]
⇒45+4t=−4t+53
⇒8t=8
⇒t=1
Hence, the value of t is 1.