Reviewing single variable calculus - problems worked out on paper- posted here to reiterate and help me remember. Some examples in R