Faktorial Kalkülatory
Bir tam sanyň faktoryalyny hasap et, dogry - hatda örän uly umumylar üçinem.
Netijeler ýazýan wagtyň täzelener.
Bu hasapçy hakda
The factorial of n (written n!) is the product of every whole number from 1 up to n. This calculator returns the exact value using arbitrary-precision integers, the number of digits in that value, and an approximate mantissa × power-of-ten form for readability.
The calculation is a running product: 5! = 5 × 4 × 3 × 2 × 1 = 120. Factorials grow extremely fast — 10! = 3,628,800 and 100! already has 158 digits — which is why the tool shows both the full exact integer and its digit count. By definition 0! = 1 and 1! = 1, since there is exactly one way to arrange an empty or single-item set. It accepts n from 0 up to 2000.
Factorials count the number of ways to order n distinct items and are the foundation of permutations and combinations, the binomial theorem, and probability. Whenever you count arrangements or divide out orderings, a factorial is doing the work underneath.
Köp soralýan soraglar
Faktorial näme üçin ulanylýar?
A factorial counts arrangements: n! is the number of distinct orderings of n items. It is the building block of permutations and combinations.
0 näme?
Taryhça 0! = 1. Boş bir set düzetmek üçin diňe bir ýol bar, şundan boş birikme 1.
5 faktorly näme?
Bu 5 × 4 × 3 × 2 × 1 = 120, bu kalkulýatoryň görkezýän öň bellenen mysalydyr.
Neçe uly faktoryal hasap edip biler?
2000! töweregi dogry, islendik dogrylykly tamsanlary ulanyp, sebäbi san uly bolsada dogrylyk ýitirilmez.
Näme üçin ol bir rakam sanyny görkezýär?
Faktoriallar o diýen tiz ösýär ki, doly san örän agyr işlenýändir - 100! 158 rakamly - şonuň üçin rakam san size onuň ululygynyň tiz düşünjesini berýär.
Nädip bir baha bermeli?
Bu faktoryaly onuň bir güýjüni mantissa bilen beýan edýär, bir okamaň aňsatlyk bilen görkezilen çaklama dogry tam sanyň ýanynda görkezilýär.
API — bu hasapçyny koddan ullan
Bu hasapçyny boş JSON ahtar noktasy hökmünde çagyr - açar gerek däl. Aşakdaky meýdança mykdarlaryny soragyň parametrleri ýa-da JSON hökmünde iber. Siziň goýmaýan hernäňiz şu sahypanyň öň bellenen öň bellenenini ulanýar; namydar parametr 400, hiç wagt sessiz sıfır däl. Eňlisçe senedleri oka →
Endpoint
GET https://calculator.free/api/v1/factorial/
curl
curl "https://calculator.free/api/v1/factorial/?n=5"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/factorial/?" + new URLSearchParams({
"n": "5"
}));
const data = await r.json();
console.log(data.results);
Netijeler diňe umumy ýardam üçin hasaplanypdyr, maliýe, saglyk ýa-da salgyt maslahaty üçin däl.