1. The problem statement, all variables and given/known data A semiconducting nanowire has a volume charge density ρ(r)=ρ0(r/R) where R is the radius of the nanowire. How would you calculate the electric field inside the wire? 2. Relevant equations Gauss's Law 3. The attempt at a solution I know that by symmetry the E field only points radially out. Using Gauss's law and finding the dq by integrating in terms of dr, a small ring in the gaussian cylinder. So would you integrate ρ0(r/R)2piLdr from 0 to r?