Showing posts with label frequency. Show all posts
Showing posts with label frequency. Show all posts

Saturday, November 7, 2026

TI-84 Evo Basic: Half-Wave Dipole Antenna Length

TI-84 Evo Basic: Half-Wave Dipole Antenna Length




Introduction



The length of a half-wave antenna is calculated by:

L = λ / 2 = (VF * c) / (2 * f)



VF: Velocity Factor. This can be calculated or given from a table. The program on this blog uses a table of values (see Velocity Factors Used below)

c: Speed of Light in a Vacuum. c = 299798458 m/s ≈ 983571056.43 ft/s

f: Frequency in Hertz.

L: length in meters



There is a commonly used formula for length in feet:

L = 492 * VF / f

where f: Frequency in Megahertz (10^6 Hz)



Where does the 492 come from? The speed of light in feet is used:

c / (2 * 10^6) = 983571056.43 / (2 * 10^6) ≈ 491.78553 (rounded to 492)

(f had to be converted to Hz)



Velocity Factors Used



Polyethylene Coaxial Cable (POLYTH. COAXIAL): VF = 0.66

Form/Air Coaxial Cable (FORM/AIR DIELECTRIC): VF = 0.84 (average)

Solid Dielectric Twin Lead (SOLID DIELECTRIC): VF = 0.82

Open Wire Line (OPEN LINE WIRE): VF = 0.98 (average)

(see source, Gilani)



TI-84 Evo TI-BASIC Program: DIPOLE



Code:



“EWS 2026-07-08”

ClrHome

Disp “HALF-WAVE DIPOLE ANTENNA”

Input “FREQUENCY IN MHZ? “, F

Menu(“TYPE OF ANTENNA”, “POLYTH. COAXIAL”, 1,

“FOAM/AIR DIELECTRIC”, 2, “SOLID DIELECTRIC”, 3,

“OPEN WIRE LINE”, 4)

Lbl 1: .66 → V : Goto 0

Lbl 2 : .84 → V : Goto 0

Lbl 3 : .82 → V : Goto 0

Lbl 4 : .98 → V : Goto 0

Lbl 0

299792458 * V / (F * 1E6) → W

W / 2 → L

Disp “WAVELENGTH (M):”, W, “LENGTH (M):”, L



Examples



Example 1:

Inputs:

Frequency: 15.5 MHz

Foam/Air Dielectric

Output:

Wavelength: 16.24681708 m

Antenna Length: 8.123408539 m



Example 2:


Inputs:

Frequency: 40 MHz

Open Line Wire

Output:

Wavelength: 7.344915221 m

Antenna Length: 3.627457611 m




Sources


Gilani, Amin Shah. “Essential Equations for Amateur Radio Operators: A Handy Reference” June 24, 2023. Accessed July 2, 2026. https://blog.gilani.me/2023/06/essential-equations-for-amateur-radio-operators-a-handy-reference/ (Note: some of this was written using AI)


Glover, Thomas J. and Young, Richard A. Desk Ref Sequoia Publishing, Inc: Anchorage, AK 4th Edition, January 2022. pg. 326


Omni Calculator “Dipole Calculator” Last updated January 17, 2025. Accessed July 10, 2026. https://www.omnicalculator.com/physics/dipole




Eddie


All original content copyright, © 2011-2026. Edward Shore. Unauthorized use and/or unauthorized distribution for commercial purposes without express and written permission from the author is strictly prohibited. This blog entry may be distributed for noncommercial purposes, provided that full credit is given to the author.



Saturday, March 28, 2026

Casio fx-4000P: Antennas

Casio fx-4000P: Antennas



Vertical and Horizontal Bandwidth


Given the height (h) and length (l) of an antenna plate, along with wavelength (λ) given from the antenna, the vertical and horizontal bandwidth, in degrees is calculated as:


Vertical Bandwidth:

ßv = (k * λ * 180) ÷ (h * π)


Horizontal Bandwidth:

ßh = (k * λ * 180) ÷ (l * π) = h * ßv ÷ l


The constant k is the antenna taper factor, which in the original program assigned the constant as k = 1.4.


Casio fx-4000P Program Code (Prog 0)


“HEIGHT” : ? → H :

“LENGTH” : ? → L :

“WAVE. L.” : ? → W :

“VERT-BAND=” ◢

252 × W ÷ H ÷ π → V ◢

“HOR-BAND=” ◢

H × V ÷ L → Z


Example 1:

Input: H: 2.4 ft (height), W: 12.4 ft (width), λ: 0.18 ft (wavelength)

Results:

Vertical Bandwidth: 6.016056849°

Horizontal Bandwidth: 1.1643981°


Example 2:

Input: H: 3.8 ft (height), W: 3.6 ft (width), λ: 0.05 ft (wavelength)

Results:

Vertical Bandwidth: 1.05544857°

Horizontal Bandwidth: 1.114084602°



Convert from Frequency to Wavelength


This program converts frequency (Hz) to wavelength (ft).


λ = c ÷ f


Using c as the speed of light in a vacuum (299,792,458 m/s), a conversion is required (1 m ≈ 3.28084 ft).


Casio fx-4000P Program Code (Prog 1)


“FREQ” : ? → F :

“WAVE L.=” ◢

299792458 ÷ F × 3.28084



Example 1:

Input: freq = 6200 MHz (6200E6)

Results: 0.158640498 ft



Example 2:

Input: freq = 8500



Equivalent Antenna Area



The equivalent area given the gain of the antenna in decibels (dB):



Ae = (λ² * 10^(G ÷ 10)) ÷ (4 * π)



Casio fx-4000P Program Code (Prog 2)



“GAIN” : ? → G :

“WAVE L.” : ? → W :

“AREA=” ◢ W² × 10^(G ÷ 10) ÷ 4 ÷ π → A



Example 1:

Input: gain = 28 dB, λ = 0.12 ft

Results: 0.7230238578 ft²



Example 2:

Input: gain = 49 dB, λ = 0.19 ft

Results: 228.1903833 ft²



Source


Hewlett Packard. HP-67/HP-97: Users’ Library Solutions: Antennas. Rev. D April 1979. pp. 32 – 26.



Eddie


All original content copyright, © 2011-2026. Edward Shore. Unauthorized use and/or unauthorized distribution for commercial purposes without express and written permission from the author is strictly prohibited. This blog entry may be distributed for noncommercial purposes, provided that full credit is given to the author.

Saturday, August 28, 2021

TI-95 ProCalc: Industrial Calculations

 TI-95 ProCalc: Industrial Calculations


Flag Sequence for Degree Mode

RF 33 RF 34

A Sample of Utility Calculations

F1:  >DB:  Decibel Function, DB = 20 * log x
F2:  IDB:  Inverse Decibel Function, x = 10^(DB ÷ 20)
F3:  PAR:  Resistance of two parallel circuits.  R = 1 ÷ ( 1÷a + 1÷b)
F4:  ANG:  Convert from Frequency to Angular Velocity. ω = 2 * π * f
F5:  FRQ:  Convert from Angular Velocity to Frequency.  f = ω ÷ ( 2 * π )

The first two functions (F1 and F2) were inspired by a unique key on the 1977 Casio fx-110 scientific calculator.  

Source:
"Casio fx-110"  Voidware.  http://www.voidware.com/calcs/fx110.htm Accessed May 30, 2021


TI-95 ProCalc File UTL

CLR 'READY' 

DFN F1: >DB @ 01

DFN F2: IDB @ 02

DFN F3: PAR @ 03

DFN F4: ANG @ 04

DFN F5: FRQ @ 05

HLT 

LBL 01 CLR 'X?' BRK LOG * 20 = 'DB=' GTL 06

LBL 02 CLR ( 'DB?' BRK / 20 ) INV LOG = 'X=' GTL 06

LBL 03 CLR ( 'A?' BRK 1/x + 'B?' BRK 1/x ) 1/x  = 'Z=' GTL 06

LBL 04 CLR 'FRQ?' BRK * 2 * PI = 'ANG=' GTL 06

LBL 05 CLR 'ANG?' BRK / ( 2 * PI ) = 'FRQ='

LBL 06 COL 16 MRG = HLT

Stairs

Inputs:

RISE:  The floor-to-floor rise of the staircase. 

MAX RISER HGHT:  The maximum allowable rise height.

TREAD WIDTH:  The desired tread width of each stair.

Outputs:

N:  Number of Stairs

TRH:  True riser height of the stair

#TRD:  Number of treads

RUN:  Total theoretical run from the first stair to the top.

INC:  Incline of the stair in degrees

STR:  Length of the stringer

All amounts are assumed to be in inches and all amounts are precise (no rounding to the nearest 1/8th inch or 1/16 inch, etc).

Formulas Used:

N = int( rise ÷ DRH ) + 1

TRH = rise ÷ N

#TRD = N - 1

RUN = #TRD * TREADWIDTH

INC = atan( TRH ÷ TREADWIDTH)

STR = T * TREADWIDTH ÷ cos INC

TI-95 ProCalc File STR
Size:  184 bytes

RF 33 RF 34 CLR 'STAIRS' PAU

CLR 'RISE (IN)?' BRK STO R

CLR 'MAX RISER HGHT?' BRK STO H

CLR 'TREADWIDTH?' BRK STO W

( RCL R / RCL H ) INT + 1 = STO N 

CLR 'N=' COL 16 MRG N BRK

RCL R / RCL N = STO T 

CLR 'TRH=' COL 16 MRG T BRK

RCL N - 1 = STO E 

CLR '#TRD=' COL 16 MRG E BRK

RCL E * RCL W = STO U 

CLR 'RUN=' COL 16 MRG U BRK

( RCL T / RCL W ) INV TAN STO A 

CLR 'INC=' COL 15 MRG A CHR 223 BRK

RCL E * RCL W / RCL A COS = STO S 

CLR 'STR=' COL 16 MRG S HLT

Example

Input:  
RISE:  120 in
MAX RISER HGHT:  7.5 in
TREADWIDTH:  10 in

Results:
N = 17
TRH = 7.058823529 in
#TRD = 16
RUN = 160 in
INC = 35.21759297°
STR = 195.8461369 in

Travel and Run of a Rolling Pipe

Inputs:

A: Bend angle in degrees

Y: Roll distance 

Z:  Vertical Offset

Outputs:

L:  length of the pipe

R:  set back of the pipe 

All amounts are assumed to be in inches and all amounts are precise (no rounding to the nearest 1/8th inch or 1/16 inch, etc).

Formulas Used:

Let W = √( Y^2 + Z^2 )

Then:

L = W ÷ (90° - cos A)

R = √(L^2 - W^2)

Source:

Heckman, Kurt  "Rolling Offset (run)"  vCalc Last Modified March 10, 2021  https://www.vcalc.com/wiki/KurtHeckman/Rolling+Offsets+%28run%29  Accessed June 5, 2021


TI-94 ProCalc File PIP
Size:  120 bytes

RF 33 RF 34 

CLR 'PIPE ROLL OFFSET' PAU

CLR 'BEND ANGLE?' BRK STO A

CLR 'ROLL DIST?' BRK STO Y

CLR 'OFFSET?' BRK STO Z

( RCL Y x^2 + RCL Z x^2 ) SQR = STO W

/ ( 90 - RCL A ) COS = STO L

'LEN=' COL 16 MRG L BRK

( RCL L x^2 - RCL W x^2 ) SQR = STO X

'SET=' COL 16 MRG X HLT

Example:

Inputs:
Bend Angle: 40°
Roll Distance: 6"
Vertical Offset: 6"

Results:
Travel = 13.20075441"
Setback = 10.11236456"

Coming Up:   Let's get Sharp

Retro Month - Sharp EL-5500 III (also known as the PC-1403) Pocket Computer - every Saturday in September 2021 


Eddie

All original content copyright, © 2011-2021.  Edward Shore.   Unauthorized use and/or unauthorized distribution for commercial purposes without express and written permission from the author is strictly prohibited.  This blog entry may be distributed for noncommercial purposes, provided that full credit is given to the author. 

Saturday, September 30, 2017

HP 12C: Prime Factoring (by Don Shepard)

HP 12C:  Prime Factoring (by Don Shepard)

Introduction – Cash Flow Registers to Simulate Indirect Addressing

This program uses what is called indirect addressing on the HP 12C, which can be simulated by the use of the cash flow registers. 

Cash flow registers can be registered by using the cash flow [ g ] [PMT] (CFj)  and frequency [ g ] [ FV ] (Nj) registers.  Every time a cash flow is stored, the counter is increased by 1.  The counter can be recalled by press [RCL] [ n ].

Similarly, you can recall the cash flows by the use of [RCL] [ g ] [PMT] (CFj) and the attached frequencies by the use of [RCL] [ g ] [ FV ] (Nj).  Each time a cash flow is recalled, the counter is decreased by 1. 

Each cash flow can have a frequency up to 99 copies. 

Fun fact:  the first 20 cash flows can be stored into registers R0 through R19, with the 20th flow stored in FV (future value).  The cash flow 0 is the initial cash flow, CF0 (accessed by [ g ] [ PV ] (CF0)). 

This is kind of storing values in a list and recalling them whenever necessary.

Program:

Enter the integer and press [ R/S ].  Keep pressing [ R/S ] to reveal more factors.  The factorization ends when a zero appears.

(Remember if you program using a HP 12C Platinum, step numbers are three digits instead of two.)

Step
Code
Key
01
44, 0
STO 0
02
42, 32
Clear Σ
03
2
2
04
44, 11
STO n
05
6
6
06
43, 14
[ g ] CFj
07
2
2
08
43, 15
[ g ] Nj
09
6
6
10
43, 14
[ g ] CFj
11
4
4
12
43, 15
[ g ] Nj
13
2
2
14
43, 14
[ g ] CFj
15
4
4
16
43, 15
[ g ] Nj
17
2
2
18
43, 14
[ g ] CFj
19
4
4
20
43, 15
[ g ] Nj
21
2
2
22
43, 14
[ g ] CFj
23
43, 15
[ g ] Nj
24
1
1
25
43, 14
[ g ] CFj
26
2
2
27
43, 15
[ g ] Nj
28
0
0
29
44, 12
STO i
30
45, 43, 15
RCL [ g ] Nj
31
43, 33, 56
GTO 56
32
1
1
33
44, 12
STO i
34
45, 43, 14
RCL [ g ] CFj
35
43, 33, 56
GTO 56
36
45, 11
RCL n
37
3
3
38
43, 34
x≤y
39
43, 33, 28
GTO 28
40
45, 0
RCL 0
41
43, 23
LN
42
43, 35
x=0
43
43, 33, 00
GTO 00
44
6
6
45
44, 11
STO n
46
45, 0
RCL 0
47
45, 1
RCL 1
48
36
ENTER
49
20
*
50
43, 34
x≤y
51
43, 33, 28
GTO 28
52
45, 0
RCL 0
53
31
R/S
54
0
0
55
43, 33, 00
GTO 00
56
44, 40, 1
STO+ 1
57
45, 0
RCL 0
58
45, 1
RCL 1
59
10
÷
60
43, 24
FRAC
61
43, 35
x=0
62
43, 33, 67
GTO 67
63
45, 12
RCL i
64
43, 35
x=0
65
43, 33, 32
GTO 32
66
43, 33, 36
GTO 36
67
45, 1
RCL 1
68
44, 10, 0
STO÷ 0
69
31
R/S
70
0
0
71
43, 33, 56
GTO 56


** Line 34 has been corrected.  10/3/2017


Example 1:

Factoring 148:

148 [R/S]
Display:  2, Press [R/S]
Display:  2, Press [R/S]
Display:  37, Press [R/S]
Display: 0

Result:  148 = 2 * 2 * 37 = 2^2 * 37

Example 2:

Factoring 976:

976
Display:  2, Press [R/S]
Display:  2, Press [R/S]
Display:  2, Press [R/S]
Display:  2, Press [R/S]
Display:  61, Press [R/S]
Display:  0, Press [R/S]

Result:  976 = 2 * 2 * 2 * 2 * 61 = 2^4 * 61


Special thanks to Don Shephard for letting me post his program on this blog.  Shepard attended HHC 2017, where he spoke about punch cards and their history.


Eddie


This blog is property of Edward Shore, 2017.

Symmetric Quartic Equation - Python

Symmetric Quartic Equation - Python Note: The code is programmed with a TI-84 Evo. No modules are used, so the scripts should be adopt...