The Museum of HP Calculators


WEIR Metric for the HP 42S

This program is by Ken Delsnider and is used here by permission.

This program is supplied without representation or warranty of any kind. Ken Delsnider and The Museum of HP Calculators therefore assume no responsibility and shall have no liability, consequential or otherwise, of any kind arising from the use of this program material or any part thereof.

Overview

Program Name WEIR METRIC
Function Use to calculate the flow over a rectangular weir.
Where:
L = Length of weir in metres
Q = Flow in cubic metres per sec
HW = Height of weir in metres
HL = Head of flow above the weir in meters

Listing

00 { 78-Byte Prgm }
01>LBL "WEIR"
02 MVAR "LEN"
03 MVAR "HW"
04 MVAR "HL"
05 MVAR "Q"
06 RCL "HL"
07 3E-3
08 ×
09 1.787
10 +
11 RCL "HL"
12 RCL "HW"
13 ÷
14 0.236
15 ×
16 +
17 RCL "LEN"
18 ×
19 RCL "HL"
20 1.5
21 yx
22 ×
23 RCL "Q"
24 -
25 END

Go back to the software library
Go back to the main exhibit hall