3. Continuous Charge Distribution in Electric Field
Compute electric field from continuous charge distributions using \( d\mathbf{E} = k\,\dfrac{dq}{r^2}\,\hat{\mathbf{r}} = k\,dq\,\dfrac{\mathbf{r}}{\|\mathbf{r}\|^3} \). Choose a geometry (line / ring / disk), use symmetry for closed forms when available, or evaluate the integral numerically.
pi, e, sqrt(), sin, cos, exp, log. Use * for multiplication.
For non-uniform density you may enter expressions like 5e-6*(1+0.5*x) (for line) or 1e-6*(1-rho/R) (for disk).