SHARE
TWEET

Untitled

a guest Oct 15th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import math
  2.  
  3. hitrost = float(input("Hitrost izstrelka? "))
  4. kot = float(input("Kot, pod katerim je bil izstreljen? "))
  5. vmes = math.radians(kot * 2)
  6. razdalja = ((hitrost * hitrost) * ((math.sin(vmes)))) / 10 #za lazje preverjanje je priblizek g = 10 m/s^2
  7. print ("Krogla leti:", razdalja)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top