Question: Consider the two vectors a = [ 1 , 3 , - 1 ] and b = [ 4 , 0 , 8 ] ,
Consider the two vectors and using NumPy find the following Course Objective #:
a Dot product of a and store in
b Cross product of a and store in
c Elementbyelement product of a and store in
d Sum of a and b store in qd
e Difference between a and b store in qe
f Outer product of a and store in
In jupyter lab please!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
