Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Education > Algebra help > Formula Help
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 1944 of 2051
Post > Topic >>

Formula Help

by bradeatspoo@[EMAIL PROTECTED] Dec 30, 2007 at 01:22 PM

I am a computer program and not a mathematician.  I use the equations
below to calculate Gallons when I have the Radius, Depth and Length of
an oil tank.  However, sometimes I need to calculate Depth when I have
the Radius, Length and Gallons.  Any help in reworking these formulas
would be greatly appreciated.


If iDepth <= iRadius Then

            iGals = ((iRadius * iRadius * Acos((iRadius - iDepth) /
iRadius)) - ((iRadius - iDepth) * Sqrt(2 * iRadius * iDepth - iDepth *
iDepth))) * iLength / 231

Else
            iGals = ((PI * iRadius * iRadius) - ((iRadius * iRadius *
Acos((iRadius - (2 * iRadius - iDepth)) / iRadius)) - ((iRadius - (2 *
iRadius - iDepth)) * Sqrt(2 * iRadius * (2 * iRadius - iDepth) - ((2 *
iRadius - iDepth) * (2 * iRadius - iDepth)))))) * iLength / 231

End If
 




 6 Posts in Topic:
Formula Help
bradeatspoo@[EMAIL PROTEC  2007-12-30 13:22:30 
Re: Formula Help
"Brian M. Scott"  2007-12-30 22:16:11 
Re: Formula Help
David W. Cantrell <DWC  2007-12-31 04:58:05 
Re: Formula Help
bradeatspoo@[EMAIL PROTEC  2007-12-30 21:22:33 
Re: Formula Help
David W. Cantrell <DWC  2008-01-01 00:14:29 
Re: Formula Help
bradeatspoo@[EMAIL PROTEC  2008-01-03 15:00:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 4:36:05 CDT 2008.