Let (x1,x2,…,xn) be a point chosen at random in the n-dimensional region defined by 0<x1<x2<…<xn<1, denoting x0=0 and xn+1=1. Let f be a continuous function on [0,1] with f(1)=0. Show that the expected value of the sum
i=0∑n(xi+1−xi)f(xi+1)is ∫01f(t)P(t)dt., where P is a polynomial of degree n, independent of f, with 0≤P(t)≤1 for 0≤t≤1. probabilityexpected valuecalculusintegration