The Chinese believe their sages influence the hexagram (answer) they receive. You may choose to believe your answer is derived from an altogether different source. Be it your higher source, God, whatever your believe systems is.
Casting yarrow sticks or tossing coins is used to derive an answer (hexagram) to any question that is asked. A hexagram is a six-lined graph or message composed of solid and broken lines. In total the Yi Jing comprises of 64 hexagrams arranged in certain sequences.