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]) #create vector A B = np.array([3,8,10]) # create vector B Extend your

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!