Write A Python Script To Calculate The Flux