home *** CD-ROM | disk | FTP | other *** search
- = EniG. Chemistry Assistant reads and calculates line by line,
- = ignoring all that appears after the equal sign (=).
- = The lines which started with # are command lines.
-
- = Basic calculations
- 3+3 = 6
- 5+ 7+1 0 +2 = 5+7+10+2 = 24
- 12+(20-8)*3+7 = 55
- (8+3 = Missing right bracket ')' !
- 12+2+8)*3+7 = Missing left bracket '(' !
- 2+2-9 = -5
- .5*,6 = 0.5*0.6 = 0.3
- 2.5+2.12+-9*.8 = 2.5+2.12-9 =-2.58
- 27/3 = 9
- 3*5*7 = 105
- 9.12E-31*5 = 4.56E-30
- 9.12E+3+5.1e-1 = 9.12E3+5.1E-1 = 9120.51
- 5.48E-7/5.972E24 = 9.17615539182853E-32
- 2**3 = 2^3 = 8
- 2^3/0 = Cannot divide by zero!
- 8.12E-5/2 = 0.0000406
- 8.12E5/2 = 406000
- 4+5-*-1 = Type mismatch
- 4++5--7 = 4+5-1*-7 = 16
-
- = Calculate function
- :sin1.5 = 0.997494986604054
- :asin = :asin(Last answer) = :asin0.997494986604054 = 1.5
- cos2 = :cos2 = -0.416146836547142
- :tan5 = -3.38051500624659
- :cot2 = -0.457657554360286
- :log1000 = 3
- alog3 = :alog3 = 1000
- 5! = 120
- :ran100 = 33.9901149272919
- :int(:ran100) = 45
- :ln123 = 4.81218435537242
- :log543E-8 = -5.26520017041115
- :log5.43E-8 = -7.26520017041115
- :log(5-8) = Logarithm of a negative number!
- logabs(5-8) = :log:abs(5-8) = 0.477121254719662
- 15%60 = 9
- 15ppm600 = 15*:ppm600 = 0.009
- x^2 + x = 0 = x1 = 0; x2 = -1
- x^2 + x - 7 = 0 = x1 = 2.19258240356725; x2 = -3.19258240356725
- :sum(5.5+5.6+5.56+5.68+5.64) = 27.98; n = 5; s = 5.596; Mean = 6.98569967862918E-02
- :dat5.82 = :sum(5.5+5.6+5.56+5.68+5.64+5.82)
- dat(1,8*3) = :sum(5.5+5.6+5.56+5.68+5.64+5.82+5.4)
- :sum = :sum(5.5+5.6+5.56+5.68+5.64+5.82+5.4)
-
- = Calculate chemical formula
- H2SO4 = H*2+S+O*4 = 1.00794*2+32.066+15.9994*4 = 98.079
- h2o = H2O = 18.0153
- cu(no3)2 = Cu(NO3)2 = 63.546+(14.00674+15.9994*3)*2 = 187.556
- ch3ch2cooh = CH3CH2COOH = 74.0785
- clch2ch2cohcl = ClCH2CH2COHCl = 127.9766
- nabio3 = NaBiO3 = 279.9684
- hno3 = HNO3 = 63.0129
- naso4 = NaSO4 = 119.053
- CoAsO4 = 197.8524
- wrco3 = WRCO3 = R isn't chemical symbol!
- cuso4+5h20 = (CuSO4)+5*(H20) = 260.4036
-
- = Command and combine expressions
- 5*20 = 100
- #mem = 100
- log mem = 2
- #mem+ = 102
- 73.9/nano3 = 73.9/(NaNO3) = 0.869465876170411
- mem*3 = 306
- #mem- = -204
- pb(no3)2+2h2o = (Pb(NO3)2)+2*(H2O) = 367.24044
- al(no3)2+2h2o = (Al(NO3)3)+9*(H2O) = 375.133878
- #fix3 = numbers rounded to three decimal places
- (Cr(NO3)3)+9*(H2O) = 400.148
- (Fe(NO3)3)+9*(H2O) = 403.997
- #sci1 = scientific mode with one decimal place
- (Ni(NO3)2)+6*(H2O) = 2.9 E+02
- (Mn(NO3)2)+6*(H2O) = 2.9 E+02
- #auto = return to automatic mode
- (Ni(NO3)2)+6*(H2O) = 290.79496
- (Mn(NO3)2)+6*(H2O) = 287.039609
- sin2=0.90929742682568
- #fix3
- sin2=0.909
- #fix3 deg
- sin2=0.035
- #sci5grad
- sin2=3.14108 E-02
- #auto rad
- Ca(NO3)2 = 164.088
- Sr(NO3)2 = 211.63
- 104.4/(mn(no3)2+6h2o) = 104.4/(Mn(NO3)2+6*(H2O)) = 0.363712870024151
- naf = NaF = 41.988173
- intnaf = :int(NaF) = 41
- lognaf = :log(NaF) = 1.6231269799864
-