Matrix example 3, electric circuit, HP15c Owner's Handbook - Pages 169-171

Description

GSB 3

Complex impedances for each loop are:
10+200i
-200i

-200i
(200-30)i

Voltages are:
5
0

Output values for current are:
0.0372 + 0.1311i
0.0437 + 0.1543i

I added a R/S statement in the program after the set of matrix STO statements. It is ignored as it is immediately after the last data entry where a program statement skip automatically occurs. If you don’t use these redundant statements you will get strange results. USER mode during programming allows indexed STO and RCL of matrix elements. The f MATRIX 0 statement is also essential.

John Patterson
jepattersonatactrix.co.nz
http://www.jepspectro.com

Program Resources

Labels

Name Description
 3 GSB 3 Matrix example 3, electric circuit, HP15c Owner's Handbook - Pages 169-171
.3

Flags

Number Description
8 CF8 Clear complex number flag

Program

Line Display Key Sequence Line Display Key Sequence Line Display Key Sequence
000 021 0 0 042 5 5
001 42,21, 3 f LBL 3 022 0 0 043 36 ENTER
002 43, 5, 8 g CF 8 023 u 44 11 USER STO A 044 1 1
003 42,16, 0 f MATRIX 0 024 42 31 f PSE 045 36 ENTER
004 4 4 025 16 CHS 046 44,43,12 STO g B
005 36 ENTER 026 u 44 11 USER STO A 047 45,16,12 RCL MATRIX B
006 2 2 027 42 31 f PSE 048 42 31 f PSE
007 42,23,11 f DIM A 028 u 44 11 USER STO A 049 45,16,11 RCL MATRIX A
008 42,16, 1 f MATRIX 1 029 42 31 f PSE 050 42 31 f PSE
009 1 1 030 1 1 051 42,16, 2 f MATRIX 2
010 0 0 031 7 7 052 42,26,13 f RESULT C
011 u 44 11 USER STO A 032 0 0 053 10 ÷
012 42 31 f PSE 033 u 44 11 USER STO A 054 42 31 f PSE
013 0 0 034 31 R/S 055 43 40 g C y,x
014 u 44 11 USER STO A 035 42 31 f PSE 056 42 31 f PSE
015 42 31 f PSE 036 4 4 057 42,21, .3 f LBL . 3
016 u 44 11 USER STO A 037 36 ENTER 058 42 31 f PSE
017 42 31 f PSE 038 1 1 059 u 45 13 USER RCL C
018 u 44 11 USER STO A 039 42,23,12 f DIM B 060 22 .3 GTO . 3
019 42 31 f PSE 040 0 0 061 42 31 f PSE
020 2 2 041 44,16,12 STO MATRIX B 062 43 32 g RTN