subject

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
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. a company wants to use online methods to target more customers. it decides to conduct a market research by collecting the data of a few customers with their consent. they want to track data of the sites that their customers frequently visit. which software can the company? a. spyware b. bots c. adware d. trojan horse e. rootkits
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
What is one reason why indoor air pollution has become an increasing problem.
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
Universal windows platform is designed for which windows 10 version?
Answers: 1
question
Computers and Technology, 24.06.2019 18:30
Dereck works for long hours on his computer.  he frequently experiences physical strain by the end of the day because he does not follow an important rule of ergonomics with respect to the use of keyboards.  which of the following actions of dereck could lead to physical strain? a.  placing the keyboard exactly in front of him while typingb.  keeping hands and wrists straight while typingc.  using wrist pads throughout the dayd.  pounding at the keys on the keyboard while typinge.  resting his hands on the keyboard when he is not typing
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
question
Mathematics, 07.01.2021 19:50
question
History, 07.01.2021 19:50
question
Mathematics, 07.01.2021 19:50
Questions on the website: 13722361