Izračunajte Uskrs: Ovako se datum stvara svake godine
Uskrs pada na drugi dan svake godine. Vrijeme za Uskrs se može izračunati. Matematičar Carl Friedrich Gauß otkrio je kako to učiniti. Omogućujemo vam potrebne matematičke temelje i objašnjavamo formulu.
Izračunajte Uskrs - matematičke osnove
Gauss je takozvani modulski proračun koristio za formulu za izračun datuma Uskrsa. Morate razumjeti ovaj modulski izračun ako želite izračunati datum. Ali to nije tako teško.
- Izračun modula je ostatak koji ostaje kada su podijeljena dva broja. U izračunu se koriste samo cijeli brojevi, ovdje nema zareznih brojeva. Skraćenica za modulski proračun je "mod".
- Primjer olakšava razumijevanje principa: podijelite 15 na 2, ostalo je 1, jer 2 puta 7 je 14, ostalo je 1. Kao modulski izračun napisao bi sljedeće: 15 mod 2 = 1 (izgovara se 15 modula 2 jednaka je 1).
Kako izračunati datum za Uskrs
Datum Uskrsa relativno je lako odrediti za naredne godine. Pojedini elementi formule su sljedeći:
- a = godina mod 4
- b = godina mod 7
- c = godina mod 19
- d = (19c + 24) mod 30
- e = (2a + 4b + 6d + 5) mod 7
- f = (c + 11d + 22e) / 451
- Uskrsnu nedjelju možete odrediti na sljedeći način: 22 + d + e-7f
- Ako je taj rezultat veći od 31, Uskrs je u travnju. Tada se za izračunavanje uskrsne nedjelje = 22 + d + e -7f-31 = d + e-7f-9 mora koristiti sljedeća formula.
- Rezultat vam pokazuje mjesec u kojem Uskrs pada u određenoj godini. Ako je veći od 31, Uskrs je u travnju. Da biste pronašli datum za Uskrsnu nedjelju, trebate koristiti ovu formulu: 22 + d + e -7f-31 = d + e-7f-9.
- Sam Gauss u svojoj je formuli pronašao posebnost: Ako faktura prikazuje 26. travnja kao datum Uskrsa, umjesto toga morate postaviti 19. ožujka.
Primjer uskrsne formule: izračunajte datum za 2020. godinu
Uskrs se uvijek slavi u ožujku ili travnju. Uz specifikacije objašnjene u prethodnom odjeljku, možete izračunati koji dan u kalendaru Uskrsa 2020. pada.
- a = 2020 mod 4 = 0
- b = 2020 mod 7 = 4
- c = 2020 mod 19 = 6
- d = (19x6 + 24) mod 30 = 138 mod 30 = 18
- e = (2x0 + 4x4 + 6x18 +5) mod 7 = 129 mod 7 = 3
- f = (6 + 11x18 + 22x3) / 451 = 270/451 = 0
- Datum Uskrsne nedjelje može se odrediti na sljedeći način: 22 + 18 + 3 - 7x0 = 43
- Rezultat je veći od 31, pa je praznik u travnju, kako je objašnjeno u drugom odjeljku. Tako vrijedi ova formula: 22 + 18 + 3 - 7x0 -31 = 12.
- Uskrsna nedjelja tako pada 12. travnja 2020. Usput, objašnjavamo i zašto slavimo Uskrs, iako u drugom članku. Također ćete saznati odakle dolazi ime Uskrs.
Uskrs je najviši festival u kršćanstvu, ali Uskrs je samo jedan od mnogih praznika u Njemačkoj. Pregled svih saveznih država možete naći u sljedećem članku.