home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / forth / compiler / fpc / source / p4_8dc.seq < prev    next >
Text File  |  1990-04-12  |  570b  |  24 lines

  1. \ Problem 4.8       04/12/90 19:16:52.36
  2.  
  3.  
  4. \       NUMBER          APPROXIMATION
  5. \ ------------------------------------
  6. \  SQRT(2) = 1.414...   19601/13860
  7. \  SQRT(3) = 1.732...   18817/10864
  8. \        e = 2.718...   25946/9545
  9. \ SQRT(10) = 3.162...   27379/8658
  10. \        c = 2.9979248  24559/8192
  11.  
  12.  
  13. : SQRT(2)       ( n -- n')      19601 13860 */ ;
  14.  
  15. : SQRT(3)       ( n -- n')      18817 10864 */ ;
  16.  
  17. : E             ( n -- n')      25946 9545 */ ;
  18.  
  19. : SQRT(10)      ( n -- n')      27379 8658 */ ;
  20.  
  21. : C             ( n -- n')      24559 8192 */ ;
  22.  
  23.  
  24.