Write The Equation For The Expected Value