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: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
Corey set up his presentation for delivery to his team.the information he had to convey was critical to their job performance.he knew he would need a lot of time to explain each point
Answers: 3
question
Computers and Technology, 23.06.2019 00:20
The open systems interconnection (osi) reference model: defines standards for many aspects of computing and communications within a network. is a generic description for how computers use multiple layers of protocol rules to communicate across a network. defines standards for wireless local area network (wlan) communication protocols. details the advantages and disadvantages of various basic network cabling options.
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
What questions about an audience should be asked during presentation preparation? check all that apply. what does the audience already know about the topic? how will multimedia tools inspire the audience? is the information interesting and engaging? how will this information affect the presentation? will the audience change the message’s purpose? what is likely to interest the audience?
Answers: 3
question
Computers and Technology, 24.06.2019 18:00
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best-suited for this?
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
Questions on the website: 13722361