Question

In: Computer Science

Calculate the following inner product using distributed arithmetic principles: (-3, 5, 4)(0.5, -1.75, 0.25).

Calculate the following inner product using distributed arithmetic principles: (-3, 5, 4)(0.5, -1.75, 0.25).

Solutions

Expert Solution

For 2 vectors, a and b, the inner product is the sum of the products of the individual elements in the same index. Similar to the question, consider two vectors, with 3 dimensions (3 elements in each vector). The dot product is calucated as:

[a1, a2, a3] . [b1, b2, b3] = (a1 x b1) + (a2 x b2) + (a3 x b3)

In our example, the two vectors are [-3, 5, 4] and [0.5, -1.75, 0.25]. Note that the vectors are denoted using square brackets and not round brackets as you have denoted them in your question. We calucate the dot product as:

[-3, 5, 4] . [0.5, -1.75, 0.25] = (-3 x 0.5) + (5 x -1.75) + (4 x 0.25)

Multipying the brackets, we get 3 times 0.5 as 1.5, 5 times 1.75 as 8.75, and 4 times 0.25 as 1. We maintain the signs as well. So , the result then becomes

= (-1.5) + (8.75) + (1)

This below step is not required, but I am rearranging the terms while incorporating the signs, so the calucation becomes easier to understand. Result becomes

= 8.75 +1 - 1.5

= 9.75-1.5

= 8.25

So, 8.25 is the final answer


Related Solutions

Consider the following five monthly​ returns: 5​%   −2​% 4​% 8​% −1​% a. Calculate the arithmetic average...
Consider the following five monthly​ returns: 5​%   −2​% 4​% 8​% −1​% a. Calculate the arithmetic average monthly return over this period and express your answer as a percentage per month. b. Calculate the geometric average monthly return over this period. c. Calculate the monthly variance over this period. d. Calculate the monthly standard deviation over this period.
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for...
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for X and Y. Returns Year X Y 1 11 % 23 % 2 29 44 3 18 -11 4 -19 -25 5 20 52 Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for X and Y.    Returns Year X Y 1 11 %     23 %     2 29         44         3 18         -11...
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for...
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for X and Y. Returns Year X Y 1 11 % 23 % 2 29 44 3 18 -11 4 -19 -25 5 20 52 Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for X and Y.    Returns Year X Y 1 11 %     23 %     2 29         44         3 18         -11...
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for...
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for X and Y.    Returns Year X Y 1 15 %     22 %     2 33         43         3 22         -9         4 -23         -23         5 24         51    Calculate the arithmetic average return for X.     Calculate the arithmetic average return for Y.    Calculate the variance for X.     Calculate the variance for Y.    Calculate...
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for...
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for X and Y. Returns Year X Y 1 11 % 20 % 2 29 41 3 18 -12 4 -19 -26 5 20 49 Requirement 1: (a) Calculate the arithmetic average return for X. (b) Calculate the arithmetic average return for Y. Requirement 2: (a) Calculate the variance for X. (Do not round intermediate calculations.) (b) Calculate the variance for Y. (Do not round...
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for...
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for X and Y.    Returns Year X Y 1 11 %     20 %     2 29         41         3 18         -12         4 -19         -26         5 20         49             Requirement 1: (a) Calculate the arithmetic average return for X.     (b) Calculate the arithmetic average return for Y.    Requirement 2: (a) Calculate the variance for X....
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for...
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for X and Y. Returns Year X Y 1   13% 23% 2   31      44   3   20     -10 4 - 21   - 24 5   22      52
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for...
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for X and Y.    Returns Year X Y 1 12 %     21 %     2 30         42         3 19         -8         4 -20         -22         5 21         50             Requirement 1: (a) Calculate the arithmetic average return for X. (Click to select)10.04%12.40%15.13%14.01%15.50%     (b) Calculate the arithmetic average return for Y. (Click to select)16.60%20.75%13.45%20.25%18.76%    Requirement 2:...
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for...
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for X and Y. Calculate the arithmetic average return for both stocks. (5 points) Calculate the variance and standard deviation. (5 points) Compare and contrast the standard deviations of the two stocks. What do the numbers tell you? Which stock is riskier based on your calculation? (5 points) Year Return of stock: You-Be, Inc. Zee Corp. 1 12% 25% 2 28% -34% 3 9% 13%...
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for...
Using the following returns, calculate the arithmetic average returns, the variances, and the standard deviations for X and Y.    Returns Year X Y 1 10 %     23 %     2 28         44         3 17         -11         4 -18         -25         5 19         52             Requirement 1: (a) Calculate the arithmetic average return for X. (Click to select)13.66%14.00%11.20%12.66%9.07%     (b) Calculate the arithmetic average return for Y. (Click to select)16.60%13.45%18.76%20.25%20.75%    Requirement 2:...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT