A long thin bar of length L is made of material whose density varies along the length of the bar. Let x be the distance from one end of the bar. If mass density of bar is given by P(kg/m)=ax2,0≤x≤L; where x is in meter, find the centre of mass of bar.