Square-root on NXT
LabVIEW is easy programming. Here a suggestion to rapidly calculate the square-root of an integer number. See ../Math/square_root_CORDIC.htm for explanations of the algorithm.
The NXT toolkit allows creating 3d party NXT blocks. This is a bit tricky, but once you are familiar with the procedure, you'll create anything you want. Here the implementation into a NXT G-program. (You need to install the Dynamic Block Update from http://mindstorms.lego.com/support/updates/ )
|DOWNLOAD SQUARE-ROOT BLOCK|