source: TCCDC.h
<code>#include <math.h> double GetMutualInductance(double dLForward,double dLReverse); double GetCouplingDegree(double dLForward,double dLReverse,double dL1,double dL2); </code>
TCCDC.c
<code>//Tesla coil coupling degree calculator v1.0 //by phpskycn 20130717 // //MutualInductance = (LForward - LReverse)/4 //CouplingDegree = MutualInductance / sqrt (L1*L2) #include "TCCDC.h" double GetMutualInductance(double dLForward,double dLReverse){ double dMutualInductance; dMutualInductance = (dLForward - dLReverse)/4; return dMutualInductance; } double GetCouplingDegree(double dLForward,double dLReverse,double dL1,double dL2){ double dCouplingDegree; double dM; dM = GetMutualInductance(dLForward,dLReverse); dCouplingDegree = dM / sqrt(dL1 * dL2); return dCouplingDegree; } </code>
bin:
[修改于 8年7个月前 - 2016/06/06 15:03:42]
时段 | 个数 |
---|---|
{{f.startingTime}}点 - {{f.endTime}}点 | {{f.fileCount}} |