Question about DiracDelta

*To*: mathgroup at smc.vnet.net*Subject*: [mg68617] Question about DiracDelta*From*: "vasil michev" <michev at gmail.com>*Date*: Sun, 13 Aug 2006 05:52:25 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

Hi group, I need to plot this: Plot[NIntegrate[DiracDelta[3 - Cos[x] - Cos[y] - Cos[z] - e], {x, -Pi, Pi}, {y, -Pi, Pi}, {z, -Pi, Pi}, MaxPoints -> 1000000]/8/Pi^3, {e, 0, 6}, PlotPoints -> 30] the problem is that the function always returns 0, no matter what the value of 'e' is. I saw that other people have reported incorect evaluation/simplification related to DiracDelta, but I was wondering can anyone tell me if there's some workaround? Thanks in advance