Root: Difference between revisions

From NARS2000
Jump to navigationJump to search
(add toolbar footer)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 25: Line 25:
     <table border="0" cellpadding="5" cellspacing="0" summary="">
     <table border="0" cellpadding="5" cellspacing="0" summary="">
     <tr>
     <tr>
       <td valign="top"><apll>Z←L√R</apll></td>
       <td valign="top"><apll>Z←L√R</apll> &nbsp;&nbsp; or &nbsp;&nbsp; <apll>Z←L√[X] R</apll></td>
       <td></td>
       <td></td>
       <td></td>
       <td></td>
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 18: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