Post Reply 
(42S) FRECC - Cutoff frequency equations for circular waveguide (TEmn or TMmn)
10-26-2022, 06:53 PM (This post was last modified: 10-30-2022 07:47 PM by Emilio Abud Filho.)
Post: #1
(42S) FRECC - Cutoff frequency equations for circular waveguide (TEmn or TMmn)
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)

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,


Attached File(s)
.pdf  HP-42S Program Documentation Form- FRECC_v104.pdf (Size: 162.31 KB / Downloads: 7)
.xlsx  Pmn.xlsx (Size: 8.81 KB / Downloads: 5)
.xlsx  PLmn.xlsx (Size: 8.81 KB / Downloads: 5)
.zip  FRECCraw.zip (Size: 241 bytes / Downloads: 6)
.xlsx  HP-42S Program Documentation Form- FRECC_v104.xlsx (Size: 37.79 KB / Downloads: 4)

Emilio Abud Filho
Mobile: +55 (41) 9 9172-1201
e.abud@uol.com.br
emilio.abud.filho@gmail.com
Find all posts by this user
Quote this message in a reply
10-27-2022, 01:57 PM
Post: #2
RE: HP-42S FRECC - Cutoff frequency equations for circular waveguide (TEmn or TMmn)
(10-26-2022 04:38 AM)pinkman Wrote:  Use the # button to insert the code marker.

What he really meant is to use the # button in the toolbar:
[Image: toolbar.gif]

This puts the code in a scrollable block using a fixed font:
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

Alternatively you can also use code tags in the text.

If you want to easily copy code from such a block I recommend to use the link at the bottom of the page:
[Image: printable.gif] View a Printable Version
Find all posts by this user
Quote this message in a reply
10-27-2022, 07:49 PM
Post: #3
RE: HP-42S FRECC - Cutoff frequency equations for circular waveguide (TEmn or TMmn)
Dear Pinkman

Now I see!!!

Sorry for my lack of understanding!

Thank you very much for your explanation!
I will proceed correctly in my next program submission!

Warm regards!

Emilio Abud Filho
Mobile: +55 (41) 9 9172-1201
e.abud@uol.com.br
emilio.abud.filho@gmail.com
Find all posts by this user
Quote this message in a reply
10-27-2022, 10:12 PM
Post: #4
RE: HP-42S FRECC - Cutoff frequency equations for circular waveguide (TEmn or TMmn)
(10-27-2022 01:57 PM)Thomas Klemm Wrote:  What he really meant is to use the # button in the toolbar:
[Image: toolbar.gif]

[snip]

If you want to easily copy code from such a block I recommend to use the link at the bottom of the page:
[Image: printable.gif] View a Printable Version

Really nice in-line graphics! Smile

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
10-30-2022, 07:54 PM
Post: #5
RE: (42S) FRECC - Cutoff frequency equations for circular waveguide (TEmn or TMmn)
Dear All

I have updated the technical documentation, (there was some typing and grammar errors...).

Please, find the revised documentation (v1.04), attached to the original post.

The program itself (.raw) and matrices (xlsx), were good, and remain the same.

I am sorry for my typing and grammar mistakes...

Warm regards

Emilio Abud Filho
Mobile: +55 (41) 9 9172-1201
e.abud@uol.com.br
emilio.abud.filho@gmail.com
Find all posts by this user
Quote this message in a reply
Post Reply 




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