Question: Assume that the number of multiplications of entries used to multiply a p × q matrix and a q × r matrix is pqr.
What is the best order to form the product ABCD if A, B, C, and D are matrices with dimensions 30 × 10, 10 × 40, 40 × 50, and 50 × 30, respectively?