2_HKI(
"### Tee Attenuator\n"
3"___a___ is attenuation in dB<br>\n"
4"___Z<sub>in</sub>___ is desired input impedance in Ω<br>\n"
5"___Z<sub>out</sub>___ is desired output impedance in Ω<br>\n"
7"___K = V<sub>I</sub>/V<sub>O</sub> = 10<sup>a/20</sup>___<br>\n"
8"___L = K<sup>2</sup> = 10<sup>a/10</sup>___<br>\n"
9"___A = (L+1) / (L−1)___<br><br>\n"
10"___R2 = 2·√(L · Z<sub>in</sub> · Z<sub>out</sub>) / (L−1)___<br>\n"
11"___R1 = Z<sub>in</sub> · A − R2___<br>\n"
12"___R3 = Z<sub>out</sub> · A − R2___\n"