R : 4848 43 characters
f=function(a,b,c...){prod(sum(a+b+c...)/2-c(0,a,b,c...))^.5} Using Heron's formula as well but taking advantage of R's vectorization.
Thanks to @flodel for the idea of the ellipsis.
Usage:
f(2,3,4) [1] 2.904738 f(3,4,5) [1] 6