Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
|
Lista Forumurilor Pe Tematici
|
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login
POZE MRRRR'S FORUM (VIEW ONLY)
Nu sunteti logat.
|
Nou pe simpatie: papiota55
 | Femeie 23 ani Bucuresti cauta Barbat 24 - 54 ani |
|
Mrrrr
AdMiN
 Inregistrat: acum 18 ani
Postari: 2254
|
|
Please note the following: This is an integer calculation. All variables are integers and all remainders from division are dropped. For example, 7 divided by 3 is equal to 2 in integer arithmetic.
c = y / 100 n = y - 19 * ( y / 19 ) k = ( c - 17 ) / 25 i = c - c / 4 - ( c - k ) / 3 + 19 * n + 15 i = i - 30 * ( i / 30 ) i = i - ( i / 28 ) * ( 1 - ( i / 28 ) * ( 29 / ( i + 1 ) ) * ( ( 21 - n ) / 11 ) ) j = y + y / 4 + i + 2 - c + c / 4 j = j - 7 * ( j / 7 ) l = i - j m = 3 + ( l + 40 ) / 44 d = l + 28 - 31 * ( m / 4 )
For example for 2012:
c=2012/100=20 n=2012-19*(2012/19)=17 k=(20-17)/25=0 i=20-20/4-(20-0)/3+19*17+15=347 i=347-30*(347/30)=17 i=17-(17/28)*(1-(17/28)*(29/(17+1))*((21-17)/11))=17 j=2012+2012/4+17+2-20+20/4=2519 j=2519-7*(2519/7)=6 l=17-6=11 m=3+(11+40)/44=4 d=11+28-31*(4/4)=8
So the Easter in 2012 is on the 8th of April 2012.
Source:
_______________________________________

|
|
pus acum 13 ani |
|