# PI and T Pad Attenuator Calculator

'); print("\nAttenuation Power\$Attenuation dB\n"); print("Attenuation (Vin/Vout)\$AInv\n"); print("Characteristic Impedance\$Z\n"); print("
\n
\n"); print(''); print("\n"); printf("\n", \$Rp, \$Rs, \$piRp, \$piRs); print("
 T Network PI Network Rp= %.3f, Rs=%.3f Rp= %.3f,Rs= %.3f

\n
\n"); \$Rs = StandardResistor(\$Rs, \$Tolerance); \$Rp = StandardResistor(\$Rp, \$Tolerance); \$piRp = StandardResistor(\$piRp, \$Tolerance); \$piRs = StandardResistor(\$piRs, \$Tolerance); \$NewZ = \$Rp * (\$Rs + \$Z) / (\$Rp + \$Rs + \$Z) + \$Rs; \$NewA = \$Rp * \$Z / (\$Rs * \$Rs + 2 * \$Rs * \$Rp + \$Z * (\$Rs + \$Rp)); \$Zer = abs(\$Z - \$NewZ) * 100 / \$Z; print(''); print("\n"); print("\n"); print("\n"); print("\n"); printf("\n", \$NewZ); printf("\n", \$Zer); printf("\n", \$NewA); printf("\n", 20 * log10(1 / \$NewA)); print("
 Using Standard Components of \$Tolerance% Tolerance T Network PI Network Rp= \$Rp, Rs=\$Rs Rp= \$piRp,Rs= \$piRs Variance due to Standard Component Values for T Network Actual Matching Impedance %.3f Actual Matching Impedance Error %.3f %% Actual Attenuation (Vin/Vout) %.3f Actual Attenuation Power (dB) %.3f dB

\n
\n"); ?>

[Plant Database], [Soil Moisture Sensor] [Water Level Sensor] [Soil Moisture Meter]

© Copyright 2024 Daycounter, Inc. All rights Reserved. There is no guarantee for any information on this website. Use at your own risk.