Advertisement
Guest User

Ti-Basic

a guest
Jan 18th, 2014
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Lbl ST
  2. "Geef-"üStr0
  3. "significatie!"üStr1
  4. Menu("Omrekenen van...","Mol",Q1,"Massa",Q2,"Aantal",Q3,"Molariteit",Q4)
  5.  
  6. Lbl Q1
  7. Input "Mol=", A
  8. Menu("Omrekenen naar..","Massa",A1,"MolWaarde",A2,"Volume",A3,"Molariteit",A4)
  9.  
  10. Lbl Q2
  11. Input "Massa(gr)=", A
  12. Menu("Omrekenen naar..","Dichtheid",B1,"MolWaarde",B2,"Mol",B3,"Aantal",B4)
  13.  
  14. Lbl Q3
  15. Input "Aantal(cm3)=", A
  16. Menu("Omrekenen Naar..","Dichtheid",C1,"Massa",C2)
  17.  
  18. Lbl Q4
  19. Input "Molariteit(mol/l)=", A
  20. Menu("Omrekenen Naar..","Volume",D1,"Mol",D2)
  21.  
  22. Lbl A1
  23. Disp Str0+"MolWaarde","in-gram/mol"
  24. Input "MolWaarde=", B
  25. Disp "Mol*Mw=Massa(gr)"
  26. Goto S1
  27.  
  28. Lbl A2
  29. Disp Str0+"Massa","in-gram"
  30. Input "Massa=", B
  31. Disp "Massa/Mol=Mw(g/mol)"
  32. Goto S3
  33.  
  34. Lbl A3
  35. Disp Str0+"Molariteit","in-Mol/L"
  36. Input "Molariteit=", B
  37. Disp "Mol/M=Volume(L)","M=molariteit"
  38. Goto S2
  39.  
  40. Lbl A4
  41. Disp Str0+"Volume","in-Liter"
  42. Input "Volume=", B
  43. Disp "Mol/Volume=M","(Mol/L)","M=molariteit"
  44. Goto S2
  45.  
  46. Lbl B1
  47. Disp Str0+"Volume","in-MilliLiter/cm3"
  48. Input "Volume=", B
  49. Disp "Massa/Volume=p","(g/cm3)","p=dichtheid"
  50. Goto S2
  51.  
  52. Lbl B2
  53. Disp Str0+"Mol"
  54. Input "Mol=", B
  55. Disp "Massa/Mol=Mw(gr/mol)"
  56. Goto S2
  57.  
  58. Lbl B3
  59. Disp Str0+"MolWaarde(gr/mol)"
  60. Input "Mw=", B
  61. Disp "Massa/Mw=mol"
  62. Goto S2
  63.  
  64. Lbl B4
  65. Disp Str0+"Dichtheid(gr/cm3)"
  66. Input "p=", B
  67. Disp "Massa*p=Aantal","(cm3=ml)"
  68. Goto S1
  69.  
  70. Lbl C1
  71. Disp Str0+"Massa(gr)"
  72. Input "Massa=", B
  73. Disp "Aantal/Massa=p","(g/cm3)", "p=dichtheid"
  74. Goto S2
  75.  
  76. Lbl C2
  77. Disp Str0+"Dichtheid(g/cm3)"
  78. Input "p=", B
  79. Disp "Aantal/p=Massa","(g)"
  80. Goto S2
  81.  
  82. Lbl D1
  83. Disp Str0+"Mol"
  84. Input "Mol=", B
  85. Disp "M/Mol=Volume","(L)","M=molariteit"
  86. Goto S2
  87.  
  88. Lbl D2
  89. Disp Str0+"Volume(L)"
  90. Input "Volume=", B
  91. Disp "M*Volume=Mol","M=molariteit"
  92. Goto S1
  93.  
  94. Lbl S3
  95. Disp B/A, Str1
  96. Pause ""
  97.  
  98. Lbl S2
  99. Disp A/B, Str1
  100. Pause ""
  101.  
  102. Lbl S1
  103. Disp A*B, Str1
  104. Pause ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement