Both vectors should be declared to have the same number of elements.
vector<int> personName(50); vector<int> personAge(50)
Vector is a quantity that has both magnitude and direction. It is typically represented by an arrow whose direction is the same as that of the quantity and whose length is proportional to the quantity's magnitude. Although a vector has magnitude and direction, it does not have position like a point.
Learn more about Vectors here:
brainly.com/question/13322477
#SPJ4
Answer:
7 meters, 2.8 meters
Explanation:
work done (nm) = force (n) * distance (m)
140= 20 * m
140/20 = m
m=7 meters
140= 50 * m
140/50 = m
m= 2.8 meters
This is simple as power in watts is equal to joules per second so we can do 1500 joules divided by 30 seconds which equals 50 watts
The friction is 2.5N. The Net force is 10 N - 2.5 N .= 7.5 N.
acceleration = 7.5 / 5 = 1.5 m/s^2