# Flux of a Cube

1. Sep 27, 2011

### kuahji

In general I just wanted to see if I was setting this problem up correctly.

We have a cube centered around the origin and a point charge at the origin. The task is to find the flux & confirm Gauss' Law. We are however to complete the integral ourselves. So imagining the top of the cube

q/(4*Pi*$\epsilon)$$\int$$\int$z/(x^2+y^2+z^2)^(3/2)dxdy

Would this be the correct setup or am I mucking something up?

2. Sep 28, 2011

### kuahji

Nevermind, I went through the integral, it came out correctly... though it wasn't pretty.