3. What is the use of activation functions in neural network?

Ans:- Activation function is used to convert a input signal of a node in a A-NN to an output signal. That output signal now is used as a input in the next layer in the stack.