• Downloads
  • ! Read Me !
  • Μαθήματα
  • Φοιτητικά
  • Τεχνικά Θέματα
  • Συζητήσεις
  • Happy Hour!
  • About THMMY.gr
 V  < 
Search:  
Welcome, Guest. Please login or register.
June 19, 2025, 13:29:20 pm

Login with username, password and session length
Links
  Thmmy.gr portal
   Forum
   Downloads
   Ενεργ. Λογαριασμού
   Επικοινωνία
  
  Χρήσιμα links
   Σελίδα τμήματος
   Βιβλιοθήκη Τμήματος
   Elearning
   Φοιτητικά fora
   Πρόγραμμα Λέσχης
   Πρακτική Άσκηση
   Ηλεκτρονική Εξυπηρέτηση Φοιτητών
   Διανομή Συγγραμμάτων
   Ψηφιακό Καταθετήριο Διπλωματικών
   Πληροφορίες Καθηγητών
   Instagram @thmmy.gr
   mTHMMY
  
  Φοιτητικές Ομάδες
   ACM
   Aristurtle
   ART
   ASAT
   BEAM
   BEST Thessaloniki
   EESTEC LC Thessaloniki
   EΜΒ Auth
   IAESTE Thessaloniki
   IEEE φοιτητικό παράρτημα ΑΠΘ
   SpaceDot
   VROOM
   Panther
  
Πίνακας Ελέγχου
Welcome, Guest. Please login or register.
June 19, 2025, 13:29:20 pm

Login with username, password and session length

Αναζήτηση

Google

THMMY.gr Web
Πρόσφατα
Αιτήσεις Ορκωμοσίας ΤΗΜΜΥ...
by Mr Watson
[Today at 09:55:52]

Πότε θα βγει το μάθημα; -...
by tzortzis
[Today at 07:09:33]

H Στοά των Off Topic
by Katarameno
[June 18, 2025, 20:28:39 pm]

Ισραήλ - Ιράν: Πόλεμος στ...
by Katarameno
[June 18, 2025, 19:40:47 pm]

[ΣΗΕ ΙΙ] Γενικές απορίες ...
by chatzikys
[June 18, 2025, 19:26:00 pm]

Σιδηροδρομικό Δυστύχημα σ...
by Katarameno
[June 18, 2025, 18:22:39 pm]

[Μεταφορά και Διανομή ΗΕ]...
by tzortzis
[June 18, 2025, 07:55:05 am]

Πρακτική Άσκηση ΤΗΜΜΥ 201...
by chris_p30
[June 18, 2025, 00:45:33 am]

[Ψηφιακά Ολοκληρωμένα Κυκ...
by tzortzis
[June 17, 2025, 21:25:42 pm]

[Εφ.Θερμοδυναμική] Γενικέ...
by PAPARI69
[June 17, 2025, 20:59:13 pm]

[Γραφική] Λυμένα θέματα
by okanpala
[June 17, 2025, 18:56:22 pm]

Τι ακούτε αυτήν τη στιγμή...
by Katarameno
[June 17, 2025, 14:25:00 pm]

Αντικατάστασης πυκνωτή σε...
by george14
[June 17, 2025, 13:58:20 pm]

Αποτελέσματα Εξεταστικής ...
by george14
[June 17, 2025, 12:08:25 pm]

[ΨEE] Γενικές απορίες και...
by Juror8
[June 17, 2025, 12:06:57 pm]

[Οργάνωση Υπολογιστών] Γε...
by RAFI
[June 16, 2025, 22:46:54 pm]

[Σ.Π.Η.Ε.] Γενικές απορίε...
by Nikos_313
[June 16, 2025, 19:49:00 pm]

[ΘΤΠΑ] Γενικές απορίες κα...
by Nikos_313
[June 16, 2025, 16:56:56 pm]

[Αρχές Οικονομίας] Να επι...
by _Trob
[June 16, 2025, 13:28:21 pm]

[Σ.Α.Π.Γ.] Εργασία 2025
by Nikos_313
[June 16, 2025, 12:13:45 pm]
Στατιστικά
Members
Total Members: 9965
Latest: Poli
Stats
Total Posts: 1426725
Total Topics: 31712
Online Today: 209
Online Ever: 2093
(April 17, 2025, 08:47:49 am)
Users Online
Users: 58
Guests: 113
Total: 171
glavdakis
fopapadopoulos
Dimos Bachlas
Denisivo
melisste22
mrPink
MrGreekArrow
AcDimitri
unreasonable
Athinaaz
gpr000
schristofo
A-TheITGuy
Vasilikikr
almpandr
kutsukellis
Aris★
plapas
gpap
athena_apo
Marihouan820
BB
stavrosk
balligeorgia
dimitris585
Jordann
koulakidis
fapios
anastasis_sid
kapas
iropap
vajim
JoHn!
dimopoul
apal
dsaragiotis
KG03
electro_lux
tank
MrEagle
giannischliapas
Η ΤΡΑΠΟΥΛΑ ΤΟΥ ΠΑΠΠΟΥ ΜΟΥ
Christop
vaggelisx
johnnypap
Gaspard
tmpadasn
ONETWIN
tsaliki
AODON
Haralampos
Εμφάνιση

Νέα για πρωτοετείς
Είσαι πρωτοετής;... Καλώς ήρθες! Μπορείς να βρεις πληροφορίες εδώ. Βοήθεια για τους καινούργιους μέσω χάρτη.
Κατεβάστε εδώ το Android Application για εύκολη πρόσβαση στο forum.
Ανεβάζετε τα θέματα των εξετάσεων στον τομέα Downloads με προσοχή στα ονόματα των αρχείων!

Νέα!
Συμβουλές καλής χρήσης του φόρουμ: Youtube embed code and links, Shoutbox, Notify, ...
Δείτε περισσότερα εδώ...
THMMY.gr > Forum > Χαλαρή συζήτηση - κουβεντούλα > Διάφορα (Moderators: Don, Nikos_313, chatzikys, Tasos Bot) > Τύπος υπολογισμού του Πάσχα
0 Members and 1 Guest are viewing this topic.
Pages: 1 [2] Go Down Print
Author Topic: Τύπος υπολογισμού του Πάσχα  (Read 3978 times)
Turambar
Veteran
Διεστραμμένος
******
Gender: Male
Posts: 20652

μη νοιάζεσαι


View Profile
Re: Τύπος υπολογισμού του Πάσχα
« Reply #15 on: April 29, 2006, 14:09:16 pm »

To έτος 2100 δεν θα είναι δίσεκτο δηλαδή? κρίμα, και είχα σχέδια για την 29/2/2100.... τώρα πρέπει να τα αλλάζω...
Logged

byeeee
BOBoMASTORAS
Veteran
Καταστραμμένος
******
Posts: 6082


It just doesn't get any easier! It gets worse...


View Profile
Απ: Τύπος υπολογισμού του Πάσχα
« Reply #16 on: April 29, 2006, 14:20:07 pm »

Quote from: Καμένος on April 27, 2006, 01:02:18 am
Τον παραπάνω αλγόριθμο τον είχε δημοσιεύει και μία σαμιακή εφημερίδα (με ελάχιστες διαφορές). Λέει στο τέλος ότι ο αλγόριθμος (εκείνος) αντλήθηκε από το βιβλίο Μεθοδική Άλγεβρα των Κουκλάδα-Γεωργιακάκη.

Ναι θυμάμαι που τον είχες καρφιτσωμένο πάνω από τον υπολογιστή στη Σάμο Tongue Cheesy Cheesy
Logged

Της γενιάς μου βασιλιά,
μην κατέβεις τα σκαλιά.
Πιες αθάνατο νερό
να νικήσεις τον καιρό.

http://tools.ietf.org/html/rfc1149
The only reason we invent robots
fugiFOX
Veteran
Καταστραμμένος
******
Posts: 8962


Fugi+Fox μια νέα μορφή ζωής...


View Profile
Re: Τύπος υπολογισμού του Πάσχα
« Reply #17 on: April 29, 2006, 14:56:19 pm »

Μην τα αλλάξεις ακόμη ρε συ.
Μπορεί ως τότε να αλλάξει το ημερολόγιο
Logged

http://www.mozilla.org/en-US/firefox/new/
lynx
Εθισμένος στο ΤΗΜΜΥ.gr
*****
Gender: Male
Posts: 827


Freedom is the right of all sentient beings


View Profile
Re: Τύπος υπολογισμού του Πάσχα
« Reply #18 on: April 29, 2006, 15:59:23 pm »

Ο πρώτος αλγόριθμος που δημοσίευσε ο dimvam είναι του Carl Friedrich Gauss, και με τις κατάλληλες παραλλαγές προσαρμόζεται για όλα τα ημερολόγια ( Γρηγοριανό κτλ.)

βρήκα και ένα site  που το επιβεβαιώνει http://imagine.gsfc.nasa.gov/docs/ask_astro/answers/970401b.html , αλλά δεν λέει και πολλές λεπτομέρειες...
Logged

if there were in the world today any large number of people who desired their own happiness more than they desired the unhappiness of others, we could have paradise in a few years

70/70
dimvam
Εθισμένος στο ΤΗΜΜΥ.gr
*****
Gender: Male
Posts: 815



View Profile
Re: Τύπος υπολογισμού του Πάσχα
« Reply #19 on: April 29, 2006, 18:25:59 pm »

Quote from: lynx on April 29, 2006, 15:59:23 pm
Ο πρώτος αλγόριθμος που δημοσίευσε ο dimvam είναι του Carl Friedrich Gauss, και με τις κατάλληλες παραλλαγές προσαρμόζεται για όλα τα ημερολόγια ( Γρηγοριανό κτλ.)

βρήκα και ένα site  που το επιβεβαιώνει http://imagine.gsfc.nasa.gov/docs/ask_astro/answers/970401b.html , αλλά δεν λέει και πολλές λεπτομέρειες...

Σώστα lynx. Σας είπα ότι εγώ το άκουσα από έναν θείο μου τώρα το Πάσχα, που μου είπε ότι το έβγαλε ένας μεγάλος μαθηματικός πριν χρόνια, αλλά δε θυμόταν το όνομά του. Σίγουρα δεν είναι οι Κουκλάδα Γεωργιακάκη αλλά ο Gauss!
Logged

Στο μόνο μέρος που βρίσκεις ανθρώπους χωρίς προβλήματα είναι στο νεκροταφείο.
fugiFOX
Veteran
Καταστραμμένος
******
Posts: 8962


Fugi+Fox μια νέα μορφή ζωής...


View Profile
Re: Τύπος υπολογισμού του Πάσχα
« Reply #20 on: April 30, 2006, 02:12:06 am »

Quote from: dimvam on April 29, 2006, 18:25:59 pm
Quote from: lynx on April 29, 2006, 15:59:23 pm
Ο πρώτος αλγόριθμος που δημοσίευσε ο dimvam είναι του Carl Friedrich Gauss, και με τις κατάλληλες παραλλαγές προσαρμόζεται για όλα τα ημερολόγια ( Γρηγοριανό κτλ.)

βρήκα και ένα site  που το επιβεβαιώνει http://imagine.gsfc.nasa.gov/docs/ask_astro/answers/970401b.html , αλλά δεν λέει και πολλές λεπτομέρειες...

Σώστα lynx. Σας είπα ότι εγώ το άκουσα από έναν θείο μου τώρα το Πάσχα, που μου είπε ότι το έβγαλε ένας μεγάλος μαθηματικός πριν χρόνια, αλλά δε θυμόταν το όνομά του. Σίγουρα δεν είναι οι Κουκλάδα Γεωργιακάκη αλλά ο Gauss!
Εμ, ποιος άλλος θα ήταν;
Logged

http://www.mozilla.org/en-US/firefox/new/
corina
Veteran
Αbsolute ΤΗΜΜΥ.gr
******
Gender: Female
Posts: 4651


summertime


View Profile
Re: Τύπος υπολογισμού του Πάσχα
« Reply #21 on: September 09, 2007, 20:58:00 pm »

Κι όμως κάτι βρήκα...(Τώρα βρήκα?? Cheesy)
http://www.henk-reints.nl/easter/index.htm?frame=easteralg2.htm


Gregorian algorithm by  Carl Friedrich Gauss (1777-1855).

Valid for any year since 1583.

Source:
Any encyclopedia (at least in The Netherlands).



Breakdown of this algorithm

In most cases where you find Gauss' algorithm in an encyclopedia or so, the values of M and N ar just given as:

For the 20st and 21st century M = 24 and N = 5.

Below, you will find a method to compute the values of M and N, but as far as I know that was not published by Gauss.

In the algorithm below, all steps in darkblue are my own work, the steps in black are what I could find in other sources (especially Dutch encyclopedias).

The values of M and N vary per century, the core of the Gauss algorithm is what varies per year.

A L G O R I T H M :
HR:    P = year DIV 100    
HR:    Q = (3 x P + 3) DIV 4   (or: Q = P - P DIV 4)    
HR:    R = (8 x P + 13) DIV 25    
HR:    M = (15 + Q - R) MOD 30    
HR:    N = (4  +  Q) MOD 7    
Most sources simply state: for the 20st and 21st century M = 24 and N = 5.
Gauss:    A = year MOD 19    
Gauss:    B = year MOD 4    
Gauss:    C = year MOD 7    
Gauss:    D = (19 x A + M) MOD 30    
Gauss:    E = (2 x B + 4 x C + 6 x D + N) MOD 7    
Gauss:    F = 22 + D + E    
HR:    if F = 57 or (F = 56 and E = 6 and A > 10) then F = F - 7    
     result = F    




Breakdown of the Gauss algorithm:

First, we'll consider the variables that only have to do with the (Gregorian) Calendar:

    * The value of C = year MOD 7 takes care of the fact that a non-leap year is 1 day longer that 52 weeks, so for the day of the week every date (including March 21) shifts one day per year, as does your own birthday. Only if there is a leap day in between then it shifts an extra day, which is handled by B and N:
       
    * The value of B = year MOD 4 counts the leap days according to the Julian calendar, i.e. one leap day every 4 years.
       
    * The value of N = (4 + P - P DIV 4) MOD 7 (where P = year DIV 100) has to do with the difference in the number of leap days between the Gregorian and the Julian calendar. The Julian calendar has a leap day every 4 years, whilst the Gregorian calendar excludes the 100-fold years from being a leap year unless they can be divided by 400. This has to do with the actual length of the year, which on the Gregorian Calendar is assumed to be 365.2425 days (in reality it currently is 365.24219 days). Together, B and N handle the Gregorian leap days.
       
    * Now we will ignore D for a while (it will be explained below). Instead of E we will first look at E' = (2 x B + 4 x C + N) MOD 7. The result is the number of days from March 22 until the next Sunday, i.e. if March 22 is a Sunday then E' = 0, if it's a Saturday then E' = 1, etc. until E' = 6 if March 22 is a Monday. So March 22 + E' is the first Sunday after March 21.
      This calculation is remarkably clever of Mr. Gauss! Both B and C usually increment by 1 every year, so adding 2 x B + 4 x C means adding 6 days every year. But in modulo 7 arithmetic, 6 is the same as -1, so effectively it subtracts 1 from the days left until the next Sunday. Since March 22 is a day later the next year, it takes 1 day less until the next Sunday. And because B never exceeds the value of 3 and C never becomes larger than 6, the value of E' correctly handles the leap days!

Now we are going to take the Moon into account:

    * It appears to be so that 235 lunations (i.e. moon months) are practically equal to 19 tropical years (a tropical year is the time between the beginning of spring one year and the next year). This means that every 19 years the moon phases will occur on the same dates in the year. This regularity was discovered by an ancient Greek called Meton and therefore this 19-year cycle is called the Metonic cycle (or moon cycle). The value of A = year MOD 19 is simply the offset (from 0 to 18) of the given year within the corresponding Metonic cycle.
       
    * Because this equality of 235 lunations and 19 years is not really exact (the difference is approximately 2 hours), there is a small shift of about 1 day per 310 years = ca. 8 days per 25 centuries. The value of M takes care of that shift (as far as I know Gauss did not include a calculation of M in his algorithm). For calculating M, some intermediate results are used: P = year DIV 100 is simply the century index, Q = (3 x P + 3) DIV 4 takes care of the leap day difference between the Julian and the Gregorian calendar, and R = (8 x P + 13) DIV 25 actually handles the shift of the Metonic cycle.
       
    * Now look at D = (19 x A + M) MOD 30. The number 19 we see here does not have the same meaning as the Metonic cycle used to calculate A, but it comes frome the following: a so called Moon year of 12 Moon months is a bit more than 354 days, so it is 11 days shorter than the Gregorian Solar year of 365.2425 days. This means that the moon phases occur 11 days earlier every next year and since a Moon month has got 30 days this implies that the Moon phases also occur 19 days later, which is the meaning of the 19 in the calculation of D. The value of D handles the Metonic cycle (using A) and the long term shift thereof (using M) as well as the length of the Lunar month (the 19 and the MOD 30). The result actually is the number of days (from 0 to 29) to be added to March 21 in order to get the date of the first Full Moon in spring (PFM = Paschal Full Moon).

Finally, the first Sunday after this PFM is calculated:

    * We want to find the Sunday after this PFM, so we have to add up to the first Sunday on or after PFM + 1. Therefore we start with March 21 + D + 1 = March 22 + D. In order to find the next Sunday, we do more or less the same as we did above with E'. But now we have added D to March 22. This means that the day of the week has advanced D MOD 7 days, so using E' to find the next Sunday is no longer appropriate. We will have to compensate for this extra advance. This is handled by the term 6 x D in the calculation of E. Note that adding D + (6 x D) MOD 7 to any date gets you back on the same day of the week.
       
    * Together, this means that the value of E = (2 x B + 4 x C + 6 x D + N) MOD 7 is just the right number that will bring you to the first Sunday after March 22 + D, which is Easter Sunday.
       
    * Alltogether the Easter date is calculated as F = (22 + D + E) March and if F becomes larger than 31 it will of course rollover to April.
       
    * Finally, there is one caveat left: The length of a Moon month is not exactly 30 days, but 29.53. This means that for large values of D we might find a PFM that is one day late and if that happens to be a Sunday, then we will end up with an Easter date that is an entire week overdue. Therefore the final correction: if F = 57 or (F = 56 and E = 6 and A > 10) then F = F - 7 must be applied.
      This should be read as:
          o if the result is April 26 (F = 57) then subtract 1 week;
          o if the result is April 25 (F = 56) AND the day after PFM is a Monday (E = 6) AND the year is in the second half of a Metonic cycle (A > 10) then subtract 1 week.
            (Please note the following: A ranges from 0 to 18, so the threshold of A > 10 means A/18 > 10/18 = 5/9 = 0.55, being practically equal to the fractional part of the length of the Moon month...)
Logged

Η συμμετοχή δεν φέρνει ντε και καλά τη νίκη. Αλλά η νίκη δεν μπορεί να έρθει αλλιώς. Ασε που, συμμετέχοντας μπορεί να βγεις απ' τη συντήρηση.
Καμένος
Μόνιμος κάτοικος ΤΗΜΜΥ.gr
******
Gender: Male
Posts: 2322


View Profile
Re: Τύπος υπολογισμού του Πάσχα
« Reply #22 on: September 10, 2007, 09:02:03 am »

http://dim-kokkar.sam.sch.gr/index_files/pasxa.htm

κάπου για να βγάζετε απευθείας την ημερομηνία του πάσχα

(την ιστοσελίδα την έφτιαξα εγώ και είναι του δημοτικού σχολείου Κοκκαρίου Σάμου που ήμουν  μαθητής!!)
Logged
corina
Veteran
Αbsolute ΤΗΜΜΥ.gr
******
Gender: Female
Posts: 4651


summertime


View Profile
Re: Τύπος υπολογισμού του Πάσχα
« Reply #23 on: September 10, 2007, 15:32:36 pm »

Quote from: Καμένος on September 10, 2007, 09:02:03 am
http://dim-kokkar.sam.sch.gr/index_files/pasxa.htm

κάπου για να βγάζετε απευθείας την ημερομηνία του πάσχα

(την ιστοσελίδα την έφτιαξα εγώ και είναι του δημοτικού σχολείου Κοκκαρίου Σάμου που ήμουν  μαθητής!!)

 wav
είπαμε...αυτόγραφο!!
Logged

Η συμμετοχή δεν φέρνει ντε και καλά τη νίκη. Αλλά η νίκη δεν μπορεί να έρθει αλλιώς. Ασε που, συμμετέχοντας μπορεί να βγεις απ' τη συντήρηση.
Pages: 1 [2] Go Up Print
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Scribbles2 | TinyPortal © Bloc | XHTML | CSS
Loading...