single variable calculus solutions