General Intermediate Value Theorem