Maths layperson in need of help

  • Context: Undergrad 
  • Thread starter Thread starter larashka
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around understanding a formula for converting Western calendar years to the Chinese calendar. Participants seek clarification on specific components of the formula, particularly the remainder function used in the calculations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Homework-related

Main Points Raised

  • Belinda requests help in understanding a formula for converting Western years to Chinese years, specifically asking for simple explanations and examples.
  • Arildno provides a worked example using the year 1994 to demonstrate the calculations involved in determining the Chinese year.
  • Belinda expresses confusion regarding the remainder function used in the calculations for variables a and i.
  • Another participant offers an explanation of how to calculate the remainder function, suggesting a method involving division and subtraction.
  • cookiemonster relates the remainder function to long division learned in elementary school, indicating a familiar context for understanding.
  • Belinda seeks clarification on the definitions of x and y in the context of the formula, specifically relating them to the Western year.

Areas of Agreement / Disagreement

The discussion remains unresolved, with participants expressing varying levels of understanding and seeking further clarification on specific aspects of the formula.

Contextual Notes

Participants have not reached a consensus on the understanding of the remainder function, and there are ongoing questions about the definitions of variables within the formula.

larashka
Messages
3
Reaction score
0
Hi, I need some help understanding a formula I found on a website to convert the Western calendar to the Chinese one. I'm looking for anyone who can explain it to me in simple terms with clear examples. Any help at all would be much appreciated.

The relevant section from the website is pasted below but I have also included the link for more information.

Thanks in advance,
Belinda

--
For converting Western years into Chinese, for any positive integers x and y, let rem(x,y) denote the remainder on dividing x by y (i.e., rem(x,y) = x mod y). Then given a Western year n, the Chinese year (e,a,k) may be determined as follows: Let i*=*rem(n+6,10) if n is even, rem(n+6,10) - 1 otherwise. Then e = ½*i. (Note that rem(n+6,10) is simply the last digit of n+6.) a*=*rem(n+8,12), and k*is the largest integer k' such that 60k' <= n + 2756 (provided that n >= -2696). Having determined e and a by these means, the element name and the animal name are obtained from the above correspondence.
--
URL: http://www.hermetic.ch/cal_stud/ch_year.htm
 
Last edited:
Mathematics news on Phys.org
Let n=1994
Then i=rem(2000,10)=0
e=1/2*0=0
a=rem(2002,12) =10 (166*12=1992)
k<=(1994+2756)/60=79,...
so k=79

We have then Chinese year (0,10,79)

If this was a bit too quick for you, post again.
 
Thanks Arildno, but I'm still at little unclear. I understand k and e but the rem() function in a and i is totally over my head.
 
I guess what you want is an easy way to understand how to calculate the remainder function.
Now given x>y, you shall first find the largest integer n so that y*n<=x
How to do that?
Simply calculate x/y, and throw away the decimals after the point; there you have n!

Now, the remainder is given by x-n*y
 
It's also the same remainder you always got when you used to do long division in elementary school.

cookiemonster
 
Thanks that's great, but could you tell me what are x and y in relation to the rest of the whole? For example, n = western year
 

Similar threads

  • · Replies 60 ·
3
Replies
60
Views
13K
  • · Replies 102 ·
4
Replies
102
Views
12K
  • · Replies 125 ·
5
Replies
125
Views
21K
  • · Replies 33 ·
2
Replies
33
Views
9K
  • · Replies 67 ·
3
Replies
67
Views
12K
  • · Replies 114 ·
4
Replies
114
Views
13K
  • · Replies 42 ·
2
Replies
42
Views
12K
  • · Replies 86 ·
3
Replies
86
Views
14K
  • · Replies 64 ·
3
Replies
64
Views
16K
  • · Replies 51 ·
2
Replies
51
Views
11K