Question: Consider the two vectors a = [ 1 , 3 , - 1 ] and b = [ 4 , 0 , 8 ] ,

Consider the two vectors a=[1,3,-1] and b=[4,0,8], using NumPy find the following [Course Objective #3]:
a. Dot product of a and b, store in q3a.
b. Cross product of a and b, store in q3b.
c. Element-by-element product of a and b, store in q3c.
d. Sum of a and b, store in q3d.
e. Difference between a and b, store in q3e.
f. Outer product of a and b, store in q3f.
* In jupyter lab please!*
 Consider the two vectors a=[1,3,-1] and b=[4,0,8], using NumPy find the

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!