First, let's represent 6 as an array with 6 elements:
[1, 1, 1, 1, 1, 1]
Now, let's multiply each element by 1/2:
[1/2, 1/2, 1/2, 1/2, 1/2, 1/2]
Now, let's represent 1/2 as an array with 2 elements:
[1/2, 1/2]
Now, let's multiply each element by 6:
[6/2,
Show more…