destroy\all
x=[1:5]
y=[1:5]
matrix m 5 5
m=m+1
display 'Volume = '//rchar(volume(x,y,m))
x=x//x//x//x//x
y[1:5]=1
y[6:10]=2
y[11:15]=3
y[16:20]=4
y[21:25]=5
z=(x-2.5)^2+(y-2.5)^2
display 'Volume = '//rchar(volume(x,y,z))
grid\xyout\-messages x y z mm xo yo
display 'Volume = '//rchar(volume(xo,yo,mm))
