Analytical and numerical Lyapunov functions for SISO linear control systems with first-order reset elements