Advanced calculus: Of real-valued functions of a real variable and vector-valued functions of a vector variable