Hello friends!, Realistic Mods here,
I am an amateur python programmer. I recently made a calculator for converting distances to SFS scale, using python. Inspired from how apps can make duties easier, I set on to make some more. I had recently made a drag calculator, and yesterday a doppler shift distance calculator. Here, I will post some of the programs I will make. After completing a few, I will post it as a complete individual program.
Till then, here is my doppler shift velocity calculato-(You can paste them in an online python emulator, if you don't have python installed)
Doppler shift distance calculator ( Finds out whether a light source is approaching or receding depending on the doppler shift )
Link for using- https://www.online-python.com/sbgkfz32DS
I am an amateur python programmer. I recently made a calculator for converting distances to SFS scale, using python. Inspired from how apps can make duties easier, I set on to make some more. I had recently made a drag calculator, and yesterday a doppler shift distance calculator. Here, I will post some of the programs I will make. After completing a few, I will post it as a complete individual program.
Till then, here is my doppler shift velocity calculato-(You can paste them in an online python emulator, if you don't have python installed)
Doppler shift distance calculator ( Finds out whether a light source is approaching or receding depending on the doppler shift )
Python:
print('Hello User, Welcome!')
ow=float(input('Please enter the orignal wavelength- '))
dw=float(input('Please enter the detected wavelength '))
if dw>ow:
a=1-dw/ow
b=299792458*a
print(' The source is receding at a velocity of', b,'m/s')
elif dw<ow:
a=1+dw/ow
b=299792458*a
print('The source is approaching at a velocity of', b,'m/s')
print('Thank You')