Source: https://static.kaplanlearn.com/assets/e2/5b/AdvancedCalculatorFunctions_handout.pdf