import numpy as np
# Create a fixed 2D array
fixed_array = np.array([[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 1, 2]])
print("Fixed Array:\n", fixed_array)
# Apply the log2 function to each element in the array
log2_array = np.log2(fixed_array)
print("Array with the log2 of each element:\n", log2_array)
# Apply the log10 function to each element in the array
log10_array = np.log10(fixed_array)
print("Array with the log10 of each element:\n", log10_array)
# Apply the natural logarithm (ln) function to each element in the array
ln_array = np.log(fixed_array)
print("Array with the natural logarithm (ln) of each element:\n", ln_array)