Jump to content

Dokumentation/Calc Funktionen/FAKULTÄT

From The Document Foundation Wiki
This page is a translated version of the page Documentation/Calc Functions/FACT and the translation is 100% complete.


Funktionsname:

FAKULTÄT

Kategorie:

Mathematisch

Zusammenfassung:

Berechnet die Fakultät als nicht-negative Ganzzahl (notiert als n!).

Syntax:

FAKULTÄT(Zahl)

Rückgabewerte:

Gibt die Fakultät als positive Ganzzahl zurück.

Argumente:

Zahl ist eine positive nicht-negative Ganzzahl bzw. eine Referenz auf eine Zelle welche diese Zahl enthält. Von dieser Zahl wird die Fakultät berechnet.

  • Falls Zahl nicht numerisch ist, dann gibt FAKULTÄT einen #WERT!-Fehler.
  • Falls Zahl keine Ganzzahl, dann verkürzt sie FAKULTÄT auf ihren ganzzahligen Anteil.
  • Falls Zahl kleiner als 0 ist, dann gibt FAKULTÄT einen invalid argument error (Fehler:502) zurück.
  • Falls Zahl größer als 170 ist, dann gibt FAKULTÄT einen #WERT!-Fehler zurück. (170! ist eine sehr große Zahl, ungefähr 7.26 E+306)

Zusätzliche Informationen:

  • Die Formel für die Fakultät einer positiven Ganzzahl n ist:

[math]\displaystyle{ \text{FACT}(n)~=~n\times(n-1)\times(n-2)\times...\times\:1 }[/math]

  • FAKULTÄT(0) und FAKULTÄT(1) sind beide gleich 1.
  • Für nähere Informationen, siehe Wiki unter Fakultät_(Mathematik).

Beispiele:

Formel Beschreibung Ergebnis
=FAKULTÄT(3,5) Der ganzzahlige Anteil von 3,5 ist 3 und 3! ist gleich 3*2*1. 6
=FAKULTÄT(D1), wobei Zelle D1 den Wert 1 enthält. 1! ist gleich 1. 1
=FAKULTÄT(0) 0! ist definiert als 1. 1

Ähnliche LibreOffice Funktionen:

ZWEIFAKULTÄT

GAMMA

ODF Standard:

Kapitel 6.16.32, Teil 2.

Betroffene (oder ähnliche) EXCEL-Funktionen:

FACT