πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!

  • google app store apple app store
  • βœ–

      Question

      For matrix dimensions p = {10, 20, 30, 40}, representing

      matrices A (10x20), B (20x30), C (30x40). What is the minimum number of scalar multiplications required to compute (AB)C?
      A 18000 Correct Answer Incorrect Answer
      B 24000 Correct Answer Incorrect Answer
      C 12000 Correct Answer Incorrect Answer
      D 30000 Correct Answer Incorrect Answer
      E 6000 Correct Answer Incorrect Answer

      Solution

      (Calculation: (A(BC)) = 20*30*40 + 10*20*40 = 24000 + 8000 = 32000. ((AB)C) = 10*20*30 + 10*30*40 = 6000 + 12000 = 18000. Minimum is 18000.)

      Practice Next
      ask-question