crox
- 5
- 0
Homework Statement
calculating volume under a surface, defined by implicit function f(x, y, z)=0 (in cartesian coordinates, strictly not in polar). Because the function that i need to integrate is quite complicated and there would be no obvious way to double check the result i first tried to calculate volume under sphere, but i get the wrong result.
Homework Equations
so let it be f(x, y, z)=x^2+y^2+z^2-1
The Attempt at a Solution
V=8*\int dxdydz
where dz is integrated from 0 to \sqrt{1-x^2-y^2}, dy from 0 to 1 and the same with dx. The multiplication factor 8 is added to get the whole volume.
I use Mathematica for solving the equation and get \frac{2}{3}(2\pi - i*(-4 + \log{16}))
what am I doing wrong?