Hello, in the example at this web site Circular Segment -- from Wolfram MathWorld. Will example (18) give me the volume of the segment.
Please excuse my ignoranceI am in my mid 50's and was never very good at math. Best regards, Ken
To expand on this question, . I built a level sensor. I am looking for a formula that will give me the volume of the tank if the tank isn't level. Let me explain what I have. The way it works is this.
The sensor has a float tethered to a take up spool. the spool has a gear attached to it so as the float risers or lowers a hall effect sensor counts the number of teeth that pass. This number is then passed on to a microprocessor. And from the count I can now determine the volume in the tank if the tank is level. In the sensor I have two accelerometers, one for the X axis and one for the Z axis. These will give me the amount the tank is off level in degrees in both directions. The formula I am looking for is to find out the actual volume in the tank. I've attached a PDF drawing that may help in what I am trying to do. If anyone can't help me or point me in the right direction, I would be most appreciative.