Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to plot it graph in Mathematica

  1. Nov 27, 2011 #1
    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
  2. jcsd
  3. Nov 27, 2011 #2
  4. Nov 27, 2011 #3
    Thanks for the help, but it shows error.
  5. Nov 27, 2011 #4
    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).
  6. Nov 27, 2011 #5
    Oops my bad, sorry :)
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook