Best way is to put your exact question! And do "advanced search"
Hope I helped and if you need more info or another question, then feel free to ask me!
Have a nice day!
The loop terminates when "xxxxx" is read in. If the word is land, the string followed by "land" get outputted. The same with air, and water.
Explanation:
int land = 0;
int air = 0;
int water = 0;
String word = "";
while(!(word.equals("xxxxx"))) {
word = stdin.next();
if(word.equals("land")) {
land++;
}else if(word.equals("air")) {
air++;
}else if(word.equals("water")) {
water++;
}
}
System.out.println("land:" + land);
System.out.println("air:" + air);
System.out.println("water:" + water);
Answer: 83.17
Explanation:
By definition, the dB is an adimensional unit, used to simplify calculations when numbers are either too big or too small, specially in telecommunications.
It applies specifically to power, and it is defined as follows:
P (dB) = 10 log₁₀ P₁ / P₂
Usually P₂ is a reference, for instance, if P₂ = 1 mW, dB is called as dBm (dB referred to 1 mW), but it is always adimensional.
In our question, we know that we have a numerical ratio, that is expressed in dB as 19.2 dB.
Applying the dB definition, we can write the following:
10 log₁₀ X = 19.2 ⇒ log₁₀ X = 19.2 / 10 = 1.92
Solving the logarithmic equation, we can compute X as follows:
X = 10^1.92 = 83.17
X = 83.17
Answer:
Instruct the operating system to eject the drive before unplugging it.
Explanation: