# Import the NumPy library import numpy as np # create a random vector of length 1000000 Z = np.random.rand(100000000) # raise each element of Z to the power of 3 Z_cubed = Z ** 3 # displaying the results of only first five print(Z_cubed[:5])