Jump to content

תיעוד/פונקציות של Calc/FACT

From The Document Foundation Wiki
This page is a translated version of the page Documentation/Calc Functions/FACT and the translation is 6% complete.
Outdated translations are marked like this.


שם הפונקציה:

FACT

קטגוריה:

מתמטית

תקציר:

מחזירה עצרת של מספר.

תחביר:

FACT(Number)

מחזירה:

Returns a positive integer that is the factorial of the given argument.

משתנים:

מספר הוא מספר שלם וחיובי או הפניה לתא שמכיל את המספר השלם והחיובי שיעבורו יחושב ערך העצרת.

  • * אם המספר הוא שלילי, הפונקציה מחזירה ערך שגיאה.
  • אם המספר אינו שלם, הוא מחושב בתור הערך המעוגל שלו, כלומר שמה שאחרי הנקודה העשרונית מושמט.
  • If Number is a non-integer value, then FACT converts it to an integer by taking its floor value.
  • If Number is less than 0, then FACT reports an invalid argument error (שגיאה:‏502).
  • If Number is greater than 170, then FACT reports a #VALUE! error. (170! is a very large number, approximately 7.26 E+306)

פרטים נוספים:

  • עצרת של 0 מחזירה 1 לפי ההגדרה.

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

  • הנוסחה שמשמשת את פונקציית FACT היא:
  • כאשר F הוא המספר

דוגמאות:

נוסחה תיאור מחזירה
=FACT(3.5) העצרת של 3 = 3*2*1 6
‎=FACT(0) העצרת של 0 היא 1 לפי ההגדרה 1
=FACT(0) מחזירה ערך שגיאה כיוון שמספר הוא שלילי 1

פונקציות LibreOffice קשורות:

FACTDOUBLE

GAMMA

תקן ODF:

פונקציות Excel מקבילות (או דומות):

FACT