Calculating Gun Performance
Posted: Tue Jan 01, 2008 2:47 am
I made a quick physics calculator in PHP.
All numbers given will never be reached because of air drag, but they can give you a rough estimate. This is all for fun.
Part 1: (shooting gun straight up for simple calculations)
Part 2: (using part 1's info to find max distance traveled for angled shots):
(I can probably re-work my equations to not need so much information, but for now it isn't *that* hard to find distance (just more info needed&I could probably add more possibilities (new landing height, etc)))
I DO NOT have ads, it's all here for fun.
I will probably post the source code once I get it all cleaned up, for those interested in how it's calculated.
Edit:
I'm sure there are better calculators out there, maybe even in this forum. Just thought I'd post what I made. Most of you make replicas, better or worse of other's guns, why not another calculator?
Edit 2:
If you want accuracy, use this. If you are't going to use calculations to try and hit (or not hit) something, then my calculator is fine.
All numbers given will never be reached because of air drag, but they can give you a rough estimate. This is all for fun.
Part 1: (shooting gun straight up for simple calculations)
Code: Select all
http://gamerssoft.com/?page=spudcalcCode: Select all
http://gamerssoft.com/?page=spudcalc2I DO NOT have ads, it's all here for fun.
I will probably post the source code once I get it all cleaned up, for those interested in how it's calculated.
Edit:
I'm sure there are better calculators out there, maybe even in this forum. Just thought I'd post what I made. Most of you make replicas, better or worse of other's guns, why not another calculator?
Edit 2:
If you want accuracy, use this. If you are't going to use calculations to try and hit (or not hit) something, then my calculator is fine.