In control theory, people are good at putting forward new control laws, many of which are derived from the use of a Lyapunov function. I am new to control theory, so could anyone give me an illustrative example about how to derive a control law or other similar applications by finding out a suitable Lyapunov function?
EDIT:
Since there are no general rules for deriving a Lypunov function, why not change this post to a big collection of "finding out a Lyapunov function to specific problems" so that anyone could learn from the experience? Anyone is welcome to write down their examples here so that others can obtain inspirations from them.