Functions and Branching - Sundnes, Joakim (Introduction to Scientific Programming with Python ; page 35-56 ; ISBN 9783030503550 9783030503567, 2020)