Answer:
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
int main() {
string name[5];
int age[5];
int i,j;
for ( i = 0; i<=4; i++ ) {
cout << "Please enter student's name:";
cin >> name[i];
cout << "Please enter student's age:";
cin >> age[i];
}
for (i=0;i<=4;i++){
cout<<"Age of "<< name[i]<<" is "<<age[i]<<endl;
}
}
Output of above program is displayed in figure attached.
Answer:
A.) Find the answer in the explanation
B.) Ua = 7.33 m/s , Vb = 7.73 m/s
C.) Impulse = 17.6 Ns
D.) 49%
Explanation:
Let Ua = initial velocity of the rod A
Ub = initial velocity of the rod B
Va = final velocity of the rod A
Vb = final velocity of the rod B
Ma = mass of rod A
Mb = mass of rod B
Given that
Ma = 2kg
Mb = 1kg
Ub = 3 m/s
Va = 0
e = restitution coefficient = 0.65
The general expression for the velocities of the two rods after impact will be achieved by considering the conservation of linear momentum.
Please find the attached files for the solution
...simplify devices, reducing weight and the chance of failure.