The activation function is a nonlinear function that takes in the weighted sum and produces the output. They are used...