Update magloop.html

Fixed area calc.
pull/2/head
miguel 2021-07-23 23:23:56 +10:00
rodzic 6dcbcb3eb8
commit 7efb5e589d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -553,7 +553,7 @@
// Write loop area:
fctx.textAlign = "right";
fctx.fillText("A = " + (Math.PI * dia**2).toPrecision(3).toString() + " m\u00B2", win_width-8, 18);
fctx.fillText("A = " + (Math.PI * (0.5*dia)**2).toPrecision(3).toString() + " m\u00B2", win_width-8, 18);
}
const aside_canvas = document.getElementById("antennaSide2D");