The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
University
| Teaching Since: | Apr 2017 |
| Last Sign in: | 438 Weeks Ago, 2 Days Ago |
| Questions Answered: | 9562 |
| Tutorials Posted: | 9559 |
bachelor in business administration
Polytechnic State University Sanluis
Jan-2006 - Nov-2010
CPA
Polytechnic State University
Jan-2012 - Nov-2016
Professor
Harvard Square Academy (HS2)
Mar-2012 - Present
(Mathematical) In two dimensions, a vector is a pair of numbers representing directed arrows in a plane, as shown by vectors V1Â and V2Â in Figure 13.10.
Two-dimensional mathematical vectors can be written in the form (a,b), where a and b are called the x and y components of the vector. For example, for the vectors in Figure 13.10, V1 = (9,4) and V2 = (3,5). For mathematical vectors, the following operations apply:

Using this information, write a C++ program that defines an array of two mathematical vector structures; each structure consists of two double-precision components, a and b. Your program should permit a user to enter two vectors, call two functions that return the sum and difference of the entered vectors, and display the results calculated by these functions.

-----------