- #1
acsol
- 3
- 0
Homework Statement
NOTE: don't know see the phi symbol so I used theta. this is cylindrical coordinates not spherical.
Given the field D = 6ρsin(θ/2)ap + 1.5ρcos(θ/2)aθ C/m^2 , evaluate both sides of the divergence theorem for the region bounded by ρ=2, θ=0 to ∏, and z = 0 to 5
Homework Equations
∫D * dS = ∫ ∇ * D dV
The Attempt at a Solution
The answer (to both sides of course) is 225. I figured out how to do the divergence side, but I'm having problems evaluating the left (surface) side. The way I'm doing it is that the z-component is zero since the equation for D only has a rho and phi.
From here I'm evaluating ∫∫Dp*pdθdZ from 0 to pi for dθ and 0 to 5 for dz.
I plug in p = 2 as an "initial condition", and when I calculate the integral through I keep getting 240 even though the answer is 225. Any ideas what's going on? Maybe my integral is just wrong