When you build it, it teaches.
Use a GPS 1PPS pulse and an RC circuit to compute C or R from the time constant.