Source: https://www.uio.no/studier/emner/matnat/ifi/IN3140/v21/lecture-slides/lec08_ros_part_1_2021.pdf