added kogasa function

This commit is contained in:
Miodec 2022-02-09 19:19:10 +01:00
parent 351cc2bcb2
commit 6684155cef

View file

@ -19,4 +19,9 @@ module.exports = {
return 0;
}
},
kogasa(cov) {
return (
100 * (1 - Math.tanh(cov + Math.pow(cov, 3) / 3 + Math.pow(cov, 5) / 5))
);
},
};