Closure Function Example In Math