- #1
physicss
- 25
- 4
- Homework Statement
- Hello, are my answers correct?
I had to calculate the gradient of f=z and f=xy in spherical coordinates.
My solution for f= z is: cos(θ) er+ (-sin(θ)) e(θ)
f=xy
rsin^2(θ)sin(2φ) er+ rcos(θ)cos(φ)sin(θ)sin(φ) e(θ)+ rcos(2φ)sin(θ) e(φ)
I also had to calculate the divergence of the following vectorfield (Image)
My result is: (scalarfield)
Sin^2(θ)cos^2(φ) er + rcos(2θ)cos^2(φ) e(θ)-rsin(θ)cos(2φ) e(φ)
Thanks in advance
- Relevant Equations
- er, e(θ) and e(φ) are the spherical base vectors
Vectorfield for the divergence