

-----------------------------------

badbwai

Thu Nov 06, 2008 6:59 pm


Wondering how to find out when Easter will happen?

-----------------------------------

Well hi everyone!
I wanna create a program that can tell me when Easter will happen.
Like lets say, I put the year in & then it will give me the month and the day of Easter in that year.
I got an idea how to do it, but it always seem to fail.
I've done harder things than this before but this just seems to mess me up alot  :( 
So if anyone can help me out on this, I'd appreciate it a lot!
How would I made this work? 

Thanks in advance for the replies to come!


-----------------------------------

Vertico

Thu Nov 06, 2008 8:02 pm


Re: Wondering how to find out when Easter will happen?

-----------------------------------

Easter is observed by the churches of the West on the first Sunday following the full moon that occurs on or following the spring equinox (March 21). Easter is a "movable" feast which can occur as early as March 22 or as late as April 25.

So pretty much, you will need to figure out the moon phases first. They may be a site out there that has the information.


-----------------------------------

BigBear

Thu Nov 06, 2008 8:07 pm


Re: Wondering how to find out when Easter will happen?

-----------------------------------

Easter is the first sunday after the full moon.

Also found this with helpful comments
http://www.holidays.net/easter/eadates.htm


-----------------------------------

Insectoid

Thu Nov 06, 2008 8:16 pm


RE:Wondering how to find out when Easter will happen?

-----------------------------------

This site may be useful:

http://homer.ugdsb.on.ca/teachersites/swynen/ICS3M/prim_types.htm


-----------------------------------

ScribbleS

Thu Nov 13, 2008 9:27 pm


RE:Wondering how to find out when Easter will happen?

-----------------------------------

... is this a coincidence or... -stares suspiciously-
i have an assignment in my turing manual that asks me to find out what day Easter is on for any given year. its basically used as a practice program for div and mod. anyway, hope this helps!


-----------------------------------

Insectoid

Thu Nov 13, 2008 9:32 pm


RE:Wondering how to find out when Easter will happen?

-----------------------------------

Have you got the Turing reference manual or the Holtsoft CE manual? Or a different one?


-----------------------------------

ScribbleS

Sun Nov 16, 2008 6:24 pm


RE:Wondering how to find out when Easter will happen?

-----------------------------------

uhhh...i think the reference manual
i'm taking TIK2O1 right now... you noe, the really noob one, so class gets really, REALLY boring...
(we're just starting loops. =.=")


-----------------------------------

Jack140

Sun Nov 16, 2008 9:27 pm


Re: Wondering how to find out when Easter will happen?

-----------------------------------

Don't forget about leap years...


-----------------------------------

Insectoid

Sun Nov 16, 2008 10:04 pm


RE:Wondering how to find out when Easter will happen?

-----------------------------------

I saw once on TV that this guy ("The Human Calculator") was able to figure out every year that Easter fell on a wednesday between 19XX and 20XX in seconds, using only his brain. 

Sure, that was a little off topic, but also a little on topic, and interesting to boot!

Edit: Youtube link: http://www.youtube.com/watch?v=NUsD2V6ijyQ


-----------------------------------

gitoxa

Sun Nov 16, 2008 10:21 pm


RE:Wondering how to find out when Easter will happen?

-----------------------------------

i'm taking TIK2O1 right now... you noe, the really noob one, so class gets really, REALLY boring...
(we're just starting loops. =.=") 

We did the history of computers for the first half of the semester in that class.  Looking back sure it was a good thing to learn (history is always awesome to learn) but hoooooooooly f*** was it boring haha.


-----------------------------------

DanielG

Mon Nov 17, 2008 7:34 am


RE:Wondering how to find out when Easter will happen?

-----------------------------------

couldn't your teacher give you easy ones? like saying what day of the week the first day of the year.

