PDA

View Full Version : What are the formulas?



bunkerking09
05-01-2008, 10:45 AM
Used at the12volt.com box calculators?

To make a long story short i'm making a box volume calculator for my programming class. I thought i had the right formulas but i'm getting an entirely different amount than when i punch in the same numbers on that website.

CRXBMPN
05-01-2008, 10:46 AM
my buddy made a box building program from scratch, would you like me to have him chime in on this? he is a computer programmer now.

dman4486
05-01-2008, 10:47 AM
it is just LxWxH for rectangular boxes with inside dimensions

CRXBMPN
05-01-2008, 10:49 AM
well its LxWxH / 1728 to get cubic feet, but if you want to make a whole box program with port calculator thats a bit more complicated

xi2elic
05-01-2008, 10:51 AM
I'm the programmer he was talking about and have done this exact thing before. If you want some help hit me up via PM. :)

dman4486
05-01-2008, 10:53 AM
or go to the 12v.com page and right mouse click then click page source

bunkerking09
05-01-2008, 10:54 AM
i was minly having problems with the cylinder but i got that bug worked out, i'll keep you posted on the wedge designs, they look difficult

lilmaniac2
05-01-2008, 10:54 AM
its not that hard really, tuning one is kinda long.

what language you writing it in?

xi2elic
05-01-2008, 10:54 AM
And if all you need is internal dimensions, try this:

((length - (woodThickness * 2)) * (width - (woodThickness * 2)) * (height - (woodThickness) * 2)) / 1728

This will give cubic feet, given all meaurements in inches.


Forget it, you probably got that down :P

bunkerking09
05-01-2008, 10:55 AM
its not that hard really, tuning one is kinda long.

what language you writing it in?

i'm just doing sealed boxs so i'm not worried about that

its in VB, pretty easy, i should be done with it in about the next 20 minutes

psych0ticnemes1
05-01-2008, 11:01 AM
The port tuning formula is quite involved. http://mobile.jlaudio.com/support_pages.php?page_id=165

bunkerking09
05-05-2008, 10:28 AM
whats the formula for the 3 sided wedge design? I thought it was just going to be base x height but it asks for height, width and depth