You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ohms law is an important and fundamental rule to remember when working with resistors and electronics in general. It defines the relationship between the components’ current I in amps (A), voltage V in volts (V) and resistance R in ohms (Ω). Ohm’s law consists of three mathematical equations that explain the relationship between current, voltage and resistance. If you know two of these values.
Quickstart:
install
pip install ohmslaw
import
fromohmslawimportOhms
you can calculate the resistors in series, passing the values in the series() method
>>>fromohmslawimportOhms>>>>>>R1, R2, R3=280, 450, 100>>>>>>o=Ohms()
>>>series=o.series(R1, R2, R3)
>>>>>>print("Resistors in series = ", series)
Resistorsinseries=830>>>