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==
 +
  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)
  
 
<<[[Main_Page | About ZCubes ]]
 
<<[[Main_Page | About ZCubes ]]

Revision as of 03:40, 18 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

  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.