### Wuxing and Compatibility Coefficient: Part IV

In Chinese fate calculation, there exists a mapping between the wuxing (五行) and sexagenary components (celestial stem, γ = tiangan 天干 and terrestrial branches, ζ = dizhi 地支). When the birthdate of a person is stated in sexagesimal form, one is able to deduce the xing associated with the eight sexagenary components or bazi (八字).

Normally this mapping is in table form:

A useful set of numerical formulas to handle the mapping is to use

The basic principle to compute the mutual compatibility of two sets of sexagenary birth data is to pair the corresponding sexagenary components of the two individuals and compute their compatibility coefficients.

We can then construct a normalized rank based on the eight compatibility coefficients computed, and "foretell" whether the two individuals can live in harmony.