Action functional and quasi‐potential for the burgers equation in a bounded interval