Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:calculator:progs:dm15l_progs [30/01/26 14:01 GMT] – [Work Tools plus Benchmarks plus Dot/Cross/UVEC] johnpublic:calculator:progs:dm15l_progs [31/01/26 11:59 GMT] (current) – [Work Tools & Dot/Cross/UVEC] john
Line 1402: Line 1402:
     * Run for 60 seconds, press <key>'R/S'</key> and find result in reg 02 <key>RCL</key><key>0</key><key>2</key>     * Run for 60 seconds, press <key>'R/S'</key> and find result in reg 02 <key>RCL</key><key>0</key><key>2</key>
  
-==== Work Tools plus Dot/Cross/UVEC ==== 
  
-%% +==== Dot/Cross/Uvec ====
-43 12 22 104 40 86 43 10 66 22 59 90 59 14 10 39 10 39 90 37 86 43 11 66 22 59 90 59 10 39 10 39 90 14 38 86 43 104 40 4 13 2 26 125 2 26 126 2 40 13 3 26 38 17 3 26 37 40 92 30 25 39 24 17 3 86 43 103 22 22 26 38 14 26 37 40 92 30 25 39 24 86 43 102 30 25 40 12 22 22 26 37 14 26 38 40 86 43 101 13 2 10 13 1 10 13 0 22 93 14 53 26 25 25 39 26 35 40 37 29 27 31 27 39 17 1 14 38 17 2 40 26 25 25 39 86 43 100 34 25 31 14 118 8 7 1 32 39 34 25 35 37 86 43 1 34 25 35 38 32 40 86 0  +
-%% +
- +
-==== Work Tools plus Benchmarks plus Dot/Cross/UVEC ====+
  
 %% %%
-43 12 22 104 40 86 43 11 66 22 59 90 59 10 39 10 39 90 14 38 86 43 10 66 22 59 90 59 14 10 39 10 39 90 37 86 43 55 31 35 29 30 35 13 0 25 13 2 43 56 17 0 11 91 15 95 19 99 88 8 26 121 2 7 56 86 43 44 25 13 2 26 29 25 26 30 34 27 23 35 13 0 30 29 34 27 31 13 1 43 45 17 1 17 0 39 17 1 38 17 0 40 17 1 39 34 29 31 40 4 26 121 2 7 45 86 43 88 54 32 13 10 43 80 17 0 17 10 118 6 7 84 26 121 0 17 0 13 254 17 10 13 255 43 81 26 121 11 17 0 13 9 43 82 26 122 9 17 9 118 12 7 80 17 0 13 254 17 255 17 9 13 254 10 17 255 38 118 12 7 83 104 17 0 17 9 38 118 7 7 82 43 83 17 0 13 254 26 122 255 17 255 118 1 7 81 26 122 0 17 0 118 1 7 83 43 84 17 11 58 86 43 66 112 30 27 36 36 13 0 26 22 22 22 43 67 84 4 88 8 99 19 37 71 0 7 67 58 86 43 104 40 4 13 2 26 125 2 26 126 2 40 13 3 26 38 17 3 26 37 40 92 30 25 39 24 17 3 86 43 103 22 22 26 38 14 26 37 40 92 30 25 39 24 86 43 102 30 25 40 12 22 22 26 37 14 26 38 40 86 43 101 13 2 10 13 10 13 0 22 93 14 53 26 25 25 39 26 35 40 37 29 27 31 27 39 17 1 14 38 17 2 40 26 25 25 39 86 43 100 34 25 31 14 118 8 7 1 32 39 34 25 35 37 86 43 1 34 25 35 38 32 40 86 0 0 +43 12 22 104 40 86 43 11 13 99 10 13 98 55 17 99 39 17 98 17 99 55 39 38 30 78 40 86 43 10 13 98 10 13 99 17 98 55 39 17 98 17 99 55 39 37 30 40 86 0 0 
 %% %%
  
-  * As above for work tools +* Dot Product of 2 complex numbers in y and x
-  * Dot Product of 2 complex numbers in y and x+
     * ''|Y||X|Cosθ''     * ''|Y||X|Cosθ''
       * Y = Y<sub>re</sub> + j Y<sub>im</sub>       * Y = Y<sub>re</sub> + j Y<sub>im</sub>
Line 1422: Line 1416:
     * Another way without splitting the complex number into its real & imaginary parts     * Another way without splitting the complex number into its real & imaginary parts
       * Dot Product Y ⋅ X = (Y<sup>*</sup>.X + Y.X<sup>*</sup>) / 2       * Dot Product Y ⋅ X = (Y<sup>*</sup>.X + Y.X<sup>*</sup>) / 2
 +        * <key>'f'</key> <key>LBL</key> ''10''
 +
  
   * Cross Product of 2 complex numbers in y and x   * Cross Product of 2 complex numbers in y and x
Line 1430: Line 1426:
     * Another way without splitting the complex number into its real & imaginary parts     * Another way without splitting the complex number into its real & imaginary parts
       * Cross Product Y ⊗ X = (Y<sup>*</sup>.X - Y.X<sup>*</sup>) / 2i       * Cross Product Y ⊗ X = (Y<sup>*</sup>.X - Y.X<sup>*</sup>) / 2i
 +        * <key>'f'</key> <key>LBL</key> ''11''
 +
  
  
   * Unit Vector of a complex number in x : <key>'f'</key> <key>LBL</key> ''12''   * Unit Vector of a complex number in x : <key>'f'</key> <key>LBL</key> ''12''
- 
- 
-==== Dot/Cross/Uvec ==== 
- 
-43 99 86 43 12 22 104 40 86 43 10 66 22 59 90 59 14 10 39 10 39 90 37 86 43 11 66 22 59 90 59 10 39 10 39 90 14 38 86 26 125 2 26 126 2 40 13 3 26 38 17 3 26 37 40 92 30 25 39 24 17 3 86 10 13 1 10 13 0 22 93 14 53 26 25 25 39 26 35 40 37 29 270 0  
  
  
 === Dot Product === === Dot Product ===
  
-** BEWARE **  won't work if one number is "real" with imaginary part of ''0'' due to the impossibility of splitting into real & imaginary using ''fI'' 
-<code> 
-LBL 10 
-→R 
-Enter  
-f I 
-R ↑ 
-f I 
-x<>y 
-R ↓ 
-x 
-R ↓ 
-x 
-R ↑ 
- 
-RTN 
- 
-</code> 
  
-Different version which works even if one number is real (i.e. angle is zero) 
  
 <code> <code>
Line 1486: Line 1460:
 === Cross Product === === Cross Product ===
  
-** BEWARE **  won't work if one number is "real" with imaginary part of ''0'' 
  
-<code> 
-LBL 11 
-→R 
-Enter  
-f I 
-R ↑ 
-f I 
-R ↓ 
-x 
-R ↓ 
-x 
-R ↑ 
-x<>y 
-- 
-RTN 
- 
-</code> 
- 
-Different version which handles real / angle zero 
  
 <code> <code>
Line 1541: Line 1495:
 </code> </code>
  
 +==== Work Tools & Dot/Cross/UVEC ====
 +
 +%%
 +43 104 40 4 13 2 26 125 2 26 126 2 40 13 3 26 38 17 3 26 37 40 92 30 25 39 24 13 4 17 3 86 43 102 30 25 40 12 22 22 26 37 14 26 38 40 86 43 103 22 22 26 38 14 26 37 40 92 30 25 39 24 86 43 101 13 2 10 13 1 10 13 0 22 93 14 53 26 25 25 39 26 35 40 37 29 27 31 27 39 17 1 14 38 17 2 40 26 25 25 39 86 43 100 34 25 35 14 118 9 7 9 34 25 35 38 32 40 86 43 9 32 39 34 25 35 37 86 43 12 22 104 40 86 43 11 13 99 10 13 98 55 17 99 39 17 98 17 99 55 39 38 30 78 40 86 43 10 13 98 10 13 99 17 98 55 39 17 98 17 99 55 39 37 30 40 86 0 0 
 +%%
 +
 + 
 +  * ''LBL A'' = DTT  ''MHz'' or ''Channel No'' <key>'f'</key> <key>'A'</key> -> ''Channel No'' or ''MHz''
 +  * ''LBL B'' = Gas :  ''tare weight'' <key>ENTER</key> ''gross kg'' <key>ENTER</key> ''cylinder size kg'' <key>'f'</key> <key>'B'</key> -> Fill percentage ''%''
 +  * ''LBL C'' = ''Return Loss dB''<key>'f'</key> <key>'C'</key> -> ''SWR''
 +  * ''LBL D'' = ''SWR'' <key>'f'</key> <key>'D'</key> -> ''Return Loss dB''
 +  * ''LBL E'' = ''Reflected Power'' <key>ENTER</key> ''Forward Power'' <key>'f'</key> <key>'E'</key> -> ''Return Loss dB'' (y),  ''SWR'' (x)
 +
 +  * ''LBL 10'' = Dot Product
 +  * ''LBL 11'' = Cross Product
 +  * ''LBL 12'' = Unit Vector
  
  

Navigation