UNPKG

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

10 lines (9 loc) 299 B
"use strict"; module.exports = { 'name': 'sin', 'category': 'Trigonometry', 'syntax': ['sin(x)'], 'description': 'Compute the sine of x in radians.', 'examples': ['sin(2)', 'sin(pi / 4) ^ 2', 'sin(90 deg)', 'sin(30 deg)', 'sin(0.2)^2 + cos(0.2)^2'], 'seealso': ['asin', 'cos', 'tan'] };