Difference between revisions of "ZCubes/9801 Patterns"

From ZCubes Wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
 
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
  
==Code==
+
==Code-9801 Patterns==
 
   1/9801
 
   1/9801
 
   ops.on;
 
   ops.on;

Revision as of 04:23, 19 August 2020

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)

<< About ZCubes


© Copyright 1996-2020, ZCubes, Inc.