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

20 lines (19 loc) 304 B
export const tanDocs = { name: 'tan', category: 'Trigonometry', syntax: [ 'tan(x)' ], description: 'Compute the tangent of x in radians.', examples: [ 'tan(0.5)', 'sin(0.5) / cos(0.5)', 'tan(pi / 4)', 'tan(45 deg)' ], seealso: [ 'atan', 'sin', 'cos' ] }