Add capacitance calc to html
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1,3 @@
|
|||||||
|
.DS_Store
|
||||||
|
|
||||||
/target
|
/target
|
||||||
|
|||||||
@@ -110,7 +110,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
console.log()
|
let cap = -0.5 / (22000 * Math.log(min/max));
|
||||||
|
console.log(`Calculated capacitance: ${cap}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
function GetYForData(val) {
|
function GetYForData(val) {
|
||||||
|
|||||||
Reference in New Issue
Block a user