Find, with proof, all real-valued functions y=g(x) defined and continuous on [0,∞), positive on (0,∞), such that for all x>0 the y-coordinate of the centroid of the region
Rx={(s,t)∣0≤s≤x,0≤t≤g(s)}is the same as the average value of g on [0,x]. functionintegrationcalculus