suppose you have such a question that on 27-may-1991 what was the DAY?
so... Here is the math trick to get the DAY name from the DATE.
Remember this 2 table
=> MONTH CODE
jan =1
feb =4
mar=4
apr =0
may=2
jun =5
jul =0
aug=3
sep=6
oct =1
nov =4
dec=6
(if LEAP YEAR then jan=0, feb=3)
=> DAY CODE (IF year <= 2000)
sun =1
mon=2
tue =3
wed=4
thu =5
fri =6
sat =0
=> DAY CODE (IF year >= 2000)
sun =0
mon=1
tue =2
wed=3
thu =4
fri =5
sat =6
step.1
sum of DAY + MONTH CODE + last 2 digit of YEAR + int(1/4th of Last 2 digit of YEAR)
step.2
divide SUM by 7
step.3
now compare REMINDER of STEP.2 with DAY CODE
its your DAY of that DATE
example
if the DATE is 27-may-1991 then find the DAY
step.1
27 + 2(month code)+ 91 + 22
(here 1/4th of 1991 is 22.75 but truncate fraction part so only 22 will be considered)
so, SUM=142
step.2
=142/7
so, REMINDER = 2
step.3
see REMINDER in table of DAY CODE
so... 2= MONDAY is my b'day
so... that we can say that... on DATE 27-may-1991 the day was Monday.
Try this l0g!c........
Showing posts with label math tricks. Show all posts
Showing posts with label math tricks. Show all posts
25 August 2010
Subscribe to:
Posts
(
Atom
)
Popular Posts
-
RS Agarwal quantitative aptitude pdf free download RS Agarwal book for Quantitative Aptitude is one of the best books for Competitive Exa...
-
Hello friends, Here is the link to download e-book of " JAVA The Complete Reference - 7th " edition by Herbert Schildt ...
-
Download VTU MCA Old question papers for third Semester. Download System Software (SS) Question papers Download Computer Networks (CN) ...
-
Facebook: Today we're hosting f8, our developer conference, to connect with the community and share where we're headed. F...
-
Hello friends, Today I'm sharing all LAB Programs of Web Programming, Following is the list of all problems: 1. Develop and demons...
-
Hey friends, Now you can DOWNLOAD Syllabus of MCA (VTU- Visvesvaraya Technological University)
-
Download Old Question Papers of VTU MCA Semester 4 [Download SE - Software Engineering Question Papers] [Download Web Programming Q...
-
Despite the tumor-shrinking medical miracle that has bought her a few years, Hazel has never been anything but terminal, her final chap...
-
S.R. Number Sub. Download Link 1 VNSGU - BCA Old Exam Papers Download
-
Hello, Friends... Now you can download Ebook for Computer Organisation, which is there in MCA Sem 1 (VTU) syllabus. DOWNLOAD PAS...