Beregn påske: Slik opprettes datoen hvert år
Påsken faller på en annen dag hvert år. Tid for påske kan beregnes. Matematiker Carl Friedrich Gauß fant ut hvordan man gjør dette. Vi gir deg de nødvendige matematiske grunnlagene og forklarer formelen.
Beregn påske - de matematiske grunnleggende
Gauss brukte den såkalte modulberegningen for formelen for beregning av påskedatoen. Du må forstå denne modulberegningen hvis du vil beregne datoen. Men det er ikke så vanskelig.
- Modulatorberegningen er resten som gjenstår når to tall er delt. Bare hele tall brukes i beregningen, det er ingen komma-tall her. Forkortelsen for modulberegningen er "mod".
- Et eksempel gjør prinsippet enklere å forstå: del 15 med 2, resten er 1, fordi 2 ganger 7 er 14, resten er 1. Som en modulberegning, vil den bli skrevet på følgende måte: 15 mod 2 = 1 (uttales 15 modulo 2 er lik 1).
Hvordan beregne datoen for påsken
Datoen for påske er relativt enkel å bestemme for de kommende årene. De individuelle elementene i formelen er som følger:
- a = år mod 4
- b = årsmod 7
- c = årsmod 19
- d = (19c + 24) mod 30
- e = (2a + 4b + 6d + 5) mod 7
- f = (c + 11d + 22e) / 451
- Du kan bestemme påskedag fra dette på følgende måte: 22 + d + e-7f
- Hvis dette resultatet er større enn 31, er påsken i april. Da må følgende formel brukes for beregning av påskedag = 22 + d + e -7f-31 = d + e-7f-9.
- Resultatet viser deg måneden som påsken faller i det gitte året. Hvis den er større enn 31, er påsken i april. For å finne datoen for påskedag, må du bruke denne formelen: 22 + d + e -7f-31 = d + e-7f-9.
- Gauss fant selv en spesiell funksjon i formelen sin: Hvis fakturaen viser 26. april som påskedato, må du stille inn 19. mars i stedet.
Eksempel på påskeformelen: beregne datoen for året 2020
Påsken feires alltid i mars eller april. Med spesifikasjonene som er forklart i forrige seksjon, kan du beregne hvilken dag i påsken 2020-kalenderen som faller.
- 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
- Datoen for påskedag kan bestemmes som følger: 22 + 18 + 3 - 7x0 = 43
- Resultatet er større enn 31, så ferien er i april, som forklart i den andre delen. Så denne formelen gjelder: 22 + 18 + 3 - 7x0 -31 = 12.
- Påskedag faller dermed 12. april 2020. For øvrig forklarer vi også hvorfor vi feirer påske, om enn i en annen artikkel. Du vil også finne ut hvor navnet påske kommer fra.
Påsken er den høyeste festivalen i kristendommen, men påskedag er bare en av mange helligdager i Tyskland. En oversikt over alle føderale stater finner du i neste artikkel.