92.9k views
3 votes
The resistance in a particular kind of circuit is found using this formula: R1(R2)R1+R2.

Assuming all the variables are non-zero, which line of code will find the value of the resistance?


resistance = (R1 * R2) / (R1 + R2)

resistance = R1(R2) / R1 + R2

resistance = R1(R2) / (R1 + R2)

resistance = R1(R2) / (R1 + R2)

User Aar Man
by
6.5k points

1 Answer

5 votes

Answer:

resistance = (R1 * R2) / (R1 + R2)

Step-by-step explanation:

PYTHON doesn't recognize multiplication like this example >> 3(4)

This is why PYTHON uses this symbol (*)

User Omar Alvarado
by
6.1k points