Difference between revisions of "ZCubes/9801 Patterns"

From ZCubes Wiki
Jump to navigation Jump to search
 
Line 26: Line 26:
 
     .slice(2)
 
     .slice(2)
 
     .chunks(3)
 
     .chunks(3)
 
<<[[Main_Page | About ZCubes ]]
 
  
 
<br/>
 
<br/>
&copy; Copyright 1996-2020, ZCubes, Inc.
+
*[[Z3 | Z3 home]]
 +
*[[Z^3 Language Documentation]]
 +
*[[ZCubes_Videos | ZCubes Videos and Tutorials]]
 +
*[[Main_Page | About ZCubes ]]
 +
<br/>
 +
<br/>
 +
&copy; Copyright 1996-2021, ZCubes, Inc.

Latest revision as of 00:07, 11 March 2021

9801 Patterns


This video demonstrates interesting patterns when we compute 1/9801.

In Z we can compute large decimals. This lets us learn patterns that we find difficult to compute using other tools or manual methods.

Video


9801 Patterns














Code-9801 Patterns

  1/9801
  ops.on;
  a=1d1000/9801
  a.toString()
   .split("")
   .chunks(2)
  SQRT(9801)
 ops.on;
 a=1d1000/999^2;
 a.toString()
   .split("")
   .slice(2)
   .chunks(3)




© Copyright 1996-2021, ZCubes, Inc.