41 Cistern Program
|
08-17-2016, 04:47 AM
Post: #21
|
|||
|
|||
RE: 41 Cistern Program
(08-16-2016 07:08 PM)Gerson W. Barbosa Wrote: Or, regardless the angle mode, but at the cost of 2.5 bytes and a few milliseconds more: A faster 55-byte solution: Code:
3 2 1 → 7.37021819169 (0.0497 s, 50g) An even faster 60-byte solution: Code:
3 2 1 → 7.37021819169 (0.0352 s, 50g) These require RADIANS mode, however. Also, 2.5 more bytes on the HP-48 (ROT ROT instead of UNROT). ------------------------------------------------------------------------------------ \(V=L\cdot R^{2}\cdot \left \{ Arg\left [ \left ( 1-\frac{H}{R} \right ),\sqrt{1-\left ( 1-\frac{H}{R} \right )^{2}} \right ] - \left ( 1-\frac{H}{R} \right )\cdot \sqrt{1-\left ( 1-\frac{H}{R} \right )^{2}} \right \}\) where \(Arg(a,b) = \tan^{-1}\left ( \frac{b}{a} \right )\) ------------------------------------------------------------------------------------ |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 5 Guest(s)