https://www.tmatlantic.com/encyclopedia/index.php?ELEMENT_ID=48483
How to calculate the spark-extinguishing RC circuit