From 7efb5e589d66a27365da23a0b4bca949f6fffeaf Mon Sep 17 00:00:00 2001 From: miguel Date: Fri, 23 Jul 2021 23:23:56 +1000 Subject: [PATCH] Update magloop.html Fixed area calc. --- magloop.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magloop.html b/magloop.html index eee33c4..5d049f6 100644 --- a/magloop.html +++ b/magloop.html @@ -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");