Functions pertaining to Chapter/lecture 2b...