| [ Web Proxy ] |
| Viewing: https://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Global_Objects/Math/sin | [Back] [Original] |
Get to know MDN better
Esta pgina ha sido traducida del ingls por la comunidad. Aprende ms y nete a la comunidad de MDN Web Docs.
This feature is well established and works across many devices and browser versions. Its been available across browsers since julio de 2015.
La funcin Math.sin() devuelve el seno de un nmero.
Math.sin(x)
xUn nmero (en radianes).
El mtodo Math.sin() devuelve un valor numrico entre -1 y 1, que representa el seno del ngulo dado en radianes.
Debido a que sin() es un mtodo esttico de Math, siempre se usa como Math.sin(), en vez de crear un objeto Math y usarlo como un mtodo (Math no es un constructor).
Math.sin()Math.sin(0); // 0
Math.sin(1); // 0.8414709848078965
Math.sin(Math.PI / 2); // 1
| Specification |
|---|
| ECMAScript 2027 LanguageSpecification # sec-math.sin |
This page was last modified on 23 ene 2024 by MDN contributors.
MathMath.abs()Math.acos()Math.acosh()Math.asin()Math.asinh()Math.atan()Math.atan2()Math.atanh()Math.cbrt()Math.ceil()clz32()Math.cos()cosh()Math.exp()Math.expm1()f16round()Math.floor()fround()Math.hypot()imul()Math.log()log1p()Math.log2()Math.log10()Math.max()Math.min()Math.pow()Math.random()Math.round()Math.sign()Math.sin()sinh()Math.sqrt()sumPrecise()Math.tan()Math.tanh()Math.trunc()Your blueprint for a better internet.
Portions of this content are 19982026 by individual mozilla.org contributors. Content available under a Creative Commons license.
| Web Proxy Viewer | New URL | Original Page |