If 0<x<π and cosx+sinx=12, then tanx is equal to
4-73
-4+73
1+74
1-74
Explanation for correct option:
Step-1: Simplify the given data.
Given, cosx+sinx=12
Squaring both side.
⇒cosx+sinx2=122
⇒cos2x+sin2x+2sinxcosx=14
⇒ sin2x=14-1
⇒ 2tanx1+tan2x=-34
⇒ 3tan2x+8tanx+3=0
Step-2: Solve the quadratic equation by using formula -b±b2-4ac2a
⇒ tanx=-8±82-4×3×32×3
⇒ tanx=-8±272×3
⇒tanx=-4+73,-4+73
Hence, correct answer is option B.