MOODY DIAGRAM FOR THE HP49G
MOODY.ENG
VERSION 3.1
July 20th 2000.
BY: JULIO CESAR RAMOS O.
E-MAIL: jcrmaster@hotmail.com
        cesarkid@latinmail.com
INSTITUTO TECNOLOGICO DE CHIHUAHUA. MEXICO.
SIZE: 3650 BYTES
CHECKSUM: # 18335d
PLATFORM: HP49G
WRITTEN IN: SYS-RPL 100%
LANGUAGE: ENGLISH.

Program update.- as the previous version crashes when the ROM 
version is 1.18 or later, I made this update to FIX the bug, caused by 
the use of UNSUPPORTED entries, which have been changed. Now, the 
program works in all ROM versions
Thanks to all the people who wrote mail to me to notice the behavior.
Bug fixed.- pressing ENTER without a value in any Input could
result in an error or a warmstart.

**********************************************************************
	This program was done with the purpose to do easier calculations
of [lambda] coefficients, relative roughness k/D and Reynolds Number.
These can be find using the graphic Moody's diagram, but it is hard to 
read, because all the confuse lines. The program does all without need 
the graphic, and with more accuracy.
It will be great, especially in exams. :)
	
WARNING: THIS PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY TYPE.
I, THE AUTHOR, WILL NOT BE RESPONSIBLE FOR ANY DAMAGES TO YOUR
CALCULATOR, DATA CORRUPTION, MEMORY LOST OR HARDWARE DAMAGE, CAUSED
DIRECTLY OR INDIRECTLY FOR THE USE OF THIS PROGRAM. 
THE PROGRAM IS FREEWARE, AND CAN BE DISTRIBUTED FREELY, WITH ONLY 
ONE RESTRICTION; GET THE WHOLE PACKAGE.
HOWEVER, THE PROGRAM DOES NOT HAVE ANY MALICIOUS INSTRUCTION, SYSEVAL
OR ANY TYPE OF TRAP DONE INTENTIONALLY.
THE PROGRAM IS DONE 100% IN SYS-RPL

DATA ENTRY:
The program has a main menu with the available options.
1) Laminar flow
2) Turbulent Flow
3) Smooth piping	
4) Flow type unknown

To obtain more reliable results, assure your data don't be out of the
Recommended range.
 
The result will appear on the stack, with the appropriate TAG.
OPTION 1.- (laminar Flow) Friction factor lambda can be calculated, given
the Reynolds number.
OPTION 2.- (turbulent Flow) will appear a choose-box, to make a selection
of what you need to calculate, Then do an input form to request data,
depending on your selection.
	The same will occur for the options 3 and 4.
If you give a value out of the range recommended, an alert will be
displayed, however, the program will do the calculation always.

All the FLAGS manipulated during the program, are changed to they initial
value, as they were before the program start.

The program can be canceled in its main menu, and in the choose box,
without risk of erase stack nor FLAGS change.
But, while the program is doing calculations, is not recommended to
press ON.
The stack will not be eraser nor altered on the normal execution of
the program.
All the variables created during the program are destroyed at the end.

This program is about 200% faster than the previous version, because the
new algorithm is written 100% in SYS-RPL.
The source code is available, only send me an E-mail.

Any question, suggestion, comment, bug report are welcome at:
jcrmaster@hotmail.com
cesarkid@latinmail.com
jcrmaster@netscape.net

And please don't forget to enter to my WEB page at:
http://www.geocities.com/CapeCanaveral/Galaxy/9055 

Future revisions of this program and some other new are under
development.

JULIO CESAR RAMOS O.
