With the product(cos(2*k), k, 1, 4), command, where cos(2*k) is the expression, k is the variable, 1, 4 are the range of values that must be evaluated in the expression, resulting in cos(2)*cos(4)*cos(6)*cos(8) 