I am curious as how to solve this
I have been trying here and I know the answer is $\dfrac{4}{{(e^x+e^{-x}})^2}$ I have this derivative $y=\dfrac{e^x-e^{-x}}{e^x+e^{-x}}$.
So here is how we do it. Now I understand I have to use the product rule but I have no idea how we got to the solution of $\dfrac{4}{{(e^x+e^{-x}})^2}$
So I know we use the product rule but im not sure how they got to $4$ for the top part of the fraction.