Using a Scientific Calculator Program with Hexadecimal Numbers

Status
Not open for further replies.

Keith_W7KEW

Member
Joined
Feb 7, 2011
Messages
156
Reaction score
0
Location
California
I have the following problem:

[INDEX] : Site Index
[BASE_FREQ_n] : Base frequency (MHz)( 25.0000MHz to 1300.0000MHz, 5.0Hz step)
Base_FREQ_n = (base frequency * 10^6) / 5
(Hexadecimal number)
[SPACING_FREQ_n] : Spacing frequency(kHz)(0.125kHz to 128.0kHz, 0.125kHz step)
SPACING_FREQ_n = (spacing frequency *10^3)/125
(Hexadecimal number)
*n : Base Plan number
EX.) Base frequency = 851.00625MHz, Spacing frequency = 6.25kHz
[BASE_FREQ_n] = (851.00625*10^6)/5 = A2510A2(H)
[SPACING_FREQ_n] = (6.25*10^3)/125= 32 (H)

I'm trying to figure out how to enter in these values so that they come out correctly with a calculator.

(6.25*10^3)/125= 32 (Hex)
How do I enter in (6.25 * 10,000) / 125 in Hexadecimal
so it comes out as 32?
I haven't done this in over twenty years so forgive my forgetfulness ;-)
 

rescue161

KE4FHH
Database Admin
Joined
Jun 5, 2002
Messages
3,720
Reaction score
681
Location
Hubert, NC
If you're using the Windows calculator in scientific mode, just do the calculations as normal and then select the "hex" radio button to convert the answer from decimal to hex..

[BASE_FREQ_n] = (851.00625*10^6)/5 = 170201250 (D)
[BASE_FREQ_n] = (851.00625*1000000)/5 = 170201250 (D)
[BASE_FREQ_n] = 851006250/5 = 170201250 (D)
[BASE_FREQ_n] = 170201250 (D) = A2510A2 (H)

And

[SPACING_FREQ_n] = (6.25*10^3)/125 = 50 (D)
[SPACING_FREQ_n] = (6.25*1000)/125 = 50 (D)
[SPACING_FREQ_n] = 6250/125 = 50 (D)
[SPACING_FREQ_n] = 50 (D) = 32 (H)

Make sure you don't have "hex" selected while you're doing the calculations, or you will not get the right answers. You can use the hex equivalents instead of the decimal while you're doing the calculations, but it's just easier to use decimal and then convert it after all is said and done.

Hope this helps.
 
Status
Not open for further replies.
Top