We have :
⇒3sinθ+4cosθ=5
Subtract 3sinθ from both sides →
⇒4cosθ=5−3sinθ
Square both sides →
⇒16cos2θ=25+9sin2θ−2(5)(3sinθ)
Now substitute cos2θ=1−sin2θ at L.H.S →
⇒16(1−sin2θ)=25+9sin2θ−30sinθ
Rearrange the terms to get a quadratic in sinθ→
⇒9sin2θ+16sin2θ−30sinθ+25−16=0
⇒25sin2θ−30sinθ+9=0
Now if you look , the above quadratic equation is a perfect square using the identity a2+b2−2ab=(a−b)2 we write it as →
⇒(5sinθ)2a2−2⋅(5sinθ)⋅(3)−2ab+(3)2b2=0
⇒(5sinθ−3)2=0
⇒5sinθ−3=0
⇒sinθ=35 .