subject

1. Create a Python program that does the following from inputting vectors v and w. Use functions in the process.
a. The program should determine if the two vectors have the same dimension. If it does, the program will proceed. Otherwise, the program will ask the user to correct the mistake.
b. The program should output (v and wl.
c. The program should output the unit vectors in the same direction as v and w.
d. If the dimensions match, the program will output v +w.
e. If the dimensions match, the program will output v - w.
f. If the dimensions match, the program will output 2v.
g. If the dimensions match, the program will output 3w.
h. If the dimensions match, the program will output 3v – 2w.
i. If the dimensions match, the program will output v. w.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 07:30, DivineMemes420
What type of computer network ensures high security ?
Answers: 1
image
Computers and Technology, 22.06.2019 10:30, robert7248
You have a large, late-model pick-up truck with a rear seat. the pick-up truck weighs 6,500 pounds. the florida seat belt law
Answers: 1
image
Computers and Technology, 22.06.2019 22:30, MoneyMike42
Alex’s family members live in different parts of the world. they would like to discuss the wedding plans of one of their distant relatives. however, alex wants all the family members to talk to each other simultaneously so that they can make decisions quickly. which mode of internet communication should they use? a. blog b. email c. wiki d. message board e. instant messaging
Answers: 2
image
Computers and Technology, 23.06.2019 04:31, caseypearson377
Acloud service provider uses the internet to deliver a computing environment for developing, running, and managing software applications. which cloud service model does the provider offer? a. iaas b. caas c. maas d. paas e. saas
Answers: 1
You know the right answer?
1. Create a Python program that does the following from inputting vectors v and w. Use functions in...

Questions in other subjects:

Konu
Business, 02.06.2021 05:30
Konu
Mathematics, 02.06.2021 05:30
Konu
Mathematics, 02.06.2021 05:30