How to plot it graph in Mathematica

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
4 replies · 3K views
roshan2004
Messages
140
Reaction score
0
The potential inside of a uniformly charged sphere of radius R is given by [itex]\frac{Q}{4\pi \epsilon _{0}}\frac{1}{2R}(3-\frac{r^2}{R^2})[/itex].
Please help me on how to plot this equation in Mathematica
 
Physics news on Phys.org
You cannot plot it as a general formula. You need to assign values to the parameters (Q, epsilon_o, R) so you will have a function of one variable only (r).