Hysteresis Comparator Calculation

Note: Use the minus sign "-" for negative voltages. )
Positive Supply Voltage: (V)
Negative Supply Voltage: Negative supply voltage (V)
result:
Vth (High Threshold Voltage): Threshold voltage (high level threshold voltage)
(V)
R2/R1 (ratio resistance):
Vtl (Low Threshold Voltage)::Threshold voltage (low level threshold voltage)
(V)
Vr (reference voltage):
(V)