Apply calculus methods in solving problems