mathjs
Version:
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
14 lines (13 loc) • 398 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.cosDocs = void 0;
const cosDocs = exports.cosDocs = {
name: 'cos',
category: 'Trigonometry',
syntax: ['cos(x)'],
description: 'Compute the cosine of x in radians.',
examples: ['cos(2)', 'cos(pi / 4) ^ 2', 'cos(180 deg)', 'cos(60 deg)', 'sin(0.2)^2 + cos(0.2)^2'],
seealso: ['acos', 'sin', 'tan']
};
;