add formula for NSQ

this was originally attempted in #15673 but closed due to not compiling from source.  this compiles from source...