subject
Computers and Technology, 07.04.2020 17:28 deena7

The Main function Write a main that performs that tasks below. A simplifying assumption is that all user inputs are valid and that all the expressions are defined. 1. Your program will prompt the user for the dimension and coordinates of three vectors, say v1, v2, and v3. Your program will then dynamically allocate three arrays to represent the three vectors as three arrays in dimension-coordinates format using these values entered by the user. 2. Your program will then display v1, v2, and v3. 3. Your program will compute and display v1 + v2. 4. Your program will compute and display (v2 + v3) • v1 and |v1 − v3|. 5. Your program will compute and display v1 • v2 and |v2| |v1|. 6. Your program will prompt the user for three 3-dimensional vectors, say v4, v5, and v6. Your program will then display these vectors. Using these vectors, your program will compute and display the remaining vector expressions. 7. Your program will determine whether v4 •(v5+v6) and (v4 •v5)+(v4 •v6) are equal using ’=’ to indicate that they are equal and ’<>’ to denote that they are not equal. 8. Your program will compute and display v4+v5 |v4+v5| . 9. Your program will compute and display v5 |v5+v6| + v6 |v5+v6| . 10. Finally, using the equal function, your program will determine whether or not the vectors calculated in 8 and 9 are equal using ’=’ to indicate that they are equal and ’<>’ to denote that they are not equal.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:30, messyquestions
Plz 40 points what are raster vectors? a bitmap image a vector file a type of printing press a small projector
Answers: 1
image
Computers and Technology, 22.06.2019 16:30, buky0910p6db44
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
image
Computers and Technology, 23.06.2019 17:00, quanharris2k19
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the
Answers: 1
image
Computers and Technology, 23.06.2019 20:30, batmandillon21
1. for which of the following are you not required to signal beforehand? a. changing lanes b. speeding up c. stopping
Answers: 2
You know the right answer?
The Main function Write a main that performs that tasks below. A simplifying assumption is that all...

Questions in other subjects: