Можно легко вычислить ток через резистор по его рассеиваемой мощности и сопротивлению с помощью библиотеки Python UliEngineering:
Онлайн-калькулятор: Калькулятор тока резистора по мощности и сопротивлению
Σ
TechOverflow calculators:
You can enter values with SI suffixes like 12.2m (equivalent to 0.012) or 14k (14000) or 32u (0.000032).
The results are calculated while you type and shown directly below the calculator, so there is no need to press return or click on a Calculate button.
You can enter values with SI suffixes like 12.2m (equivalent to 0.012) or 14k (14000) or 32u (0.000032).
The results are calculated while you type and shown directly below the calculator, so there is no need to press return or click on a Calculate button.
resistor_current_by_power.py
from UliEngineering.Electronics.Resistors import *
from UliEngineering.EngineerIO import *
# Вычислить ток для 1 Вт, рассеиваемой в резисторе 1 кОм
current = resistor_current_by_power("1W", "1k")
print(f"Current for 1W in 1kΩ: {format_value(current, 'A')}")
# Вычислить ток для 0.5 Вт, рассеиваемой в резисторе 100 Ом
current = resistor_current_by_power("0.5W", "100Ω")
print(f"Current for 0.5W in 100Ω: {format_value(current, 'A')}")Пример вывода
resistor_current_by_power_output.txt
Current for 1W in 1kΩ: 31.6 mA
Current for 0.5W in 100Ω: 70.7 mAТок вычисляется по формуле: $I = \sqrt{\frac{P}{R}}$
Связанные записи
Check out similar posts by category:
Калькуляторы Электроника Python
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow