1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Divergence of F and plot.

  1. Sep 12, 2014 #1
    1. The problem statement, all variables and given/known data


    2. Relevant equations


    3. The attempt at a solution

    I keep trying to plug F into the divergence theorem but end up with very ugly answers that I know are not right.

    Is there a simple way to do this question? Also, how the heck would I plot this for for the specified function values! thanks! help with the flux would be appreciated to.
  2. jcsd
  3. Sep 12, 2014 #2
    Your starting equation should be the equation for the divergence of an arbitrary vector in spherical coordinates. What is that equation?

  4. Sep 12, 2014 #3


    Staff: Mentor

    Can you show us your approach and what you did to get ugly answers for the divergence?

    Did you use spherical coordinates? and the spherical variant of the divergence operator?


    For plotting you could use MATLAB or FreeMat (a free clone of MATLAB).

    For the flux you have to integrate over the whole surface of the sphere. If you recall the surface of a sphere
    is 4*pi*r^2 which might help you with the eventual solution.

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

Have something to add?
Draft saved Draft deleted