Question: need to write one line of code that generates two lists, X = [x1, x2, ...., x50] and Y = [y1, y2, .., y50] .
need to write one line of code that generates two lists, X = [x1, x2, ...., x50] and Y = [y1, y2, .., y50] . Then write another one line code which computes the inner product of X and Y. Do not use a loop. Using MuPad.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
