![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 16.10.2020 06:01 jakebice3643
This program is meant to give you practice with lists and looping on them, as well as practice with vector computations. Write a program that lets a user enter two vectors, A and B, of arbitrary dimension and store each vector as a Python list. You should allow the user to first enter the dimension of the vector, then get the elements of the two vectors from the user. 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 • 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.
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 17:30, uh8hardiek
Ou listened to a song on your computer. did you use hardware or software?
Answers: 2
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 13:30, andybiersack154
Consider jasper’s balance sheet. which shows how to calculate jasper’s net worth?
Answers: 1
You know the right answer?
This program is meant to give you practice with lists and looping on them, as well as practice with...
Questions in other subjects:
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/en.png)
English, 29.09.2019 17:10
![Konu](/tpl/images/cats/biologiya.png)
![Konu](/tpl/images/cats/biologiya.png)
Biology, 29.09.2019 17:10
![Konu](/tpl/images/cats/biologiya.png)
Biology, 29.09.2019 17:10
![Konu](/tpl/images/cats/biologiya.png)
![Konu](/tpl/images/cats/en.png)