In a cylindrical wire of constant cross-section A=2mm2 and length L=2m, the electric field E is observed to vary with position x as E(x)=E0x2, where E0=5V/m3. The current flowing through the wire is I=2A. Determine the expression for the resistivity ρ(x) of the material as a function of x.