This demo shows a density function
f(x,y,z)
over the domain
-1 {leq} x, y, z {leq} 1
and computes the total mass over the domain. The function
f
is initially set to
f(x,y,z) = x
2
- y
2
+ z
2
.