If f is defined on E, the graph of f is the set of points (x, f(x)) for x in E. If E is a set of real numbers, and f is real-valued, the graph of f is a subset of the plane.
Suppose E is compact, and prove that f is continuous on E if and only if its graph is compact.