If the centroid of a triangle formed by the points (0,0), (cos θ,sin θ) and (sin θ,−cos θ) lies on the line y=2x,then wirte the value of tan θ.
Centroid of triangle formed by
(0,0),(cos θ,sin θ) and (sin θ,−cos θ) is
=(x1+x2+x33,y1+y2+y33)
=(cosθ+sinθ3,sinθ−cosθ3)
It lies on line y=2x,so
sinθ−cosθ3=2cosθ+sinθ3
sinθ−cosθ=2cosθ+2sinθ−sinθ−sinθ3 cosθ tanθ=−3