Answer:
#include <iostream>
#include <vector>
using namespace std;
int main() {
const int NUM_GUESSES = 3;
vector<int> userGuesses(NUM_GUESSES);
int i = 0;
int uGuess = 0;
for(i = 0; i <= userGuesses.size() - 1; i++){
cin >> uGuess;
userGuesses.at(i) = uGuess;
}
cout << endl;
return 0;
}
Explanation:
First inbuilt library were imported. Then inside the main( ) function, 3 was assigned to NUM_GUESSES meaning the user is to guess 3 numbers. Next, a vector was defined with a size of NUM_GUESSES.
Then a for-loop is use to receive user guess via cin and each guess is assigned to the vector.
Answer:
no:
Explanation:
it would grow and no longer be able to fit through the loop due to the hot air expanding.
The "weight" is the name we give to the force of gravity on the object. They're the same thing.
M1*V1 + M2*V2 = M1*V + M2*V.
1400*25 + 1800*20[180+40]=1400*V+1800*V.
Divide both sides by 100:
14*25 + 18*20[220o] = 14V + 18V.
350 + 360[220o] = 32V.
350 - 276-231i = 32V.
74 - 231i = 32V.
242.6[-72.2o] = 32V.
V = 7.6m/s[-72.2o]=7.6m/s[72o] S. of E.
<h3>
Answer: 130 meters</h3>
===================================================
Explanation:
vi = 5 and vf = 8 are the initial and final velocities respectively. The change in time is t = 20 seconds.
So,
x = 0.5*(vi + vf)*t
x = 0.5*(5+8)*20
x = 130 meters
represents the distance traveled. The first equation shown above is one of the four kinematics equations.