Environment for creative processing of text and numerical data

SURVO MM

Pythagoras' theorem

Beginning status (before activation):
   1 *
   2 *Proof of the Pythagoras' theorem (infer from the graph):
   3 *White square = red square + blue square
   4 *
   5 *MODE=2100,1100 FRAME=0 HEADER= XDIV=0,1,0 YDIV=0,1,0
   6 *XSCALE=0,21 YSCALE=0,11  XLABEL= YLABEL=
   7 *WHOME=WX-20*WY/30,WY-11*WY/30-30 WSIZE=20*WY/30,11*WY/30
   8 *
   9 *Sides of the yellow triangles: a=6 b=3 (You can change these!)
  10 *s=a+b A=a+1 S=s+1 T=s+2 POLYCOEFF=100
  11 *
  12 *POLYGONS=N6,K1,K2,N3,K3,K4,k1,k2,k3,k4
  13 *N6=1,1,A,1,A,A,1,A,13     k1=T,A,T+a,S,T,S,5
  14 *K1=1,A,A,S,1,S,5          k2=T+b,1,T+s,1,T+s,b+1,5
  15 *K2=1,A,A,A,A,S,5          k3=T,1,T+b,1,T,A,5
  16 *N3=A,A,S,A,S,S,A,S,9      k4=T+s,b+1,T+s,S,T+a,S,5
  17 *K3=A,A,A,1,S,1,5
  18 *K4=A,A,S,A,S,1,5
  19 *
  20 *GPLOT /FRAME  
  21 *

Activation creates a graph:

Proof of the Pythagoras' theorem (Survo graphics window)

Home  |  News  |  Publications  |  Download  |  Flash
Copyright © Survo Systems 2001-2008. All rights reserved.
Updated 2008-10-20 by webmaster'at'survo.fi.
Best viewed with any browser.