Pulser3 Programming Manual Download PDF

Square Root (a = sqrt[b])

Takes the square root of the value of b and stores it in variable a.

Example:

(TAKES THE SQUARE ROOT OF 4 AND STORES IT IN #0)

G65 L21 P#0 Q4

(TAKES THE SQUARE ROOT OF VARIABLE #1 AND STORES IT IN #0)

G65 L21 P#0 Q#1

Example:

(TAKES THE SQUARE ROOT OF 4 AND STORES IT IN #0)

#0 = SQR[4]

(TAKES THE SQUARE ROOT OF VARIABLE #1 AND STORES IT IN #0)

#0 = SQR[#1]