-
Notifications
You must be signed in to change notification settings - Fork 0
/
X_C.html
25 lines (25 loc) · 947 Bytes
/
X_C.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>⸮Capacitive Reactance Calculator - thewizardwilliam.github.io</title>
<link rel="icon" href="Sarcasm%20Icon.svg">
<noscript><meta http-equiv="refresh" content="0;URL='https://thewizardwilliam.github.io/nos.html?redirect=X_C.html'" /></noscript>
</head>
<body>
<a href="index.html" style="font-size: 25px;color: #000;font-family: monospace">
<img src="Sarcasm Icon.svg" width="16" height="16" />
<b>thewizardwilliam.github.io</b>
</a>
<br />
<script src="engNot.js"></script>
<script>
let L = Number(prompt("Capacitance (F)")),f = Number(prompt("Frequency (Hz)"));
if (confirm(`${engNot(1 / 2 / Math.PI / f / L)}Ω\n(Press OK to reload)`) === true) {
location.reload()
}
</script>
</body>
</html>