Cody

Problem 43626. Find scalar product of two polynomials a and b, given as vector array.

Find scalar product of two polynomials given as vector array.

Example

a=[1 -1 2]; b=[2 4 1];

result=0

Solution Stats

86.05% Correct | 13.95% Incorrect
Last Solution submitted on Dec 10, 2019