Post Reply 
More Accurate Parallel Resistance
01-12-2017, 11:56 PM (This post was last modified: 01-14-2017 05:46 PM by BERNARD MICHAUD.)
Post: #7
RE: "Pres": More Accurate Parallel Resistance
A simple small programs for for those interested, using Joe's formula above which can calculate Series or Parallel Impedances. The program prompts you to enter several resistance and/or impedance values except '0' of course in the List L1 which you usually get by <Shift 7>, and press Enter.

Code:
//Program Name SerParImp or your choice.
EXPORT Series()
BEGIN
L1:=0;//Clears values in L1
MSGBOX("  Enter your impedances
        in the List L1
         Press Enter");
EDITLIST(L1);//Prompts to enter values in the list
PRINT();
PRINT("





       Total Series Impedance = "+ΣLIST(L1));//Calculate and display result.
END;

EXPORT Parallel()
BEGIN
L1:=0;
MSGBOX("  Enter your impedances
        in the List L1
         Press Enter");
EDITLIST(L1);
PRINT();
PRINT("





    Total Paralllel Impedance = "+ΠLIST(L1)/ΣLIST(ΠLIST(L1)/L1));
END;

BM
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: "Pres": More Accurate Parallel Resistance - BERNARD MICHAUD - 01-12-2017 11:56 PM



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