Metropoli BBS
VIEWER: eestuff.doc MODE: TEXT (ASCII)
Subject: ee apps qwik docs (save this)

Hi everyone, here is the Electrical Engineering Apps I promised.
This file has NOT been coded by UCODE, please do not attempt to
run uudecode to retrieve this file. Instead, cut off the headers
of this message up to and including the lines that say CUT here
which I have placed at the TOP and Bottom of the file. Choose a
file name that is typical of an hp variable name ie. EEAPPS. The
first line of the ASCII text file should read %%HP: T(1)A(D)F(.);
and the last line should read END. To transfer these programs
from your PC to your HP you must have access to a PC link program
such as KSRV48.EXE as well as a serial port cable which connects
from the HP 48 GX to a PC.

These programs will only be found useful for EE ET and EET majors
for your circuit analysis 1&2 and solid state courses. Some apps
will also be found useful for more advanced courses and also for
working engineering professionals. If your are not an EE major,
you probably wont have much use for any of the apps in this
collection but if you are interested in programming you can see
some programming techniques I have used. The author of these
programs (Fred Anderson) does NOT claim to be an GENIUS or does
he guarantee the accuracy of these APPS. The programs widely very
in complexity, some APPS containing two lines of code while some
are well over 1k long. Many of these APPS have been widely used by
a number of other students who also proclaimed these APPS to be quite
useful. All of the source code may be viewed and modified on an HP as
seen fit. The author (me) Fred Anderson encourages you to freely
distribute these programs to anyone who may find them useful.


Heres some quick docs that might help you get started with the software I
wrote.

First Directory contains a few small progams that will be used in later
programs so they are on the first level.

EET -- a subdir with more EE programs
CAP -- enter the Xc (reactance) on the stack and CAP will put your
       reactance into appropriate phasor notation. This is useful
       when your adding a series of caps and resistors together
CST -- a CUSTOM menu that can be accessed by your CST button containing
       all of the MOST essential programs.
IND -- same as CAP but does the appropriate phase notation for an inductor
       also very useful for addition.
KILO -- simple multiplier of 1E3
MICRO -- MULTIPLIES BY 1E-6
MILI -- MULTIPLIES BY 1E-3
SRT -- nice program for sorting all your directors and programs in your
       current directory. Very useful
STAK -- you can display up to 10 levels of the stack on the graphics
        screen. Also very useful

under the EET directory you will see the programs

IDST -- current divider rule, first enter in however many resistor branches
        you have and then enter the total number of current that you will
        be dividing. This will return the amount of current going through
        each branch. No limit on number of branches.
VDST -- voltage divider rule. Resistors in a series will each have a voltage
        drop according to the size of the resistor. Enter in each resistor
        value then enter the supply voltage and VDST will calculate the
        voltage drop accross each resistor.
VZ<IZ
IZ>VZ   OHMS LAW CALULATION

Y>DELTA
DELTA>Y   ENTER IN THREE RESISTOR VALUES AND THIS WILL PERFORM THE LENGTHY
          EQUATION OF CONVERTING BETWEEN THE TWO. 

ZADDP   ENTER IN A SERIES OF RESISTORS AND REACTANCE VALUES THAT WITH TO
        ADD IN PARALLEL, REPEATE THE PROGRAM UNTIL YOU HAVE JUST ONE VALUE
        1K OHMS RES 10K OHMS 740 OHMS 540 OHMS ZADDP ZADDP ZADDP ZADDP
        RETURNS A VALUE OF 232.4 (OHMS). This also works for addition of
        capacitor in series.(make sure you have the caps in their proper
        phasor notation.)

ZADDS   ADDS STUFF IN SERIES. 

UNDER THE ac directory there are many useful programs including :

BRIDGE -- THIS NIFTY PROGRAM CALCULATES A BALANCED BRIDGE PROBLEM. PUSH
          THE BUTTON AND ENTER IN EACH Z1 Z2 & Z3 (THEY ALL MUST BE IN
          COMPLEX FORM (X,Y) FOR THE PROGRAM TO WORK. THIS PROGRAM WILL
          CALCULATE WHAT VALUE OF Z4 YOU NEED TO MAKE Z1 AND Z3 IN SERIES
          BALANCED WITH Z2 AND Z4. 
IMPSP --  INPEDANCE CONVERSION FROM SERIAL TO PARALLEL (ENTER VALUES IN
          COMPLEX FORM) (X,y)

MESH  --- MESH ANALYSIS (WORKS WITH ONLY TWO LOOPS)
NODAL --- NODAL ANALYSIS

PWEQ -- POWER EQUATIONS, ENTER IN A VOLTAGE AND AN IMPEDANCE AND IT WILL
         RETURN SOME USEFUL INFO.

VP>R
VR>P    CONVERSION BETWEEN VP (VOLTAGE PEAK) AND VOLTAGE ROOT MEAN SQUARE RMS

XC   -- CAPACITOR REACTANCE, ENTER IN FREQUENCY ON STACK THEN ENTER THE CAP
        VALUE AND IT WILL RETURN THE REACTANCE VALUE
XL  -- SAME AS ABOVE BUT WORKS FOR INDUCTORS

XC -1 -- ANTI-REACTANCE CONVERSION, ENTER FREQUENCY AND REACTANCE VALUE ON
         STACK AND WILL RETURN FACE VALUE OF THE CAP.
XL- 1  -- SAME AS ABOVE BUT WORKS FOR INDUCTORS.

w>F
F>w    -- conversion between Rad/Sec and frequency

microF  -- great little program. hit the button, enter in the those confusing
           three digit code on ceramic disk capacitors and this will return
            the actual value of the Cap in microFarads

ztzl  -- small program returns the complex conjugate of a complex number


I will discuss the AC filters, power correction, resonance, and thevinin
program directories in a later post.

have fun

[ RETURN TO DIRECTORY ]