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:
I HOPE THIS IS CORRECT
Explanation:
Power of water =2 kw=2000w
Mass of water =200kg
difference in temperature ΔT=70−10=60oC
Concept
energy required to heat the water = energy given by water in time t=pt
energy required to increase tempeature of water by 60oC,Q=msΔT
S= specific heat =4200J/kgoC
pt=msΔT
2000×t=200×4200×60
t=25200
or t=25.2×103sec.
Answer:
d = 0.05 [m] = 50 [mm]
Explanation:
We must remember the principle of conservation of energy which tells us that energy is transformed from one way to another. For this case, the initial kinetic energy is transformed into useful work that is equal to the product of force by distance.
![E_{k}=F*d\\400 = 8000*d\\d = 0.05 [m] = 50 [mm]](https://tex.z-dn.net/?f=E_%7Bk%7D%3DF%2Ad%5C%5C400%20%3D%208000%2Ad%5C%5Cd%20%3D%200.05%20%5Bm%5D%20%3D%2050%20%5Bmm%5D)