Login    Register
User Information
Username:
Password:
We are a free and open
community, all are welcome.
Click here to Register
Sponsored
Who is online

In total there are 75 users online :: 3 registered, 0 hidden and 72 guests


Most users ever online was 155 on Mon Aug 15, 2016 1:40 am

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot] based on users active over the past 5 minutes

The Team
Administrators
Global Moderators
global_moderators.png CS

my knock off spudgun calculator

A place to ask general spud cannon related questions.
Sponsored 
  • Author
    Message

my knock off spudgun calculator

Unread postAuthor: saladtossser » Mon Jan 09, 2006 8:57 pm

never noticed this new section b4
i reversed the function of fuel tool
in fuel tool, u input propane pressure and you get the length of pipe you need
in my version, u input the meter pipes dia and length, and the calculator will tell you what pressure you need a regulator to be set at

where can i upload a xls file?

i am trying to make a javascript version of this, but failed 3 times...
http://littlecrazyprojects.tripod.com/guncalculator.htm <---dont work
http://littlecrazyprojects.tripod.com/g ... lator2.htm <---dont work
and
another:

<html>
<form name="cal">
<input type="text" name="chamber_dia" size="10" value="0" onchange="javascript(document.cal.chamber_dia.value / 2 * document.cal.chamber_dia.value / 2 * 3.14159 * document.cal.chamber_length.value = document.cal.chamber_volume.value)">
<br>
<input type="text" name="chamber_length" size="10" value="0" onchange="javascript(document.cal.chamber_dia.value / 2 * document.cal.chamber_dia.value / 2 * 3.14159 * document.cal.chamber_length.value = document.cal.chamber_volume.value)">
<br>
<input type="text" name="chamber_volume" size="10" readonly>
<br>
<input type="text" name="barrel_dia" size="10" value="0" onchange="javascript(document.cal.barrel_dia.value / 2 * document.cal.barrel_dia.value / 2 * 3.14159 * document.cal.barrel_length.value = document.cal.barrel_volume.value)"> <br>
<input type="text" name="barrel_length" size="10" value="0" onchange="javascript(document.cal.barrel_dia.value / 2 * document.cal.barrel_dia.value / 2 * 3.14159 * document.cal.barrel_length.value = document.cal.barrel_volume.value)">
<br>
<input type="text" name="barrel_volume" size="10" readonly>
<br>
<input type="button" name="cb_ratio_cal" value="Calculate Your Chamber to Barrel Ratio" onclick="javascript (document.cal.chamber_volume.value / document.cal.barrel_volume.value = document.cal.cb_ratio.value)">
<br>
<input type="text" name="cb_ratio" size="10" readonly>
<br>
<input type="text" name="meter_dia" size="10" value="0" onchange="javascript(document.cal.meter_dia.value / 2 * document.cal.meter_dia.value / 2 * 3.14159 * document.cal.meter_length.value = document.cal.meter_volume.value)"> <br>
<input type="text" name="meter_length" size="10" value="0" onchange="javascript(document.cal.meter_dia.value / 2 * document.cal.meter_dia.value / 2 * 3.14159 * document.cal.meter_length.value = document.cal.meter_volume.value)">
<br>
<input type="text" name="meter_volume" size="10" readonly>
<br>
<input type="text" name="best_mix" value="4.03%" readonly>
<br>
<input type="button" name="best_pressure_cal" value="Calculate Your Recommended Propane Volume in Chamber" onclick="javascript(document.cal.chamber_volume.value * 0.0403 = document.cal.best_propane_volume.value)">
<br>
<input type="text" size="10" name="best_propane_volume" readonly>
<br>
<input type="button" name="best_pressure_cal" value="Calculate Your Recommended Propane Volume in Chamber" onclick="javascript(document.cal.best_propane_volume.value * 14.6 = document.cal.best_propane_pressure.value)">
<br>
<input type="text" size="10" name="best_propane_pressure" readonly>
</form> </html>

if any1 can help me fix that up, that will be great, i just made the script in onchange="" and onclick="" up.

edit, just uploaded a excel file:
http://littlecrazyprojects.tripod.com/guncal.htm
i want the form to do exactly as the spreadsheet
  • 0

Last edited by saladtossser on Thu Jan 19, 2006 7:47 pm, edited 2 times in total.
"whoa... I thought pimpmann was black..."-pyromanic13
User avatar
saladtossser
Brigadier General
Brigadier General
 
Posts: 1234
Joined: Sat Mar 26, 2005 10:40 am
Location: Toronto
Reputation: 0

Unread postAuthor: CS » Mon Jan 09, 2006 11:39 pm

"my knock off spudgun calculator"
LMAO! If I ever create a calc of any kind I will name it "My Throwback Spudgun Cauculator". Sorry that I cant help you but once you cross over into javascript thats were its super confusing! The only hard thing ive learned is a little of CSS. Sorry for being critical, but have you ever heard of a "capital letter"? JK
  • 0

User avatar
CS
Donating Moderator
Donating Moderator
 
Posts: 1897
Joined: Fri Feb 18, 2005 5:32 pm
Location: Southern Utah
Country: United States (us)
Reputation: 4

Unread postAuthor: saladtossser » Tue Jan 10, 2006 4:30 pm

http://littlecrazyprojects.tripod.com/guncal.htm
it worked
big thanks to the ppl at ExcelEverywhere, also pcguy and boogieman for indirectly suggesting me to use exceleverywhere.

edit: awesome, i got 3 hits that came from this particular post
  • 0

"whoa... I thought pimpmann was black..."-pyromanic13
User avatar
saladtossser
Brigadier General
Brigadier General
 
Posts: 1234
Joined: Sat Mar 26, 2005 10:40 am
Location: Toronto
Reputation: 0

Unread postAuthor: nicholai » Sat Feb 25, 2006 2:48 pm

hey i got the same idea going over here except im gonna code it in visual basic and i didnt rip off anyones code, well i did rip off the numbers used for the calculations, however i adjusted the inside diameter sizes of certain pipe fittings like brass and obviously pvc cause i got different ones from the calipers. its kinda a little side project of mine and its real dirty looking so far but i will post it and revise constantly when i find the appropriate "artwork" to display such a tool
  • 0

Image
User avatar
nicholai
Captain
Captain
 
Posts: 349
Joined: Wed Jan 04, 2006 4:18 pm
Location: Maine
Reputation: 0

Return to General Spud Cannon Related

Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]

Reputation System ©'