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:
Rohan Anand 2023-04-18 13:14:06 +05:30 committed by GitHub
parent b5047cfa11
commit 93ce8cb75d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,8 @@ def apparent_power(
""" """
Calculate the apparent power in a single-phase AC circuit. 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) >>> apparent_power(100, 5, 0, 0)
(500+0j) (500+0j)
>>> apparent_power(100, 5, 90, 0) >>> apparent_power(100, 5, 90, 0)