41 Cistern Program
|
08-19-2016, 01:13 PM
(This post was last modified: 08-19-2016 07:31 PM by Gerson W. Barbosa.)
Post: #34
|
|||
|
|||
RE: 41 Cistern Program
(08-19-2016 05:03 AM)Gerson W. Barbosa Wrote:(08-17-2016 04:51 PM)aurelio Wrote: Here they take in account also the different shape of the heads, unfortunately not a case of sloped vessels.. (08-19-2016 05:03 AM)Gerson W. Barbosa Wrote:(08-17-2016 04:51 PM)aurelio Wrote: Here they take in account also the different shape of the heads, unfortunately not a case of sloped vessels.. Code:
Fill the stack with L, D, a, h. For a spherical tank, just make L=0 and a = D/2 (for instance, L=0, D=4, a=2 and h=4 --> a full spherical tank). This can be simplified as Code:
The angle mode is irrelevant on the HP 50g if IM(ACOSH) is used instead of ACOS. Size has now been reduced to 191 bytes. 2 1 0.25 0.5 --> 0.916297857295 0 4 2 4 --> 33.5103216383 (32*π/3) 0 4 2 2 -->16.7551608191 (16*π/3) Is the latter half full or half empty? :-) ---------------------------------------------------------------------------------------- \(V= L\left [ \frac{D^{2}}{4}\cos^{-1}\left ( 1-\frac{2h}{D} \right )+ \sqrt{h\left ( D-h \right )}\left ( h-\frac{D}{2} \right ) \right ] +\pi a h^{2}\left ( 1-\frac{2h}{3D} \right )\) Edited to include diagram and equation |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 5 Guest(s)