Expected Value Of Function Of Random Variable