If you don't care about efficiency then I think a bubble sort would be your best option. You can read about them at the following links:
Bubble sort - Wikipedia, the free encyclopedia
Object moved
So I have calculated Sin(70°) = Opp / 30.816, in this equation Opp = 28.95757
BUT when I do Sin(X) = 28.95757 / 30.816 I result in 1.08422336464 when converted to degrees gives me 62.12° NOT 70°
If I put Opp (a) (28.95757) and Hypotenuse of (30.816) into the following calculator it says 70°...
Thank you so much Opalg! That is exactly what I needed. I am writing a specialized calculator to facilitate manufacturing of a float gauge that determines the tank's fill level.
I have a project I am working on that requires me to calculate the overall volume of propane tanks and the volume at a set distance from the bottom of the tank. The tanks come in two major configurations, ellipsoid ends with elliptical tank or hemispherical ends with cylindrical tank. I think...