Title: Algebraic Calculation of the Rainbow & Calculation of Chances