Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
installation:cablelength [2024/02/15 10:59] fachetinstallation:cablelength [2024/02/15 11:05] (current) – old revision restored (2019/07/10 14:58) fachet
Line 12: Line 12:
    var l = document.form.l.value;    var l = document.form.l.value;
    var d = document.form.d.value;    var d = document.form.d.value;
-   var ag = document.form.ag.value; 
      
    f = f.replace(/,/, ".");    f = f.replace(/,/, ".");
Line 24: Line 23:
    ra = a - kl;    ra = a - kl;
    rfd = 20 * log10(f * Math.pow(10, 9)) + 20 * log10(ra) - 147,55;    rfd = 20 * log10(f * Math.pow(10, 9)) + 20 * log10(ra) - 147,55;
-   g = kd + rfd + ag;+   g = kd + rfd;
    ge = fd - g;    ge = fd - g;
      
    fd = fd.toFixed(2)    fd = fd.toFixed(2)
    rfd = rfd.toFixed(2)    rfd = rfd.toFixed(2)
-   ag = ag.toFixed(2) 
    g = g.toFixed(2)    g = g.toFixed(2)
    ge = ge.toFixed(2)    ge = ge.toFixed(2)
Line 38: Line 36:
    document.form.ra.value = ra;    document.form.ra.value = ra;
    document.form.rfd.value = rfd;    document.form.rfd.value = rfd;
-   document.form.ag.value = ag; 
    document.form.g.value = g;    document.form.g.value = g;
    document.form.ge.value = ge;    document.form.ge.value = ge;
Line 48: Line 45:
 <input name="a" /> Gesamtabstand / total distance (m)<br> <input name="a" /> Gesamtabstand / total distance (m)<br>
 <input name="l" /> Kabellänge / cable length (m)<br> <input name="l" /> Kabellänge / cable length (m)<br>
-<input name="d" /> Kabeldämpfung / attenuation (dB/m)<br> +<input name="d" /> Kabeldämpfung / attenuation  (dB/m)<br> 
-<input name="ag" /> Antennengewinn / antenna gain (dB/m)<br>+<br>
 <input type="button" name="submit" value="berechnen / calculate" onclick="berechnen();"> <br> <input type="button" name="submit" value="berechnen / calculate" onclick="berechnen();"> <br>
 Ohne Antennenkabel / without anntenna cable:<br> Ohne Antennenkabel / without anntenna cable:<br>
Line 59: Line 56:
 <input name="ra" value="0" disabled="disabled"> Restabstand / remaining free space<br> <input name="ra" value="0" disabled="disabled"> Restabstand / remaining free space<br>
 <input name="rfd" value="0" disabled="disabled"> Freiraumdämpfung / free space loss<br> <input name="rfd" value="0" disabled="disabled"> Freiraumdämpfung / free space loss<br>
-<input name="ag" value="0" disabled="disabled"> Antennengewinn / antenna gain<br> 
 <input name="g" value="0" disabled="disabled"> Gesamtdämpfung / total loss<br> <input name="g" value="0" disabled="disabled"> Gesamtdämpfung / total loss<br>
 <br> <br>