Ideas based on w2aew's technique for measuring L and C.