I need a good thinking trivia question for my Math club

  • Thread starter Thread starter matt000
  • Start date Start date
  • Tags Tags
    Thinking
AI Thread Summary
A user is seeking a challenging trivia question for their math club, specifically at a precalculus level, and recalls previous questions involving error identification in equations. They share a complex code snippet and ask if the final answer is zero, expressing a need for both the question and the solution. Another participant clarifies that the code calculates the date of Easter, emphasizing the importance of understanding that 'y' represents the year. The original poster appreciates the question and confirms they will use it.
matt000
Messages
5
Reaction score
0
I'm doing this for extra credit for my teacher and I have NO IDEA where to get any problems.
In the past, my friends did... something like a = b (long lines of equation) and we had to find what's wrong. It took a while, but the club got it.
I want something like that. It can be at around prerecalculus level. I don't know what to think of ... :frown:

Please help me...

THANK YOU!

EDIT:: (I'll need an answer with it also if possible, or the work, thank you so much)
 
Last edited:
Physics news on Phys.org
Here is a fun one:
What does this code generate?

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 )
 
is the answer zero ?

crude, i forgot to say I'll need an answer also ! sorry for the trouble again. Thank you for the question thought, I'll probably use it.
 
:smile: You want the answer! No, it is not zero.

I was able to figure out this when it was presented to me. What got me on the right track was realizing that y must stand for year. Try starting with a year, go through the calculations...
 
It calculates the date of Easter.
 
Back
Top