How do you find the first and second derivative of #y=1/(1+e^x)#?
First derivative is just applying chain rule to
For the second derivative we need the quotient rule which states:
Plugging this in we get:
This can be simplified to: