home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 September / PCWorld_2000-09_cd.bin / Software / TemaCD / chemas / EXAMPLE.TSK < prev    next >
Text File  |  2000-03-27  |  3KB  |  97 lines

  1. = EniG. Chemistry Assistant reads and calculates line by line,
  2. = ignoring all that appears after the equal sign (=).
  3. = The lines which started with # are command lines.
  4.  
  5. = Basic calculations
  6. 3+3 = 6
  7. 5+ 7+1 0 +2 = 5+7+10+2 = 24
  8. 12+(20-8)*3+7 = 55
  9. (8+3 = Missing right bracket ')' !
  10. 12+2+8)*3+7 = Missing left bracket '(' !
  11. 2+2-9 = -5
  12. .5*,6 = 0.5*0.6 = 0.3
  13. 2.5+2.12+-9*.8 = 2.5+2.12-9 =-2.58
  14. 27/3 = 9
  15. 3*5*7 = 105
  16. 9.12E-31*5 = 4.56E-30
  17. 9.12E+3+5.1e-1 = 9.12E3+5.1E-1 = 9120.51
  18. 5.48E-7/5.972E24 = 9.17615539182853E-32
  19. 2**3 = 2^3 = 8
  20. 2^3/0 = Cannot divide by zero!
  21. 8.12E-5/2 = 0.0000406
  22. 8.12E5/2 = 406000
  23. 4+5-*-1 = Type mismatch
  24. 4++5--7 = 4+5-1*-7 = 16
  25.  
  26. = Calculate function
  27. :sin1.5 = 0.997494986604054
  28. :asin = :asin(Last answer) = :asin0.997494986604054 = 1.5
  29. cos2 = :cos2 = -0.416146836547142
  30. :tan5 = -3.38051500624659
  31. :cot2 = -0.457657554360286
  32. :log1000 = 3
  33. alog3 = :alog3 = 1000
  34. 5! = 120
  35. :ran100 = 33.9901149272919
  36. :int(:ran100) = 45
  37. :ln123 = 4.81218435537242
  38. :log543E-8 = -5.26520017041115
  39. :log5.43E-8 = -7.26520017041115
  40. :log(5-8) = Logarithm of a negative number!
  41. logabs(5-8) = :log:abs(5-8) = 0.477121254719662
  42. 15%60 = 9
  43. 15ppm600 = 15*:ppm600 = 0.009
  44. x^2 + x = 0 = x1 = 0; x2 = -1
  45. x^2 + x - 7 = 0 = x1 = 2.19258240356725; x2 = -3.19258240356725
  46. :sum(5.5+5.6+5.56+5.68+5.64) = 27.98; n = 5; s = 5.596; Mean = 6.98569967862918E-02
  47. :dat5.82 = :sum(5.5+5.6+5.56+5.68+5.64+5.82)
  48. dat(1,8*3) = :sum(5.5+5.6+5.56+5.68+5.64+5.82+5.4)
  49. :sum = :sum(5.5+5.6+5.56+5.68+5.64+5.82+5.4)
  50.  
  51. = Calculate chemical formula
  52. H2SO4 = H*2+S+O*4  = 1.00794*2+32.066+15.9994*4 = 98.079
  53. h2o = H2O = 18.0153
  54. cu(no3)2 = Cu(NO3)2 = 63.546+(14.00674+15.9994*3)*2 = 187.556
  55. ch3ch2cooh = CH3CH2COOH = 74.0785
  56. clch2ch2cohcl = ClCH2CH2COHCl = 127.9766
  57. nabio3 = NaBiO3 = 279.9684
  58. hno3 = HNO3 = 63.0129
  59. naso4 = NaSO4 = 119.053
  60. CoAsO4 = 197.8524
  61. wrco3 = WRCO3 = R isn't chemical symbol!
  62. cuso4+5h20 = (CuSO4)+5*(H20) = 260.4036
  63.  
  64. = Command and combine expressions
  65. 5*20 = 100
  66. #mem = 100
  67. log mem = 2
  68. #mem+ = 102
  69. 73.9/nano3 = 73.9/(NaNO3) = 0.869465876170411
  70. mem*3 = 306
  71. #mem- = -204
  72. pb(no3)2+2h2o = (Pb(NO3)2)+2*(H2O) = 367.24044
  73. al(no3)2+2h2o = (Al(NO3)3)+9*(H2O) = 375.133878
  74. #fix3 = numbers rounded to three decimal places
  75. (Cr(NO3)3)+9*(H2O) = 400.148
  76. (Fe(NO3)3)+9*(H2O) = 403.997
  77. #sci1 = scientific mode with one decimal place
  78. (Ni(NO3)2)+6*(H2O) = 2.9 E+02
  79. (Mn(NO3)2)+6*(H2O) = 2.9 E+02
  80. #auto = return to automatic mode
  81. (Ni(NO3)2)+6*(H2O) = 290.79496
  82. (Mn(NO3)2)+6*(H2O) = 287.039609
  83. sin2=0.90929742682568
  84. #fix3
  85. sin2=0.909
  86. #fix3 deg
  87. sin2=0.035
  88. #sci5grad
  89. sin2=3.14108 E-02
  90. #auto rad
  91. Ca(NO3)2 = 164.088
  92. Sr(NO3)2 = 211.63
  93. 104.4/(mn(no3)2+6h2o) = 104.4/(Mn(NO3)2+6*(H2O)) = 0.363712870024151
  94. naf = NaF = 41.988173
  95. intnaf = :int(NaF) = 41
  96. lognaf = :log(NaF) = 1.6231269799864
  97.