electricpy.tcycle¶
-
electricpy.tcycle(ncycles=
1
, freq=60
)[source]¶ Time of Electrical Cycles.
Evaluates the time for a number of n cycles given the system frequency.
\[t = \frac{n_{cycles}}{freq}\]Examples
>>> import electricpy as ep >>> ep.tcycle(1, freq=60) #Value of ncycles=1 & freq=60 0.016666666666666666 >>> ep.tcycle(1, freq=50) #Value of ncycles=1 & freq=50 0.02