|
Calculators >>>
Assists ham radio operators in converting a frequency to its wavelength in feet or inches. Other uses include acoustic measurement and adjustment, microphone placement, room tuning, and speaker positioning.
Add the below code to the <body> section of your page:
<script
language="javascript"
type="text/javascript">
function
wavelength(freq,
amount,
form)
{
form.feet.value
=
amount /
freq;
form.inches.value
=
form.feet.value
*
12;
}
</script>
<form>
<table>
<tr>
<td
align=center>
<input
type=text
size=8
value=""
name=freq>MHz
<input
type=button
value="WL"
onClick="wavelength(this.form.freq.value,
984, this.form);">
<input
type=button
value="1/2
WL"
onClick="wavelength(this.form.freq.value,
468, this.form);">
<input
type=button
value="1/4
WL"
onClick="wavelength(this.form.freq.value,
234, this.form);">
</td>
</tr>
<tr>
<td>
= <input
type=text
name=feet
size=15>
ft. (or <input
type=text
name=inches
size=15>
inches.)
</td>
</tr>
</table>
</form>
|
↓
|