Difference between revisions of "Root"

From NARS2000
Jump to navigationJump to search
 
Line 44: Line 44:
 
<p>For example,</p>
 
<p>For example,</p>
  
<apll>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;√⍳4<br />
+
<apll><pre>
1 1.414213562 1.732050808 2<br />
+
      √⍳4
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(3√⍳4)*3<br />
+
1 1.414213562 1.732050808 2
1 2 3 4</apll>
+
      (3√⍳4)*3
 +
1 2 3 4</pre></apll>
  
  
 
{{Language Toolbar}}
 
{{Language Toolbar}}

Latest revision as of 23:12, 15 April 2018

Z←√R returns the square root of each of the elements in R.
R is a numeric array.
Z is a floating point array whose values are the square root of the elements of R.


Z←L√R    or    Z←L√[X] R returns the Lth root of each of the elements in R.
L and R are numeric arrays.
Z is a floating point array whose values are the Lth root of the elements of R.


For example,

      √⍳4
1 1.414213562 1.732050808 2
      (3√⍳4)*3
1 2 3 4


NARS 2000 Lang
Tool
Bar
+ - × ÷ * ! ? |
< = >
~ § π .. ,
/ \ ¨ .
_ ¯
Second Row i j k i j k l g p r v x