Sigma / Σ Summation
3D Cartesian Wave Surface
A smooth 3D height field summed through n = 15.
z = sum(sin(n*x)*cos(n*y)/n^2, (n, 1, 15)) is a height field. Each term is a product of a sine in x and a cosine in y, divided by n².
Fifteen terms stay in one compact sum while the 3D mesh is sampled. The squared denominators keep the higher waves small, so the surface is a smooth superposition.
Equation
z = sum(sin(n*x)*cos(n*y)/n^2, (n, 1, 15))
How the 3D scene is built
A 3D example is drawn in the existing surface viewer, not on the flat JSXGraph board. An equation z = f(x, y) becomes a height field. A quadric such as a sphere or hyperboloid uses its own sampler. A parametric3d or curve3d command supplies the coordinates directly.
The camera starts framed on the surface. Axes and the grid stay in the scene. Implicit surfaces are extracted with marching cubes from F(x, y, z) = 0. If you edit the equation and generate again, the same viewer replaces the mesh instead of opening a second renderer.
Reading the input
z = sum(sin(n*x)*cos(n*y)/n^2, (n, 1, 15))— This line defines a height. Each horizontal point (x, y) produces one z for the 3D mesh.
Try a change
- Change a constant on the right-hand side, or the amplitude of a wave, and generate. The 3D frame updates to the new surface.
- If this is z = f(x, y), try z = -f(x, y). The shape flips through the xy-plane.
Generate Graph sends the expression to the graph engine. A 3D result is drawn in the surface viewer: a mesh, a space curve, or a shaded region, depending on the command. The 2D board is cleared first.