Post Reply 
41 Cistern Program
08-13-2016, 09:41 PM (This post was last modified: 08-13-2016 09:56 PM by Gerson W. Barbosa.)
Post: #7
RE: 41 Cistern Program
(08-13-2016 11:06 AM)Werner Wrote:  Or (in radians, L, R, H on stack):

Code:
\<<
  \-> L R H
  \<<
    1 H R / - ACOS DUP +
    DUP SIN - L * R SQ * 2 /
  \>>
\>>

stack only:

Code:
\<<
  OVER / 1 SWAP - ACOS DUP +
  DUP SIN - SWAP SQ * * 2 /
\>>

Or, without SIN:

Code:

«  L R H
  « 'L*(SQ(R)*ACOS(1-H/R)+(H-R)*√(H*(2*R-H)))' EVAL
  »
»

Regards,

Gerson.

P.S.: That's essentially the same formula provided by Wojtek. I hadn't seen the attachment, instead I used one I had derived years ago when solving a perhaps more interesing problem ( Time to drain a horizontal cylindrical tank ).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
41 Cistern Program - SlideRule - 08-11-2016, 12:46 PM
RE: 41 Cistern Program - wojtek - 08-13-2016, 08:29 AM
RE: 41 Cistern Program - SlideRule - 08-13-2016, 12:18 PM
RE: 41 Cistern Program - wojtek - 08-13-2016, 06:29 PM
RE: 41 Cistern Program - aurelio - 08-15-2016, 05:20 PM
RE: 41 Cistern Program - wojtek - 08-15-2016, 07:06 PM
RE: 41 Cistern Program - aurelio - 08-15-2016, 08:25 PM
RE: 41 Cistern Program - wojtek - 08-15-2016, 07:28 PM
RE: 41 Cistern Program - Werner - 08-13-2016, 11:06 AM
RE: 41 Cistern Program - Gerson W. Barbosa - 08-13-2016 09:41 PM
RE: 41 Cistern Program - Massimo Gnerucci - 08-14-2016, 07:07 AM
RE: 41 Cistern Program - Gerson W. Barbosa - 08-14-2016, 02:26 PM
RE: 41 Cistern Program - Gerson W. Barbosa - 08-16-2016, 07:08 PM
RE: 41 Cistern Program - Gerson W. Barbosa - 08-17-2016, 04:47 AM
RE: 41 Cistern Program - wojtek - 08-17-2016, 06:08 AM
RE: 41 Cistern Program - Ángel Martin - 08-17-2016, 06:46 AM
RE: 41 Cistern Program - aurelio - 08-17-2016, 09:03 AM
RE: 41 Cistern Program - Dieter - 08-17-2016, 01:30 PM
RE: 41 Cistern Program - Gerson W. Barbosa - 08-18-2016, 02:44 AM
RE: 41 Cistern Program - wojtek - 08-13-2016, 06:44 PM
RE: 41 Cistern Program - wojtek - 08-13-2016, 09:57 PM
RE: 41 Cistern Program - Gerson W. Barbosa - 08-14-2016, 04:34 AM
RE: 41 Cistern Program - Gerson W. Barbosa - 08-14-2016, 05:19 PM
RE: 41 Cistern Program - Gerson W. Barbosa - 08-16-2016, 05:49 AM
RE: 41 Cistern Program - wojtek - 08-15-2016, 09:08 PM
RE: 41 Cistern Program - Gerson W. Barbosa - 08-16-2016, 01:56 AM
RE: 41 Cistern Program - wojtek - 08-17-2016, 02:13 PM
RE: 41 Cistern Program - aurelio - 08-17-2016, 04:51 PM
RE: 41 Cistern Program - Gerson W. Barbosa - 08-19-2016, 05:03 AM
RE: 41 Cistern Program - Gerson W. Barbosa - 08-19-2016, 01:13 PM
RE: 41 Cistern Program - Gerson W. Barbosa - 08-19-2016, 08:37 PM
RE: 41 Cistern Program - 4ster - 08-17-2016, 02:22 PM
RE: 41 Cistern Program - Csaba Tizedes - 08-19-2016, 08:23 AM
RE: 41 Cistern Program - aurelio - 08-19-2016, 11:54 AM
RE: 41 Cistern Program - wojtek - 08-19-2016, 12:49 PM
RE: 41 Cistern Program - Csaba Tizedes - 08-19-2016, 04:55 PM
RE: 41 Cistern Program - Csaba Tizedes - 08-19-2016, 05:07 PM
RE: 41 Cistern Program - wojtek - 08-19-2016, 07:18 PM
RE: 41 Cistern Program - aurelio - 08-19-2016, 10:05 PM
RE: 41 Cistern Program - Csaba Tizedes - 08-19-2016, 11:29 PM
RE: 41 Cistern Program - aurelio - 08-20-2016, 07:51 AM
RE: 41 Cistern Program - Csaba Tizedes - 08-20-2016, 09:16 AM
RE: 41 Cistern Program - Gerson W. Barbosa - 08-20-2016, 05:34 AM
RE: 41 Cistern Program - aurelio - 08-20-2016, 08:02 AM
RE: 41 Cistern Program - Gerson W. Barbosa - 08-20-2016, 03:40 PM
RE: 41 Cistern Program - Csaba Tizedes - 08-20-2016, 06:57 PM
RE: 41 Cistern Program - Gerson W. Barbosa - 08-20-2016, 07:54 PM



User(s) browsing this thread: 14 Guest(s)