How to plot it graph in Mathematica

  • Context: Undergrad 
  • Thread starter Thread starter roshan2004
  • Start date Start date
  • Tags Tags
    Graph Mathematica Plot
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
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
Thanks for the help, but it shows error.
 
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).