Hi Sanketabh
You are using the ReLu Function as activation function. The first derivative of this function is 1 if x is greater than one and 0 else. However, the second derivative of this function is always zero. Hence, the second derivative you have calculated is zero too. Try to use another activation function which is twice differentiable such as the sigmoid or tanh.