— Function File:
sombrero (
n)
Produce the familiar three-dimensional sombrero plot using n
grid lines. If n is omitted, a value of 41 is assumed.
The function plotted is
z = sin (sqrt (x^2 + y^2)) / (sqrt (x^2 + y^2))
Demonstration 1
The following code
sombrero ();
Produces the following figure