Skip to content

Instantly share code, notes, and snippets.

View saebyn's full-sized avatar

saebyn saebyn

View GitHub Profile
@saebyn
saebyn / velocity.py
Last active September 27, 2015 00:58 — forked from 9130/velocity.py
Muzzle velocity calculator
# Some old code that I was helping someone with.
GRAINS_PER_POUND = 7000.0
POUNDS_PER_SLUG = 32.175
print "Bullet weight in grains?"
weight = float(raw_input()) / GRAINS_PER_POUND
print "Muzzle velocity in FPS"
velocity = float(raw_input())