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:
E = -4000 N / C
Explanation:
The potential and electric field are related
V = - E s
E = - V / s
we reduce the magnitudes to the SI system
s = 4 mm (1 m / 1000 mm) = 0.004 m
we calculate
E = - 16 /0.004
E = -4000 N / C
Answer:
Explanation:
In a L C R circuit, the average power is given by

As given in the question
CosФ = R / Z
And we know that

So


Answer:
Explanation:
We will use the KE equation you wrote here and fill in what we are given:
and isolating the m:
which gives us
m = .50 kg