Ok, so I'm building a pneumatic gun with a barrel 0.3m long, operated using air pressure. The barrel is square, 1cm on each side, and the projectile is a 5g elongated cube. I wrote some code in mathematica to plot the speed in m/s versus the air pressure in psi.(adsbygoogle = window.adsbygoogle || []).push({});

I was wondering if anyone could verify that my calculations are accurate, and if not, where I may have gone wrong. I'm pretty confident, but as I'm spending money on this I want to be sure.

The mathematica code is below:

-------------------------------

(*Variables;

x is the distance over which it accelerates;

m is projectile mass in kg;

area is area that the force acts on in cm (square barrel 1cm on each \

side);

*)

x = .3;

m = .005;

area = 1;

(* Constants and conversions *)

psiToPascalsConstant = 6894.7573;

pressforce[pressure_] := (pressure*psiToPascalsConstant)*

area; (* gives N *)

velocity[force_] := ((force/m)*Sqrt[(2 x)/(force/m)])/100;

Plot[velocity[pressforce[psi]], {psi, 0, 150},

AxesLabel -> {Psi, Velocity}]

-------------------------------

Thanks for your help!

-Axemaster

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Hoping to verify valve specs

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads - Hoping verify valve | Date |
---|---|

Force required to dislodge a sphere from pipe (Valve design) | Jan 17, 2018 |

Need help to verify an attempt to explain strain as point property | Jun 12, 2013 |

Please Verify My Calculations | Mar 5, 2012 |

Hopeful engineer here | Aug 21, 2010 |

A revision question that i have been stuck on, hope you can help | Nov 11, 2009 |

**Physics Forums - The Fusion of Science and Community**