Consider the nonlinear model of a chemical process:
$$ \begin{align} \dot{x}_1 &= x_2\\ \dot{x}_2 &=-5x_1 -3x_2\left(1 - \frac{0.6x_2}{1 + x_2^2}\right). \end{align} $$
Writing this system in terms of
$$\dot{x}_1 = Ax +g(x) $$
We have:
\begin{align} \dot{x}= \begin{pmatrix} 0 & 1 \\ -5 & -3 \end{pmatrix} \begin{pmatrix} x_1 \\ x_2 \end{pmatrix} + \begin{pmatrix} 0 \\ \frac{1.8\,x_2^2}{1 + x_2^2} \end{pmatrix} \end{align}
Now solving the Lyapunov equation
$$ A^\top P + P\,A =-I $$
where $I$ is the identity matrix we have $P$ as:
\begin{pmatrix} 13/10 & 1/10 \\ 1/10 & 1/5 \end{pmatrix}
Since we have $P$, how can we use the quadratic Lyapunov function
$$ V(x) = x^\top P\,x $$
to show asymptotic global stability using the quadratic Lyapunov function $V(x)$?
One popular computational approach is to use a sum-of-squares (SOS) strategy.
SOS typically works with polynomial systems, but you can easily outer approximate your dynamics by introducing a new fictious state $x_3$ and study stability of
\begin{align} \dot{x}= \begin{pmatrix} 0&1\\ -5 &-3\end{pmatrix} \begin{pmatrix} x_1\\x_2\end{pmatrix}+\begin{pmatrix} 0\\1.8x_3\end{pmatrix} \end{align}
on the set $(1+x_2^2)x_3=1$ which we denote $g(x)=0$
Hence, we want to prove that $\dot{V}(x_1,x_2) \leq -q(x_1,x_2)$ on $g(x)$. A sufficient condition for this is the existence of a polynomial $s(x)$ such that $\dot{V}(x) \leq -q(x) + s(x)g(x)$. In other words, if we can prove $-q(x) + s(x)g(x)-\dot{V}(x)$ is positive semidefinite we are done. Replace non-negativity with being sum-of-squares and you are done.
All you need is a method to compute a SOS-decomposition, and there are many alternatives for that. Here is a complete implementation in the MATLAB toolbox YALMIP. I search for a linear multiplier $s(x)$ and use a quadratic positive definite bound $q(x_1,x_2)$ on the derivative. The problem is feasible thus proving feasibility.
https://yalmip.github.io/tutorial/sumofsquaresprogramming
Then you can be clever like SampleTime below (nice numbers so this can likely be done by hand)