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:
change in height is 1.664 mm
Explanation:
Given data
drops = 3.00 mm
diameter = 5.00 cm = 0.05 mm
decrease = 350 cm^3
temperature = 95°C to 44.0°C
to find out
the decrease in millimeters in level
solution
we will calculate here change in volume so we can find how much level is decrease
change in volume = β v change in temp ...............1
here change in volume = area× height
so =
/4 × d² h
so we can say change in volume =
/4 × d² × change in height .......2
so from equation 1 and 2 we calculate change in height
( β(w) -β(g) )× v× change in temp =
/4 × d² × change in height
change in height = 4 × ( β(w) -β(g) ) v× change in temp /
/4 × d²
put all value here
change in height = 4 × ( 210 - 27 )(350 )
× (95-44) /
/4 × 0.05²
change in height is 1.664 mm
Answer:
Capacitance is a derived physical quantity measured in farad
<h2>Answer:</h2>
The refractive index is 1.66
<h2>Explanation:</h2>
The speed of light in a transparent medium is 0.6 times that of its speed in vacuum
.
Refractive index of medium = speed of light in vacuum / speed of light in medium
So
RI = 1/0.6 = 5/3 or 1.66
Answer:
The mass of the other worker is 45 kg
Explanation:
The given parameters are;
The gravitational potential energy of one construction worker = The gravitational potential energy of the other construction worker
The mass of the lighter construction worker, m₁ = 90 kg
The height level of the lighter construction worker's location = h₁
The height level of the other construction worker's location = h₂ = 2·h₁
The gravitational potential energy, P.E., is given as follows;
P.E. = m·g·h
Where;
m = The mass of the object at height
g = The acceleration due to gravity
h = The height at which is located
Let P.E.₁ represent the gravitational potential energy of one construction worker and let P.E.₂ represent the gravitational potential energy of the other construction worker
We have;
P.E.₁ = P.E.₂
Therefore;
m₁·g·h₁ = m₂·g·h₂
h₂ = 2·h₁
We have;
m₁·g·h₁ = m₂·g·2·h₁
m₁ = 2·m₂
90 kg = 2 × m₂
m₂ = (90 kg)/2 = 45 kg
The mass of the other construction worker is 45 kg.