function sa = surfaceArea() % Returns the surface area of a cube with sides that are "sideLength" long. global sideLength sa = 6 * sideLength.^2 ;