- #1
- 12
- 0
ok, I'm not completely sure which section this goes into, but since I'm using this to solve a PDE ima going to put it in here,
I need to integrate w(x,y,z)*V(x,y,z) over a cylindrical domain, it would be fairly simple if V had a "formula" describing the function, but i only have V as a number at a bunch of points(1000 points or so) inside the domain(and on the boundary), w is any C2 function which is zero on the boundaries and not identically zero inside.
I chose a function w and found its values at the same points as V is known, but I'm not sure which is the best way to find an approximation to this integral, any help much appreciated, as always.
I need to integrate w(x,y,z)*V(x,y,z) over a cylindrical domain, it would be fairly simple if V had a "formula" describing the function, but i only have V as a number at a bunch of points(1000 points or so) inside the domain(and on the boundary), w is any C2 function which is zero on the boundaries and not identically zero inside.
I chose a function w and found its values at the same points as V is known, but I'm not sure which is the best way to find an approximation to this integral, any help much appreciated, as always.