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 01:00
Complete the sentence about a presentation delivery method
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
Name the range function that would generate the following list of integers values: 0,1,2,3,4,5.
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
An english teacher would like to divide 8 boys and 10 girls into groups, each with the same combination of boys and girls and nobody left out. what is the greatest number of groups that can be formed?
Answers: 2
question
Computers and Technology, 24.06.2019 07:30
Aproject involves many computing systems working together on disjointed task towards a single goal what form of computing would the project be using
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, 26.10.2021 20:30
question
Mathematics, 26.10.2021 20:30
question
Mathematics, 26.10.2021 20:30
question
Biology, 26.10.2021 20:30
question
Mathematics, 26.10.2021 20:30
question
English, 26.10.2021 20:30
Questions on the website: 13722360