10-26-2022, 06:53 PM
Dear All
Please, find attached a simple code and documentation for solving Cutoff Frequency for circular waveguide, considering TEmn or TMmn modes; (to be used with "HP Solver" feature).
Order range: 0≤m≤4 and 1≤n≤4
Since this is my first program submission, I would appreciate your feedbacks, in order to improve my way of doing the documentation.
Attachments:
- Program documentation, including example, math equations, how to use explanations, source code, etc; (xlsx and pdf)
- PLmn and Pmn matrices as variables (xls)
- RAW format file (zip)
Kind regards,
Please, find attached a simple code and documentation for solving Cutoff Frequency for circular waveguide, considering TEmn or TMmn modes; (to be used with "HP Solver" feature).
Order range: 0≤m≤4 and 1≤n≤4
Since this is my first program submission, I would appreciate your feedbacks, in order to improve my way of doing the documentation.
Attachments:
- Program documentation, including example, math equations, how to use explanations, source code, etc; (xlsx and pdf)
- PLmn and Pmn matrices as variables (xls)
- RAW format file (zip)
Code:
00 { 135-Byte Prgm }
01▸LBL "FRECC"
02 MVAR "FREC"
03 MVAR "ADIAM"
04 MVAR "TE/M"
05 MVAR "M"
06 MVAR "N"
07 MVAR "Er"
08 MVAR "Ur"
09 4
10 RCL- "M"
11 X<0?
12 RTN
13 4
14 RCL- "N"
15 X<0?
16 RTN
17 1
18 RCL "TE/M"
19 X=Y?
20 INDEX "PLmn"
21 2
22 RCL "TE/M"
23 X=Y?
24 INDEX "Pmn"
25 1
26 RCL+ "M"
27 RCL "N"
28 STOIJ
29 RCLEL
30 RCL÷ "ADIAM"
31 95429303.8779
32 ×
33 RCL "Ur"
34 RCL× "Er"
35 SQRT
36 ÷
37 RCL- "FREC"
38 END
Kind regards,