kapazitiver Widerstand:

induktiver Widerstand:

ohmscher Widerstand

Scheinwiderstand

C = 2 (slider from 1 to 10, step 0.5)
L = 1.4 (slider from 0.1 to 5, step 0.1)
R = 500 (slider from 10 to 500, step 5)
f = 130 (slider from 0 to 1000, step 10)
XL = LaTeX((((L * 2) * π) * f))
XC = LaTeX(1000000 / ((((C * 2) * f) * π)))
Widerstand = LaTeX(R)
Frequenz = LaTeX(f)
w = Vector((0, 0), (R / 100, 0))
u = Vector((0, 0), (0, (((2 * π) * f) * L / 100)))
v = Vector((0, 0), (0, -10000 / ((((2 * π) * f) * C))))
a: u + v
h = Segment((0, (((2 * L) * π) * f / 100) - 10000 / ((((2 * π) * f) * C))), (R / 100, (((2 * L) * π) * f / 100) - 10000 / ((((2 * π) * f) * C))))
A = Point(a)
B = Point(h)
b = Vector(A, B)
abstandAB = Distance(A, B)
TextAB: Name[A] + (Name[B]) + " = " + abstandAB