Question: python language import numpy as np A = np.array ( [4,9,1]) # create vector A B = np.array([3,8,10]) # create vector B Extend your python
python language ![python language import numpy as np A = np.array ( [4,9,1]) #](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3afaae1be7_25066f3afaa5ce02.jpg)
![create vector A B = np.array([3,8,10]) # create vector B Extend your](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3afabc44bd_25166f3afab34020.jpg)
import numpy as np A = np.array ( [4,9,1]) # create vector A B = np.array([3,8,10]) # create vector B Extend your python code, to calculate the followings: a) A+B b) A - B c) Element-wise product: A*B d) Dot-product: A.dot(B) e) Cross product: np.cross(A,B) f) The norm (magnitude) of each vector g) Finally, find the angle between A and B (Hint: Use the dot produ
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
