From 87a587c7d807646dcfc8a6154ef5d27f0fba2275 Mon Sep 17 00:00:00 2001 From: miguel <31931809+miguelvaca@users.noreply.github.com> Date: Sat, 6 May 2023 14:56:17 +1000 Subject: [PATCH] Fix inductance. I broke on last checkin. --- toroid.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toroid.html b/toroid.html index 24dc70f..cc2f0aa 100644 --- a/toroid.html +++ b/toroid.html @@ -655,7 +655,7 @@ this.getInductance = function (frequency, mu) { // const mu = this.getComplexPermeability(frequency); - const L = mu[0] * 4.0 * Math.PI * this.N**2 * 1e-9 / this.core.CC; + const L = mu[0] * 4.0 * Math.PI * this.N**2 * 1e-3 / this.core.CC; return L; };