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:00
Why should characters such as / \ " ' * ; - ? [ ] ( ) ~ ! $ { } < > # @ & | space, tab, and newline be avoided in file names?
Answers: 2
question
Computers and Technology, 22.06.2019 21:30
Write a function named printfloatrepresentation(float number) that will print the floating point representation of a number using the format given below. (sign bit) exponent in binary (assumed bit).significandfor example if the number passed an argument is 71 yourprogram should print (0) 10000101 (1).00011100000000000000000similarly if the number passed to the function as argument is -71 the program should print (1) 10000101 (1).00011100000000000000000
Answers: 3
question
Computers and Technology, 23.06.2019 09:30
After you present a proposal, the committee starts asking you questions, some beyond the strict focus of your proposal. they ask questions about implications in other fields and knowledge about other fields. you are asked to redo your proposal. what is most likely missing? breadth of material depth of material clarity of material details of material
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
Donnie does not have powerpoint. which method would be best for elana to save and share her presentation as is? a pdf a doc an rtf a ppt
Answers: 3
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, 20.10.2019 10:20
question
Physics, 20.10.2019 10:20
question
History, 20.10.2019 10:20
Questions on the website: 13722361