mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00: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