**We consider the charge in the sphere to be positive because if it is negative then zero velocity will be needed by the particle to reach the opposite end.**

Here,

Mass of the projectile = M

Radius = R

Let charge on the sphere = Q

Charge of the projectile = 1 C

The electric field inside the non-conducting charged sphere at a distance r from the center is given by