mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
added reference link. (#8667)
* added reference link. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
b5047cfa11
commit
93ce8cb75d
@ -8,6 +8,8 @@ def apparent_power(
|
||||
"""
|
||||
Calculate the apparent power in a single-phase AC circuit.
|
||||
|
||||
Reference: https://en.wikipedia.org/wiki/AC_power#Apparent_power
|
||||
|
||||
>>> apparent_power(100, 5, 0, 0)
|
||||
(500+0j)
|
||||
>>> apparent_power(100, 5, 90, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user