In [1]:
# Lake mead contains about 3 trillion gallons of water
# The garden hose can supply about 3 gallons per minute (gpm) of water
# the Alaska pipeline can deliver about 30,000 gpm of oil (let us say water)
# the amazon river deliver about 3 trillion gpm of water
# the imaginary behemoth pipeline can deliver the entire flow of the amazon river
# How long will it take the garden hose to fill lake mead?
# How long will it take the Alaska Pipeline to fill lake mead?
# How long will it take the Amazon river to fill lake mead?

In [2]:
lkmead_water_volume = 3e9 #gallons
print(f"Lake mead contains {lkmead_water_volume:.03} gallons of water")
Lake mead contains 3e+09 gallons of water

In [3]:
garden_hose_flux = 3 #gpm
minutes_in_year = 365*24*60
fill_time_years = ????
print(f'garden hose delivers {garden_hose_flux:.0e} gpm')
print(f'the garden hose will fill lake mead in {fill_time_years:.0e} years!')
garden hose delivers 3e+00 gpm the garden hose will fill lake mead in 2e+03 years!

In [4]:
alaska_pipeline_flux = 3e4 #gpm
minutes_in_day = 24*60
fill_time_days = ????
print(f'alaska pipeline delivers {alaska_pipeline_flux:.0e} gpm')
print(f'the alaska pipeline will fill lake mead in {fill_time_days:.0e} days!')
alaska pipeline delivers 3e+04 gpm the alaska pipeline will fill lake mead in 7e+01 days!

In [5]:
amazon_river_flux = 3e9 #gpm
fill_time_minutes = ???
print(f'the amazon river delivers {amazon_river_flux:.0e} gpm')
print(f'the amazon river will fill lake mead in {fill_time_minutes:.0e} minute!')
the amazon river delivers 3e+09 gpm the amazon river will fill lake mead in 1e+00 minute!
In [6]:
hose_alspip_om_flux_ratio = alaska_pipeline_flux/garden_hose_flux
print(f'Order of Magnitude flux range between garden hose and alaska pipeline is: {hose_alspip_om_flux_ratio:.0e}')
alspip_amzriv_om_flux_ratio = amazon_river_flux/alaska_pipeline_flux
print(f'Order of Magnitude flux range between alaska pipeline and the amazon river is: {alspip_amzriv_om_flux_ratio:.0e}')
hose_amzriv_om_flux_ratio = amazon_river_flux/garden_hose_flux
print(f'Order of Magnitude flux range between garden hose and the amazon river is: {hose_amzriv_om_flux_ratio:.0e}')
Order of Magnitude flux range between garden hose and alaska pipeline is: 1e+04 Order of Magnitude flux range between alaska pipeline and the amazon river is: 1e+05 Order of Magnitude flux range between garden hose and the amazon river is: 1e+09
In [7]:
dimmest_star_flux = 10e-4 # in sol lum
solar_flux = 1 # in sol lum
brightest_star_flux = 10e+6 # in sol lum
slf_dsf_om_flux_ratio = solar_flux/dimmest_star_flux
print(f'Order of Magnitude flux range between the sun and dimmest stars is: {slf_dsf_om_flux_ratio:.0e}')
slf_bsf_om_flux_ratio = brightest_star_flux/solar_flux
print(f'Order of Magnitude flux range between the sun and brightest stars is: {slf_bsf_om_flux_ratio:.0e}')
dsf_bsf_om_flux_ratio = brightest_star_flux/dimmest_star_flux
print(f'Order of Magnitude flux range between dimmest and brightest stars is: {dsf_bsf_om_flux_ratio:.0e}')
Order of Magnitude flux range between the sun and dimmest stars is: 1e+03 Order of Magnitude flux range between the sun and brightest stars is: 1e+07 Order of Magnitude flux range between dimmest and brightest stars is: 1e+10
In [ ]: