Answer:
- <u>1,000W</u> (rounded to one significant figure)
Explanation:
I will answer in English.
The question is:
- <em>What is the power of a filament lamp that connects to the 220 V network, knowing that it has a resistance of 50 ohms?</em>
<em />
<h2>Solution</h2>
<em />
<em>Power</em>, <em>voltage</em>, <em>resistance</em>, and current, are related by either of the following equations:
Where:
- R is resistance in ohms (Ω)
- V is voltage in volts (V), and
- I is current in amperes (A)
Since you know the voltage (<em>220V</em>) and the resistance (<em>50Ω</em>), you can use the last equation:
Since the magnitude 50Ω has one significant figure, your answer should be rounded to one significant figure. That is <u>1,000W.</u>
Answer:https://www.khanacademy.org/computer-programming/lava-the-impossible-game-by-swax97/4638717300965376/embedded?id=1436456095000-0.5&origin=undefined&buttons=yes&embed=yes&editor=no&author=yes
Explanation:
The problem with the swap function is that it loses the value at the first index, as soon as it gets overwritten by the value at the second index. This happens in the first statement. To fix it, you need a helper variable.
First you're going to "park" the index at the first index in that helper variable, then you can safely overwrite it with the value at the second index. Then finally you can write the parked value to the second index:
var swap = function(array, firstIndex, secondIndex) {
let helper = array[firstIndex];
array[firstIndex] = array[secondIndex];
array[secondIndex] = helper;
};
I hope this makes sense to you.
False__________________________