The intensity of an electric field depends only on the coordinates x and y as follows
E=x2+y2a(xi^+yj^)
where, a is a constant and i^ and j^ are the unit vectors of the x and y-axes. Find the charge within a sphere of radius R with the centre at the origin.