Tessellate S.T.E.M.S. (2019) - Computer Science - College - Set 2 - Objective Problem 4

Four matrices M 1 , M 2 , M 3 , M 4 M_1, M_2, M_3, M_4 of dimensions p × q , q × r , r × s , s × t p \times q, q \times r, r \times s, s \times t respectively can be multiplied in several ways with different number of total scalar multiplications. For example, when multiplied as ( M 1 × M 2 ) × ( M 3 × M 4 ) (M_1 \times M_2) \times (M_3 \times M_4) , the total number of multiplications is p q r + r s t + p r t pqr + rst + prt . When multiplied as ( ( M 1 × M 2 ) × M 3 ) × M 4 ((M_1 \times M_2 ) \times M_3 ) \times M_4 , the total number of multiplications is p q r + p r s + p s t pqr + prs + pst .

If p = 10 , q = 100 , r = 20 , s = 5 , p = 10, q = 100, r = 20, s = 5, and t = 80 t = 80 , then the minimum number of scalar multiplications needed is


This problem is a part of Tessellate S.T.E.M.S (2019)

44000 19000 248000 25000

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

0 solutions

No explanations have been posted yet. Check back later!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...