# How to plot it graph in Mathematica

1. Nov 27, 2011

### roshan2004

The potential inside of a uniformly charged sphere of radius R is given by $\frac{Q}{4\pi \epsilon _{0}}\frac{1}{2R}(3-\frac{r^2}{R^2})$.
Please help me on how to plot this equation in Mathematica

2. Nov 27, 2011

### JHamm

3. Nov 27, 2011

### roshan2004

Thanks for the help, but it shows error.

4. Nov 27, 2011

### nasu

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).

5. Nov 27, 2011

### JHamm

Oops my bad, sorry :)

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook