Question: Write a program that lets a user enter two vectors, A and B , of arbitrary magnitude. You should prompt the user to enter the
Write a program that lets a user enter two vectors, A and B of arbitrary
magnitude. You should prompt the user to enter the xyz components of each
vector. Then, you should output in a clearly labeled way the results of these
computations:
The magnitude of vector A and the magnitude of vector B
A B
A B
And the dot product inner product of A and B
Note: You should use lists when solving this problem. Later we will see some
other ways to work with vectors more directly.
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
