The answer is A. Client request and receive files to and from a server.
xR max is the newest iPhone out right now
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>
Void test(char *s)
{
int i, d;
sscanf(s, "%i", &i);
printf("%s converts to %i using %%i\n", s, i);
sscanf(s, "%d", &d);
printf("%s converts to %d using %%d\n", s, d);
}
int main()
{
test("123");
test("0x123");
return 0;
}
outputs:
123 converts to 123 using %i
123 converts to 123 using %d
0x123 converts to 291 using %i
0x123 converts to 0 using %d
As you can see, %i is capable of parsing hexadecimal, whereas %d is not. For printf they're the same.