3 lines
102 B
JavaScript
3 lines
102 B
JavaScript
export default function(x) {
|
|
return 2 * Math.log(Math.sqrt((x + 1) / 2) + Math.sqrt((x - 1) / 2));
|
|
} |