A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Math/cbrt below:

Math.cbrt() - JavaScript | MDN

Math.cbrt()

Baseline Widely available

Die Math.cbrt() statische Methode gibt die Kubikwurzel einer Zahl zurück. Das heißt

𝙼𝚊𝚝𝚑.𝚌𝚋𝚛𝚝 ( 𝚡 ) = x 3 = die eindeutige  y  so dass  y3 = x \mathtt{\operatorname{Math.cbrt}(x)}} = \sqrt[3]{x} = \text{die eindeutige } y \text{ so dass } y^3 = x Probieren Sie es aus
console.log(Math.cbrt(-1));
// Expected output: -1

console.log(Math.cbrt(1));
// Expected output: 1

console.log(Math.cbrt(Infinity));
// Expected output: Infinity

console.log(Math.cbrt(64));
// Expected output: 4
Syntax Parameter Rückgabewert

Die Kubikwurzel von x.

Beschreibung

Da cbrt() eine statische Methode von Math ist, verwenden Sie sie immer als Math.cbrt() und nicht als Methode eines von Ihnen erstellten Math-Objekts (Math ist kein Konstruktor).

Beispiele Verwendung von Math.cbrt()
Math.cbrt(-Infinity); // -Infinity
Math.cbrt(-1); // -1
Math.cbrt(-0); // -0
Math.cbrt(0); // 0
Math.cbrt(1); // 1
Math.cbrt(2); // 1.2599210498948732
Math.cbrt(Infinity); // Infinity
Spezifikationen Browser-Kompatibilität Siehe auch MDN-Feedback-Box War diese Übersetzung hilfreich?

Diese Seite wurde automatisch aus dem Englischen übersetzt.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4