Function Composition and Range Analysis