Equations from lab1 in following [notebook](https://github.com/DeepLearningDTU/02456-deep-learning/notebooks/02456-deep-learning/notebooks/lab1_Introduction/1.Backpropagation.ipynb) 