For future reference, that page says those formulas are in MathJax. If you go to this page and paste them, it will convert them to something more readable.
In a Blueprint, right click and search for “Add Math Expression…” Here are the operations/functions it supports
If you paste an expression into the name or expression fields of this new node, it will automatically assign inputs and build the appropriate blueprint graph. You can double click on the expression node to see its structure.
will output cost from formula 1
will output max from formula 2.