Given $0< A< 90^{\circ}$ and $$\sin A+\cos A+\tan A+\sec A+\operatorname{cosec} A+\cot A=7$$
and if $\sin A$ and $\cos A$ are roots of $4x^2+3x+k=0$
Find the value of $k$
sum of the roots is $$\sin A+\cos A=\frac{-3}{4}$$
Squaring both sides we get
$$1+2\sin A\cos A=\frac{9}{16}$$ $\implies$
$$\sin A\cos A=\frac{-7}{32}$$ But Product of roots is
$$\sin A\cos A=\frac{k}{4}$$
so $$\frac{k}{4}=\frac{-7}{32}$$ Hence
$$k=\frac{-7}{8}$$
But it is also given that
$$\sin A+\cos A+\tan A+\sec A+\operatorname{cosec}A+\cot A=7$$ $\implies$
$$\sin A+\cos A+\frac{1}{\sin A\cos A}+\frac{\sin A+\cos A}{\sin A\cos A}=7$$ substituting sum of the roots and product of the roots we get
$$\frac{-3}{4}+\frac{4}{k}+\frac{-3}{k}=7$$ so
$$\frac{1}{k}=\frac{31}{4}$$ so
$$k=\frac{4}{31}$$
The two values are mismatching?