home *** CD-ROM | disk | FTP | other *** search
- 1 rem ********************************
- 2 rem * *
- 3 rem * chemiekasten v2.0 *
- 4 rem * von *
- 5 rem * thomas henke *
- 6 rem * im brinkmannsfeld 31 *
- 7 rem * 4250 bottrop *
- 8 rem * *
- 9 rem ********************************
- 10 gosub8050
- 20 poke53265,peek(53265)and223:poke53272,2
- 30 sys36864
- 40 :
- 50 rem * menue hm *
- 60 :
- 70 garbcol:print"[147]"
- 80 menu8,1,20,10,140,1,0,hm$(0),a
- 90 onagoto150,210,1540,270,330,390,4540,5390,5680,6300
- 100 ifa=0then7200
- 110 goto70
- 120 :
- 130 rem * menue mm *
- 140 :
- 150 menu3,15,14,3,141,1,0,mm$(0),a
- 160 ifa=0then70
- 170 onagoto450,600,800
- 180 :
- 190 rem * menue gp *
- 200 :
- 210 menu3,14,17,2,141,1,0,gp$(0),a
- 220 ifa=0then70
- 230 onagoto1010,1190
- 240 :
- 250 rem * menue lp *
- 260 :
- 270 menu0,12,36,3,141,1,0,lp$(0),a
- 280 ifa=0then70
- 290 onagoto2190,2320,2440
- 300 :
- 310 rem * menue ma *
- 320 :
- 330 menu3,18,25,2,141,1,0,ma$(0),a
- 340 ifa=0then70
- 350 onagoto2640,2820
- 360 :
- 370 rem * menue loe *
- 380 :
- 390 menu14,8,21,6,141,1,0,l$(0),a
- 400 ifa=0then70
- 410 onagoto3290,3500,3710,3990,4200,4380
- 420 :
- 430 rem * molmasse *
- 440 :
- 450 pu=1:print"[147]"
- 460 text0,15,"[205][207][204][205][193][211][211][197][146]"
- 470 ze=2:sp=9:l=30:text2,1,"[198]ormel:":gosub6960
- 480 z=e:gosub7300
- 490 forx=1tob
- 500 text2*x+2,1,"[197]lement: "ee$(x)b$(8)"[193]nzahl:"c(x)
- 510 nextx
- 520 ifb=1andc(b)=1then:text6,1,"[193]tomgewicht: "z$" g/mol":goto540
- 530 text2*b+4,1,"[205]olmasse: "z$" g/mol"
- 540 dz=b+2:gosub7970
- 550 ifa=0then150
- 560 goto450
- 570 :
- 580 rem * mol & masse *
- 590 :
- 600 dz=3:a=0:pu=0:print"[147]"
- 610 text0,14,"[205][207][204] & [205][193][211][211][197][146]"
- 620 text2,3,"[198]ormel:"
- 630 text4,4,b$(12)
- 640 text6,1,"[205]olmenge: 1 mol"
- 650 er=0:ze=2:sp=11:l=28:gosub6960
- 660 nk=4:x=1:ze=4:l=7:gosub6840:mv=val(ip$)
- 670 x=2:sp=28:l=5:gosub6840:w=val(ip$)/100
- 680 x=3:ze=6:sp=11:l=7:gosub6840:n=val(ip$)
- 690 ifa=0thengosub7920:goto650
- 700 ifa=1thenz=n*e/w:gosub7280:text4,11,z$:goto740
- 710 ifa=3thenz=mv*w/e:gosub7280:text6,11,z$:goto740
- 720 nk=2
- 730 ifa=2thenz=100*n*e/mv:gosub7280:text4,28,z$:goto740
- 740 gosub7970
- 750 ifa=0then150
- 760 goto600
- 770 :
- 780 rem * gravimetrie *
- 790 :
- 800 dz=4:pu=0:print"[147]"
- 810 text0,14,"[199][210][193][214][201][205][197][212][210][201][197][146]"
- 820 text2,1,"[199]esuchte [211]ubstanz:"
- 830 text4,13,"[205]asse: ? g"
- 840 text6,2,"[193]usgew. [211]ubstanz:"
- 850 text8,13,"[205]asse: 1 g"
- 860 ze=2:sp=20:l=20:gosub6960:er=e:swaparer$,ee$:dupearct,c:f=b
- 870 ze=6:gosub6970
- 880 forx=1tob
- 890 fory=1tof
- 900 ifee$(x)=er$(y)thenc=c(x)/ct(y):goto930
- 910 nexty:nextx
- 920 gosub7920:l=20:goto870
- 930 ze=8:l=7:gosub6830:mv=val(ip$)
- 940 nk=4:z=c*mv*er/e:gosub7280:text4,20,z$
- 950 gosub7970
- 960 ifa=0then150
- 970 goto800
- 980 :
- 990 rem * gewichtsprozente sf *
- 1000 :
- 1010 pu=2:print"[147]"
- 1020 text0,8,"[199][197][215][201][195][200][212][211][208][210][207][218][197][206][212][194][197][210][197][195][200][206][213][206][199][146]"
- 1030 ze=2:sp=9:l=30:text2,1,"[198]ormel:":gosub6960
- 1040 text4,1,"[197]lem. [193]nz. [199]ew%"
- 1050 nk=2:forx=1tob
- 1060 w(x)=c(x)*am(ez%(x))*100/e
- 1070 z=w(x):gosub7280:w$=z$:c$=str$(c(x))
- 1080 text2*x+4,2,ee$(x)tab(11-len(c$))c$tab(13)w$
- 1090 nextx
- 1100 menu26,4,10,3,141,1,0,wm$(0),a
- 1110 ifa<4then:killm
- 1120 ifa=0then210
- 1130 ifa=2thendz=b+2:gosub7550:goto1100
- 1140 ifa=1then1010
- 1150 ifa=3thenup=1:goto1540
- 1160 :
- 1170 rem * gewichtsprozente vw *
- 1180 :
- 1190 b=8:pu=2:ps=0:a=1:nk=2:print"[147]"
- 1200 text0,8,"[199][197][215][201][195][200][212][211][208][210][207][218][197][206][212][194][197][210][197][195][200][206][213][206][199][146]"
- 1210 text2,1,"[197]inw. [193][211] [214]erb. [193]usw. [214][194] [199]ew.% [197]l."
- 1220 wline3,0,40,1:sline2,10,2,1:sline2,18,2,1:sline2,29,2,1:text4,1,"1"
- 1230 forx=1to8
- 1240 wline2*x+3,0,40,1:sline2*x+2,10,2,1:sline2*x+2,18,2,1:sline2*x+2,29,2,1
- 1250 ifx>1thenpu=1:nk=nb:z=es:gosub7280:text2*x+2,1,z$:pu=2:nk=2
- 1260 eingabe2*x+2,1,7,"1234567890.",ip$,"[133]",sv%
- 1270 ifsv%=1thenb=x-1:goto1440
- 1280 es=val(ip$):z=es:gosub7430
- 1290 text2*x+2,12," "
- 1300 text2*x+2,12,vb$(a)
- 1310 getkp$:ifkp$=""then1310
- 1320 ifkp$=""thenifa<8thena=a+1:goto1290
- 1330 ifkp$="[145]"thenifa>1thena=a-1:goto1290
- 1340 ifpeek(203)=1then1360
- 1350 goto1310
- 1360 ee$(x)=ve$(a):eingabe2*x+2,21,7,"1234567890.r",ip$
- 1370 ifip$="r"thenw(x)=100-ps:z=w(x):gosub7280:ps=100:text2*x+2,21," "
- 1380 ifip$="r"thenb=x:text2*x+2,31,z$:x=x+1:goto1440
- 1390 av=val(ip$):w(x)=fnr(fv(a)*av*100/es)
- 1400 ps=ps+w(x):z=w(x):gosub7280
- 1410 text2*x+2,31,z$
- 1420 ifa<8thena=a+1
- 1430 nextx
- 1440 la=2*x+2:gosub7870:ifb>6thengosub7500
- 1450 menu12,16,10,3,141,1,0,wm$(0),a
- 1460 ifa<4then:killm
- 1470 ifa=0then210
- 1480 ifa=2thendz=b+1:gosub7550:goto1450
- 1490 ifa=1then1190
- 1500 ifa=3thenup=2
- 1510 :
- 1520 rem * empirische formel *
- 1530 :
- 1540 nk=2:pu=2:ee=0:print"[147]"
- 1550 text0,4,"[194][197][210][197][195][200][206][213][206][199] [196][197][210] [197][205][208][201][210][201][211][195][200][197][206] [198][207][210][205][197][204][146]"
- 1560 ifup=1thenup=0:ps=100:g=1:dupearz,c:goto1700
- 1570 ifup=2thenup=0:gosub7090:goto1650
- 1580 ze=2:sp=11:l=28:text2,1,"[197]lemente:":gosub6960:ifb=9then1580
- 1590 ps=100
- 1600 forx=1tob
- 1610 text2*x+2,4,ee$(x)spc(5)"[199]ew% ? "fnr(ps)
- 1620 eingabe2*x+2,19,6,"1234567890.",ip$,"[133]",sv%:ifsv%=1then70
- 1625 w(x)=val(ip$):ps=ps-w(x):ifw(x)=0then1620
- 1630 nextx
- 1640 ps=100-ps
- 1650 g=100:forx=1tob
- 1660 z(x)=w(x)/am(ez%(x))
- 1670 ifz(x)<gtheng=z(x)
- 1680 nextx
- 1690 forx=1tob:c(x)=z(x)/g:nextx
- 1700 e=0:nk=5:gosub7090:er=e
- 1710 dupearct,c:goto1730
- 1720 e=0:nk=5:gosub7090
- 1730 gosub7860:nk=2
- 1740 text2,2,"[197]lement [208]rozent [201]ndexw. [210]el.[201]ndex"
- 1750 forx=1tob
- 1760 z=w(x):gosub7280:w$=z$:z=z(x):gosub7280:i$=z$:z=c(x):gosub7280:c$=z$
- 1770 text2*x+2,4,ee$(x)spc(4)w$spc(2)i$spc(3)c$
- 1780 nextx
- 1790 text2*b+4,2,"[205]olmasse:"e" [197]ingabe:"ee
- 1800 text2*b+6,2,"[208]rozentsumme:"ps"%"
- 1810 ifb>4then:gosub7500
- 1820 dupearc,ct
- 1830 menu25,14,10,4,141,1,0,ef$(0),a
- 1840 ifa<5then:killm
- 1850 ifa=0then70
- 1860 ifa=2thendz=b+3:gosub7550:goto1810
- 1870 onagoto1540,7550,1890,2070
- 1880 :
- 1890 text2*b+6,2,"[197]rmittelte [205]olmasse ? "e
- 1900 eingabe2*b+6,25,8,"1234567890.",ip$,"[133]",sv%:ifsv%=1then70
- 1910 ee=val(ip$):f=int(ee/er+0.5)
- 1920 iff<1thenf=1
- 1930 menu16,16,8,2,141,1,0,te$(0),a
- 1940 ifa<3then:killm
- 1950 onagoto2020,1970
- 1960 :
- 1970 forx=1tob
- 1980 c(x)=c(x)*f
- 1990 nextx
- 2000 goto1720
- 2010 :
- 2020 forx=1tob
- 2030 c(x)=c(x)*f:c(x)=int(c(x)+.5)
- 2040 nextx
- 2050 goto1720
- 2060 :
- 2070 clearz2*b+6
- 2080 text2*b+6,2,"[197]lement+[193]nzahl ? "ee$(1)
- 2090 eingabe2*b+6,20,4,"1234567890[171][179][177][178][163][183][184][162][185][175]",ip$,"[133]",sv%:ifsv%=1then70
- 2100 falip$:ee$(0)=chr$(peek(40449))+chr$(peek(40450)):f=peek(40451)
- 2110 forx=1tob
- 2120 ifee$(0)=ee$(x)theng=z(x)/f:goto2150
- 2130 nextx
- 2140 gosub7920:goto2080
- 2150 forx=1tob:c(x)=z(x)/g:nextx:goto1720
- 2160 :
- 2170 rem * loeslichkeitsprodukt *
- 2180 :
- 2190 dz=3:print"[147]"
- 2200 text0,2,"[204][207][197][211][204][201][195][200][203][197][201][212] [201][206][160][204][207][197][211][204][201][195][200][203][197][201][212][211][208][210][207][196][213][203][212][146]"
- 2210 text2,1,"[198]ormel des [211]alzes:"
- 2220 ze=2:sp=20:l=18:gosub6960:loeprfo$,q1%,q2%
- 2230 text4,2,"[211]aettigungskonz.: 5.0e-5":ze=4:gosub6630:nk=2
- 2240 ml=q1%^q1%*q2%^q2%*ml^(q1%+q2%):el=el*(q1%+q2%):ml=ml/1000:el=el+3:gosub6760
- 2250 text6,2,"[204]oeslichkeitspr.:"z$
- 2260 gosub7970
- 2270 ifa=0then270
- 2280 goto2190
- 2290 :
- 2300 rem * loeslichkeit *
- 2310 :
- 2320 dz=4:print"[147]"
- 2330 text0,2,"[204][207][197][211][204][201][195][200][203][197][201][212][211][208][210][207][196][213][203][212][160][201][206][160][204][207][197][211][204][201][195][200][203][197][201][212][146]"
- 2340 gosub2570:nk=4
- 2350 ml=(ml/(q1%^q1%*q2%^q2%))^(1/(q1%+q2%)):el=el/(q1%+q2%):sw=el:sq=ml
- 2360 gosub6760:text6,2,"[211]aettigungskonz.:"z$" mol/l"
- 2370 ml=sq*e/1000:el=sw+3:gosub6760:text8,3,"[205]assenkonzentr.:"z$" g/l"
- 2380 gosub7970
- 2390 ifa=0then270
- 2400 goto2320
- 2410 :
- 2420 rem * gleichioniger zusatz *
- 2430 :
- 2440 dz=5:print"[147]"
- 2450 text0,10,"[199][204][197][201][195][200][201][207][206][201][199][197][210][160][218][213][211][193][212][218][146]"
- 2460 gosub2570:sw=el:sq=ml
- 2470 er=e:swaparer$,ee$:dupearct,c
- 2480 text6,3,"[214]orgelegtes [201]on: "er$(1):ze=6:gosub6970
- 2490 ifee$(1)=er$(1)thenc=q1%:goto2510
- 2500 c=q2%
- 2510 text8,5,"[203]onzentration: 3.0e-3":ze=8:gosub6630:nk=4
- 2520 ml=sq/ml^c:el=sw-el*c:gosub6760:text10,4,"[198]ehlende [203]onz.:"z$" mol/l"
- 2530 gosub7970
- 2540 ifa=0then270
- 2550 goto2440
- 2560 :
- 2570 text2,1,"[198]ormel des [211]alzes:"
- 2580 ze=2:sp=20:l=18:gosub6960:loeprfo$,q1%,q2%
- 2590 text4,2,"[204]oeslichkeitspr.: 5.0e-5":ze=4:gosub6630
- 2600 return
- 2610 :
- 2620 rem * massanalyse titration *
- 2630 :
- 2640 dz=5:pu=0:a=0:print"[147]"
- 2650 text0,8,"[205][193][211][211][193][206][193][204][217][211][197]: [212][201][212][210][193][212][201][207][206][197][206][146]"
- 2660 gosub3090
- 2670 ifa=1thenz=vh*ch*zh*th*e*fa/(zg*w*1000):gosub7280:text4,8,z$:goto2760
- 2680 ifa=5thenz=mv*w*zg*1000/(vh*ch*zh*e*fa):gosub7280:text8,34,z$:goto2760
- 2690 nk=3
- 2700 ifa=6thenz=vh*ch*zh*th*e*fa/(zg*vg):gosub7280:c$=z$:z=z/e:gosub7280
- 2710 ifa=6then:text4,5,"c="c$" g/l="z$" mol/l"
- 2720 ifa=4thenz=mv*w*zg*1000/(th*vh*zh*e*fa):gosub7280:text8,19,z$:goto2760
- 2730 nk=2
- 2740 ifa=2thenz=vh*ch*zh*th*e*fa/(zg*10*mv):gosub7280:text4,21,z$:goto2760
- 2750 ifa=3thenz=mv*w*zg*1000/(th*ch*zh*e*fa):gosub7280:text8,7,z$
- 2760 gosub7970
- 2770 ifa=0then330
- 2780 goto2640
- 2790 :
- 2800 rem * massanalyse ruecktitration *
- 2810 :
- 2820 dz=7:pu=0:a=0:print"[147]"
- 2830 text0,5,"[205][193][211][211][193][206][193][204][217][211][197]: [210][213][197][195][203][212][201][212][210][193][212][201][207][206][197][206][146]"
- 2840 text12,1,"[196]aten zur [205]asslsg. ([214]orlage):"
- 2850 text14,1,b$(10)
- 2860 gosub3090
- 2870 ze=14:sp=3:l=1:gosub6830:zv=val(ip$)
- 2880 sp=7:l=5:gosub6830:vv=val(ip$)
- 2890 sp=19:gosub6830:cv=val(ip$)
- 2900 sp=34:l=6:gosub6830:tv=val(ip$)
- 2910 ifa=1thenz=(vv*cv*tv-vh*ch*zh*th/zv)*e*fa*zv/(zg*w*1000):gosub7280
- 2920 ifa=1then:text4,8,z$:goto3050
- 2930 ifa=5thenz=(vv*cv*tv-1000*mv*w*zg/(zv*e*fa))*zv/(vh*ch*zh):gosub7280
- 2940 ifa=5then:text8,34,z$:goto3050
- 2950 nk=3
- 2960 ifa=6thenz=(vv*cv*tv-vh*ch*zh*th/zv)*e*fa*zv/(zg*vg):gosub7280:c$=z$
- 2970 ifa=6thenz=z/e:gosub7280:text4,5,"[195]="c$" g/l="z$" mol/l":goto3050
- 2980 ifa=4thenz=(vv*cv*tv-1000*mv*w*zg/(zv*e*fa))*zv/(vh*th*zh):gosub7280
- 2990 ifa=4then:text8,19,z$:goto3050
- 3000 nk=2
- 3010 ifa=2thenz=(vv*cv*tv-vh*ch*zh*th/zv)*e*fa*zv/(zg*mv*10):gosub7280
- 3020 ifa=2then:text4,21,z$:goto3050
- 3030 ifa=3thenz=(vv*cv*tv-1000*mv*w*zg/(zv*e*fa))*zv/(th*ch*zh):gosub7280
- 3040 ifa=3then:text8,7,z$
- 3050 gosub7970
- 3060 ifa=0then330
- 3070 goto2820
- 3080 :
- 3090 text2,1,"[196]aten zur ges. [214]erb.:"
- 3100 text4,1,"z=1 m=1 g w=100 %"
- 3110 text6,1,"[196]aten zur [205]asslsg.:"
- 3120 text8,1,b$(10)
- 3130 text10,1,"[193]liquotierungsfaktor: 1"
- 3140 er=0:ze=2:sp=23:l=16:gosub6960
- 3150 nk=4
- 3160 ze=4:sp=3:l=1:gosub6830:zg=val(ip$)
- 3170 x=1:sp=8:l=7:gosub6840:mv=val(ip$)
- 3180 x=2:sp=21:l=5:gosub6840:w=val(ip$)/100
- 3190 ze=8:sp=3:l=1:gosub6830:zh=val(ip$)
- 3200 x=3:sp=7:l=5:gosub6840:vh=val(ip$)
- 3210 x=4:sp=19:gosub6840:ch=val(ip$)
- 3220 x=5:sp=34:l=6:gosub6840:th=val(ip$)
- 3230 ze=10:sp=23:l=2:gosub6830:fa=val(ip$)
- 3240 ifa=0thena=6:text4,30,"[214]=10 ml":ze=4:sp=32:l=5:gosub6830:vg=val(ip$)
- 3250 return
- 3260 :
- 3270 rem * loesungen herstellen *
- 3280 :
- 3290 dz=4:pu=0:a=0:print"[147]"
- 3300 text0,9,"[204][207][197][211][213][206][199][197][206]: [200][197][210][211][212][197][204][204][197][206][146]"
- 3310 text2,1,"[199]eloeste [211]ubstanz:"
- 3320 text4,9,b$(12)
- 3330 text6,7,"[214]olumen: 10 ml"
- 3340 text8,1,"[203]onzentration: 0.5 mol/l"
- 3350 er=0:ze=2:sp=20:l=19:gosub6960
- 3360 nk=4:l=7:x=1:ze=4:sp=16:gosub6840:mv=val(ip$):l=5:sp=33:gosub6830:w=val(ip$)/100
- 3370 sp=16:ze=6:x=2:gosub6840:vv=val(ip$)
- 3380 ze=8:x=3:gosub6840:cv=val(ip$)
- 3390 ifa=0thengosub7920:goto3350
- 3400 ifa=1thenz=e*cv*vv/1000/w:gosub7280:text4,16,z$:goto3440
- 3410 ifa=3thenz=mv*w*1000/(e*vv):gosub7280:text8,16,z$:goto3440
- 3420 nk=1
- 3430 ifa=2thenz=mv*w*1000/(e*cv):gosub7280:text6,16,z$
- 3440 gosub7970
- 3450 ifa=0then390
- 3460 goto3290
- 3470 :
- 3480 rem * loesungen einengen/verd. *
- 3490 :
- 3500 dz=5:er=1:nk=4:pu=0:print"[147]"
- 3510 text0,3,"[204][207][197][211][213][206][199][197][206] [197][201][206][197][206][199][197][206] [207][196][197][210] [214][197][210][196][213][197][206][206][197][206][146]"
- 3520 text2,1,"[196]aten der gegebenen [204]oesung:"
- 3530 text4,1,b$(12):text8,1,b$(12)
- 3540 text6,1,"[196]aten der vorliegenden [204]oesung:"
- 3550 text14,1,"[197]inengen: [199]ew% unten groesser als oben."
- 3560 text16,0,"[214]erduennen: [199]ew% unten kleiner als oben."
- 3570 ze=4:sp=8:l=7:gosub6830:c(1)=val(ip$)
- 3580 sp=25:l=5:gosub6830:w(1)=val(ip$)
- 3590 ze=8:sp=8:l=7:gosub6830:mv=val(ip$)
- 3600 sp=25:l=5:gosub6830:zv=val(ip$):f=zv-w(1):iff<0then3630
- 3610 z=c(1)-((c(1)*(zv-w(1)))/zv):gosub7280:text8,8,z$
- 3620 z=c(1)-z:gosub7280:text10,1,"[193]bzudampfende [205]enge: "z$" g":goto3650
- 3630 z=mv*zv/w(1):gosub7280:text4,8,z$
- 3640 z=mv-z:gosub7280:text10,1,"[215]asserzugabe: "z$" g"
- 3650 gosub7970
- 3660 ifa=0then390
- 3670 goto3500
- 3680 :
- 3690 rem * loesungen mischen *
- 3700 :
- 3710 ue=0:dz=5:nk=4:mv=0:print"[147]"
- 3720 pu=1:text0,10,"[204][207][197][211][213][206][199][197][206] [205][201][211][195][200][197][206][146]"
- 3730 text2,1,"[196]aten der [197]inzelloesungen:"
- 3740 text4,1,b$(12):text6,1,b$(12)
- 3750 text8,1,"[196]aten der [205]ischung:"
- 3760 text10,1,b$(12)
- 3770 ifue=4then:text4,7,mv:gosub7280:text4,25,z$
- 3780 a=0:pu=0:er=0:x=1:ze=4:sp=8:l=7:gosub6840:c(x)=val(ip$)
- 3790 x=2:sp=25:l=5:gosub6840:w(1)=val(ip$)
- 3800 x=3:ze=6:sp=8:l=7:ifc(1)=0then:textze,sp,"?":goto3820
- 3810 gosub6840:c(2)=val(ip$):mv=c(1)+c(2)
- 3820 sp=25:l=5:gosub6840:w(2)=val(ip$):ifw(2)=w(1)then3820
- 3830 ifmv<>0then:text10,7,mv
- 3840 ze=10:sp=8:l=7:gosub6830:mv=val(ip$):ifmv=0then3840
- 3850 x=4:sp=25:l=5:gosub6840:zv=val(ip$)
- 3860 ifa=0then3780
- 3870 ifa=1thenz=mv*(zv-w(2))/(w(1)-w(2)):gosub7280:text4,8,z$
- 3880 ifa=1thenz=mv-z:gosub7280:text6,8,z$:goto3930
- 3890 nk=2
- 3900 ifa=2thenz=((mv*zv)-(c(2)*w(2)))/c(1):gosub7280:text4,25,z$:goto3930
- 3910 ifa=3thenz=((mv*zv)-(c(1)*w(1)))/c(2):gosub7280:text6,25,z$:goto3930
- 3920 ifa=4thenz=((c(1)*w(1))+(c(2)*w(2)))/mv:gosub7280:text10,25,z$
- 3930 ue=a:gosub7970
- 3940 ifa=0then390
- 3950 goto3720
- 3960 :
- 3970 rem * dichte *
- 3980 :
- 3990 dz=3:pu=0:print"[147]"
- 4000 text0,16,"[196][201][195][200][212][197][146]"
- 4010 text2,3,b$(12)
- 4020 text4,1,"[214]olumen: 1 ml"
- 4030 text6,2,"[196]ichte: 1 g/ml"
- 4040 a=0:er=0:nk=4:x=1:ze=2:sp=10:l=7:gosub6840:mv=val(ip$)
- 4050 x=2:sp=27:l=5:gosub6840:w=val(ip$)/100
- 4060 x=3:ze=4:sp=10:l=7:gosub6840:vh=val(ip$)
- 4070 x=4:ze=6:sp=10:gosub6840:zv=val(ip$)
- 4080 ifa=0thengosub7920:goto4040
- 4090 ifa=1thenz=zv*vh/w:gosub7280:text2,10,z$:goto4140
- 4100 ifa=3thenz=mv*w/zv:gosub7280:text4,10,z$:goto4140
- 4110 ifa=4thenz=mv*w/vh:gosub7280:text6,10,z$
- 4120 nk=2
- 4130 ifa=2thenz=100*zv*vh/mv:gosub7280:text2,27,z$:goto4140
- 4140 gosub7970
- 4150 ifa=0then390
- 4160 goto3990
- 4170 :
- 4180 rem * ph-wert-berechnung *
- 4190 :
- 4200 a=0:dz=2:pu=1:print"[147]"
- 4210 text0,11,"p[200]-[215][197][210][212]-[194][197][210][197][195][200][206][213][206][199]"
- 4220 text2,7,"p[200]-[215]ert: ?":text4,1,"[203]onzentration: ?"
- 4230 l=4:er=0:x=1:ze=2:sp=16:gosub6840:mv=val(ip$):ifmv>14then4230
- 4240 ze=4:x=2:l=8
- 4250 eingabeze,sp,l,"1234567890.e-?",ip$,"[133]",sv%:ifsv%=1then70
- 4255 ifleft$(ip$,1)="?"ander=1then4250
- 4260 ifleft$(ip$,1)="?"thena=x
- 4270 cv=val(ip$):gosub6640:ifel<-14then4250
- 4280 nk=2:ifa=0then4230
- 4290 ifa=1thenz=-log(cv)/log(10):gosub7280:text2,16,z$:goto4320
- 4300 ifa=2thenip$=str$(10^-mv):ip$=right$(ip$,len(ip$)-1):cv=val(ip$):gosub6640
- 4310 ifa=2thengosub6760:text4,15,z$
- 4320 gosub7970
- 4330 ifa=0then390
- 4340 goto4200
- 4350 :
- 4360 rem * interpolieren *
- 4370 :
- 4380 l=8:nk=4:a=0:dz=4:pu=1:print"[147]"
- 4390 text0,13,"[201][206][212][197][210][208][207][204][201][197][210][197][206][146]"
- 4400 text2,1,"[199]esuchter [215]ert:"
- 4410 text4,1,"[213]ntere [199]renzen:"
- 4420 text6,2,"[207]bere [199]renzen:"
- 4430 ze=2:sp=31:gosub6830:gw=val(ip$)
- 4440 ze=4:sp=21:gosub6830:vv=val(ip$):sp=31:gosub6830:zv=val(ip$)
- 4450 ze=6:sp=21:gosub6830:vh=val(ip$):sp=31:gosub6830:zh=val(ip$)
- 4460 f=zh-zv:g=vh-vv:zh=gw-zv:zv=zh*g/f:z=vv+zv:gosub7280
- 4470 text8,1,"[199]esuchter [215]ert ist: "z$
- 4480 gosub7970
- 4490 ifa=0then390
- 4500 goto4380
- 4510 :
- 4520 rem * ausbeuteberechnungen *
- 4530 :
- 4540 pu=0:print"[147]"
- 4550 text0,10,"[193][213][211][194][197][213][212][197][194][197][210][197][195][200][206][213][206][199][197][206][146]"
- 4560 text2,1,"[210]eaktionsgleichung:":ze=4:sp=2:sz=1:y=10:f=100:er=0:sm=0:l=34:g=1
- 4570 text8,24,"[205]asse [193]nteil"
- 4580 d(sz)=sp:textze,sp,"1":eingabeze,sp,2,"1234567890",ip$,"[133]",sv%
- 4590 ifsv%=1andsz=1andze=4then70
- 4595 ifsv%=1andg=szthen4580
- 4600 ifsv%=1andze=4theng=sz:sp=sp-1:textze,sp," [172]":ze=6:sp=2:l=34:goto4580
- 4610 ifsv%=1andze=6thensp=sp-1:textze,sp," ":sz=sz-1:goto4860
- 4620 zt(sz)=val(ip$):ifzt(sz)>9thend(sz)=d(sz)-1
- 4630 sp=sp+2
- 4640 :
- 4650 fo$="[200][179][207]":gosub6960
- 4660 ff$(sz)=fo$
- 4670 z(sz)=e:sp=sp+len(fo$)
- 4680 :
- 4690 ifsm>6then4800
- 4700 wt(sz)=y:texty,1,ff$(sz):texty,24,"1"
- 4710 eingabey,24,7,"1234567890.?",ip$,"[133]",sv%
- 4720 ifsv%=1thenct(sz)=-2:clearzy:goto4800
- 4730 ct(sz)=val(ip$)
- 4740 ifleft$(ip$,1)="?"thenct(sz)=-1:er=1
- 4750 texty,34,"100":eingabey,34,5,"1234567890.?",ip$,"[133]",sv%
- 4755 ifsv%=1thenct(sz)=-2:clearzy:goto4800
- 4760 w(sz)=val(ip$)/100
- 4770 ifer=1andleft$(ip$,1)="?"then4750
- 4780 ifleft$(ip$,1)="?"thenw(sz)=-1
- 4790 y=y+2:sm=sm+1
- 4800 ifsz=9then4860
- 4810 l=35-sp:er=0:sz=sz+1
- 4820 ifl<3andze=4thensv%=1:sp=sp+1:goto4600
- 4830 ifl<3andze=6thensz=sz-1:goto4860
- 4840 textze,sp,"+":sp=sp+1:goto4580
- 4850 :
- 4860 forx=1tog-1:text4,d(x),zt(x):nextx:forx=gtosz:text6,d(x),zt(x):nextx
- 4870 x=1
- 4880 ze=4:ifx>=gthenze=6
- 4890 a=zt(x)
- 4900 textze,d(x)," ":textze,d(x),a
- 4910 ifx<>1andx<>gthenifa>9then:textze,d(x),"+"
- 4920 getkp$:ifkp$=""then4920
- 4930 ifkp$=""thenifa<99thena=a+1
- 4940 ifkp$=""thenifa=10thend(x)=d(x)-1
- 4950 ifkp$=""then4900
- 4960 ifkp$="[145]"thenifa>1thena=a-1
- 4970 ifkp$="[145]"thenifa=9thend(x)=d(x)+1
- 4980 ifkp$="[145]"then4900
- 4990 ifkp$=""thenifx<szthenx=x+1:zt(x-1)=a:goto4880
- 5000 ifkp$="[157]"thenifx>1thenx=x-1:zt(x+1)=a:goto4880
- 5010 ifkp$="[133]"thenzt(x)=a:goto5050
- 5020 zt(x)=a:goto4880
- 5030 goto4880
- 5040 :
- 5050 ifsm=0then:clearz8:goto5330
- 5060 ze=4
- 5070 forx=1tog-1:ad=49312+d(x)
- 5080 ifzt(x)=1then:fory=xtog-1:d(y)=d(y)-2:nexty:transad+2,ad+40,ad
- 5090 z(x)=z(x)*zt(x):nextx
- 5100 ze=6
- 5110 forx=gtosz:ad=49392+d(x)
- 5120 ifzt(x)=1then:fory=xtosz:d(y)=d(y)-2:nexty:transad+2,ad+40,ad
- 5130 z(x)=z(x)*zt(x):nextx
- 5140 forx=1tog-1
- 5150 ifct(x)<0orw(x)=-1then5170
- 5160 mv=ct(x)*w(x)/z(x):ifmv<fthenf=mv
- 5170 nextx
- 5180 iff<>100then5240
- 5190 forx=gtosz
- 5200 ifct(x)<0then5220
- 5210 mv=ct(x)/(w(x)*z(x)):ifmv<fthenf=mv
- 5220 nextx
- 5230 iff=100then4540
- 5240 nk=4:z=f:gosub7280:text8,1,"[205]olmenge: "z$" mol"
- 5250 forx=1tosz
- 5260 nk=4:ifct(x)=-1andx>=gthenz=f*z(x)*w(x):gosub7280:textwt(x),24,z$:goto5310
- 5270 ifct(x)=-1thenz=f*z(x)/w(x):gosub7280:textwt(x),24,z$:goto5310
- 5280 nk=2
- 5290 ifw(x)=-1andx>=gthenz=100*ct(x)/(f*z(x)):gosub7280:textwt(x),34,z$:goto5310
- 5300 ifw(x)=-1thenz=100*f*z(x)/ct(x):gosub7280:textwt(x),34,z$
- 5310 nextx
- 5320 ifsm>4thengosub7500
- 5330 dz=sm+4:gosub7970
- 5340 ifa=0then70
- 5350 goto4540
- 5360 :
- 5370 rem * gasgesetze *
- 5380 :
- 5390 dz=5:pu=0:print"[147]"
- 5400 text0,15,"[199][193][211][199][197][211][197][212][218][197][146]"
- 5410 text2,1,"[193]usgangsbedingungen:"
- 5420 text4,1,b$(11)
- 5430 text6,1,"[213]mrechnungsbedingungen:"
- 5440 text8,1,b$(11)
- 5450 text10,1,"[205]olmenge: 1 mol"
- 5460 er=0:x=1:ze=4:l=7:a=0
- 5470 sp=3:gosub6830:p0=val(ip$)
- 5480 sp=18:gosub6830:v0=val(ip$)
- 5490 sp=31:l=5:gosub6830:t0=val(ip$)
- 5500 ze=8:sp=3:l=7:gosub6840:p1=val(ip$)
- 5510 sp=18:x=2:gosub6840:v1=val(ip$)
- 5520 sp=31:l=5:x=3:gosub6840:t1=val(ip$)
- 5530 ze=10:sp=11:l=6:x=4:gosub6840:n=val(ip$)
- 5540 ifa=0then5460
- 5550 r=p0*v0/t0:nk=3
- 5560 ifa=1thenz=n*r*t1/v1:gosub7280:text8,3,z$:goto5620
- 5570 ifa=2thenz=n*r*t1/p1:gosub7280:text8,18,z$:goto5620
- 5580 nk=2
- 5590 ifa=3thenz=p1*v1/(n*r):gosub7280:text8,31,z$:goto5620
- 5600 nk=3
- 5610 ifa=4thenz=p1*v1/(r*t1):gosub7280:text10,11,z$
- 5620 gosub7970
- 5630 ifa=0then70
- 5640 goto5390
- 5650 :
- 5660 rem * statistik *
- 5670 :
- 5680 n=30:pu=1:dz=3:sa=1:sm=3:sw=0:sq=0:sp=13:ze=8:ue=0:er=1:print"[147]"
- 5690 text0,15,"[211][212][193][212][201][211][212][201][203][146]"
- 5700 text2,1,"[205]esswertnummer:":text4,7,"[205]esswert: 1"
- 5710 forx=1to30
- 5720 text2,18,x
- 5730 eingabe4,19,6,"1234567890.^",ip$,"[133]",sv%
- 5735 ifsv%=1andx=1then70
- 5740 ifsv%=1thenn=x-1:goto5790
- 5745 ifleft$(ip$,1)="^"andx=1then5730
- 5750 ifleft$(ip$,1)="^"thenx=x-1:sw=sw-dx(x):sq=sq-dx(x)^2:x=x-1:goto5780
- 5760 dx(x)=val(ip$):sw=sw+dx(x):sq=sq+dx(x)^2
- 5770 ifx=1thenz=dx(1):gosub7430
- 5780 nextx
- 5790 nk=nb:se=n:ifn<2then5680
- 5800 text6,1,"[201]ch sortiere [196]eine [196]aten. [196]as dauert..."
- 5810 forx=n-1to1step-1
- 5820 fory=1tox
- 5830 ifdx(y)<=dx(y+1)then5850
- 5840 arrswapdx(y),dx(y+1)
- 5850 nexty:nextx
- 5860 clearz6:gosub6180
- 5870 ifn<3thensm=2
- 5880 menu26,16,10,sm,141,1,0,sm$(0),a
- 5890 ifa<sm+1then:killm
- 5900 ifa=0then70
- 5910 ifa=2thengosub7550:goto5880
- 5920 ifa=3then5950
- 5930 goto5680
- 5940 :
- 5950 text6,7,"[193][213][211][210][197][201][211][211][197][210][212][197][211][212] [206][193][195][200] [206][193][204][201][205][207][214][146]":text8,1,"[193]usreisser:"
- 5960 ifs=0thenws=1:goto6000
- 5970 r=(n/(n-1))^0.5:zv=(mx-dx(sa))*r/s:zh=(dx(se)-mx)*r/s
- 5980 ifzv>zhthenws=zv:r=1:goto6000
- 5990 ws=zh:r=0
- 6000 ifws<tw(n-2)thenifue=0then:text8,1,"[203]ein [193]usreisser vorhanden."
- 6010 ifws<tw(n-2)thensm=2:goto6100
- 6020 ifr=1then:z=dx(sa):gosub7300:textze,sp,z$:sw=sw-dx(sa):sq=sq-dx(sa)^2
- 6030 ifr=1then:sa=sa+1:goto6050
- 6040 z=dx(se):gosub7300:textze,sp,z$:sw=sw-dx(se):sq=sq-dx(se)^2:se=se-1
- 6050 n=n-1:ue=1
- 6060 ifsp+el>34thensp=1:ze=ze+2:goto6080
- 6070 sp=sp+el
- 6080 gosub6180:goto5960
- 6090 :
- 6100 ifsp=0thenze=ze-2
- 6110 sp=8:ze=ze+2:textze,1,"[215]erte:"
- 6120 forx=satose
- 6130 z=dx(x):gosub7300:textze,sp,z$
- 6140 ifsp+el>34thensp=1:ze=ze+2:goto6160
- 6150 sp=sp+el
- 6160 nextx:dz=ze/2:goto5880
- 6170 :
- 6180 nk=nk+1:mk=nk:ifnk>4thennk=4:er=0:mk=nk
- 6190 mx=sw/n:s=(1/(n-1)*(sq-1/n*sw^2))^0.5
- 6200 clearz2,4
- 6210 z=mx:gosub7300
- 6220 text2,1,"[205]esswerte: "n" [205]ittelwert: "z$
- 6230 z=s:gosub7300
- 6240 text4,3,"[211]tandardabweichung: "z$
- 6250 ifer=1thennk=nk-1:mk=nk
- 6260 return
- 6270 :
- 6280 rem * lineare regression *
- 6290 :
- 6300 n=30:dz=3:nk=4:sa=0:mx=0:sw=0:sq=0:sm=0:print"[147]"
- 6310 text0,11,"[204][201][206][197][193][210][197][160][210][197][199][210][197][211][211][201][207][206][146]"
- 6320 text2,1,"[193]llgemeine [199]eradengleichung: y=mx+b"
- 6330 text4,20,"x-[215]ert y-[215]ert"
- 6340 text6,3,"[215]ertepaar : 1"
- 6350 forx=1to30
- 6360 text6,12,x
- 6370 eingabe6,20,9,"-1234567890.^",ip$,"[133]",sv%
- 6375 ifsv%=1andx=1then70
- 6380 ifsv%=1thenn=x-1:goto6450
- 6385 ifleft$(ip$,1)="^"andx=1then6370
- 6390 ifleft$(ip$,1)="^"thenx=x-1:sw=sw-dy(x):mx=mx-dx(x):sq=sq-(dx(x)*dy(x))
- 6400 ifleft$(ip$,1)="^"thensa=sa-dx(x)^2:sm=sm-dy(x)^2:x=x-1:goto6440
- 6410 dx(x)=val(ip$)
- 6420 eingabe6,30,9,"-1234567890.",ip$:dy(x)=val(ip$)
- 6430 sm=sm+dy(x)^2:sq=sq+(dx(x)*dy(x)):sw=sw+dy(x):mx=mx+dx(x):sa=sa+dx(x)^2
- 6440 nextx
- 6450 ifn<2then6300
- 6460 clearz4,6
- 6470 z=((n*sq)-(mx*sw))/((n*sa)-mx^2):z$=str$(fnr(z)):z=fnr(z)
- 6480 f=(sw-z*mx)/n:w$=str$(fnr(f)):f=fnr(f)
- 6490 ifabs(z)<1thenz$=left$(z$,1)+"0"+right$(z$,len(z$)-1)
- 6500 ifabs(f)<1thenw$=left$(w$,1)+"0"+right$(w$,len(w$)-1)
- 6510 iff<0thenz$="y="+z$+"x"+w$:goto6540
- 6520 iff=0thenz$="y="+z$+"x":goto6540
- 6530 z$="y="+z$+"x+"+w$
- 6540 text4,1,"[199]eradengleichung: "z$
- 6550 r=(n*sq-mx*sw)/((n*sa-mx^2)*(n*sm-sw^2))^0.5
- 6560 text6,1,"[203]orrelationskoeffizient: "r
- 6570 gosub7970
- 6580 ifa=0then70
- 6590 goto6300
- 6600 :
- 6610 rem * eingaben mit e *
- 6620 :
- 6630 eingabeze,sp,l,"1234567890.e-",ip$,"[133]",sv%:cv=val(ip$):ifsv%=1then70
- 6640 forx=1tolen(ip$)
- 6650 ifmid$(ip$,x,1)="e"then6720
- 6660 nextx
- 6670 forx=1tolen(ip$)
- 6680 ifmid$(ip$,x,1)<>"."andmid$(ip$,x,1)<>"0"then6700
- 6690 nextx
- 6700 x=x-2:ifleft$(ip$,1)<>"0"thenx=x+1
- 6710 ml=cv*10^x:el=-x:return
- 6720 ml=val(left$(ip$,x-1)):el=val(right$(ip$,len(ip$)-x))
- 6730 ifml=0thenml=1
- 6740 return
- 6750 :
- 6760 ue=int(el)+1:el=el-ue:z=ml*10^el:cv=z
- 6770 ip$=str$(z):ip$=right$(ip$,len(ip$)-1):gosub6640
- 6780 z$=str$(fnr(ml))+"e"+str$(el+ue)
- 6790 return
- 6800 :
- 6810 rem * eingaben *
- 6820 :
- 6830 eingabeze,sp,l,"1234567890.",ip$,"[133]",sv%:ifsv%=1then70
- 6835 return
- 6840 eingabeze,sp,l,"1234567890.?",ip$,"[133]",sv%:ifsv%=1then70
- 6850 ifleft$(ip$,1)="?"ander=1then6840
- 6860 ifleft$(ip$,1)="?"thena=x:er=1
- 6870 return
- 6930 :
- 6940 rem * formelanalyse *
- 6950 :
- 6960 textze,sp,fo$
- 6970 eingabeze,sp,l,"1234567890[171][179][177][178][163][183][184][162][185][175]()[]*",fo$,"[133]",sv%
- 6980 ifsv%=1then70
- 6990 falfo$
- 7000 ad=40448:b=peek(ad):ad=ad+1
- 7010 ifb>9orb=255then7160
- 7020 e=0:nk=5
- 7030 forx=1tob
- 7040 ee$(x)=chr$(peek(ad))
- 7050 ee$(x)=ee$(x)+chr$(peek(ad+1))
- 7060 c(x)=peek(ad+2)
- 7070 ad=ad+3
- 7080 nextx
- 7090 forx=1tob
- 7100 searchee$(x),es$(1),es$(75),ez%(x):ifez%(x)=0then7160
- 7110 e=e+am(ez%(x))*c(x)
- 7120 ifke(ez%(x))<nkthennk=ke(ez%(x))
- 7130 nextx
- 7140 e=fnr(e):return
- 7150 :
- 7160 gosub7920:goto6970
- 7170 :
- 7180 rem * programmende *
- 7190 :
- 7200 print"[147]"
- 7210 text12,8,"[194]ist [196]u sicher (j/n) ?"
- 7220 text14,18,"n":eingabe14,18,1,"jn",ip$
- 7230 ifip$="n"then70
- 7240 sys64738
- 7250 :
- 7260 rem * print using *
- 7270 :
- 7280 mk=nk:vk=fnp(z):ifvk=3thennk=nk-1
- 7290 ifvk=4thennk=nk-2
- 7300 z$=str$(fnr(z)):z$=right$(z$,len(z$)-1):vk=fnp(z):kg=len(z$)-vk-1
- 7310 ifkg<1andnk>0thenz$=z$+"."+b$(nk):goto7360
- 7320 ifkg<0thenkg=0
- 7330 ifkg>nkthenkg=nk
- 7340 z$=z$+b$(nk-kg)
- 7350 ifvk=0andleft$(z$,1)="."thenz$="0"+z$:vk=vk+1
- 7360 ifpu=0thenz$=""+z$+"[146]":goto7390
- 7370 ifpu=1then7390
- 7380 z$=b$(9-vk)+z$
- 7390 nk=mk:return
- 7400 :
- 7410 rem * nk-bestimmung *
- 7420 :
- 7430 nb=len(ip$)-fnp(z)-1:el=len(ip$)+2:ifz<1thennb=nb-1
- 7440 ifnb>4thennb=4
- 7450 ifnb<0thennb=0
- 7460 return
- 7470 :
- 7480 rem * warte *
- 7490 :
- 7500 poke198,0:wait198,1:poke198,0
- 7510 return
- 7520 :
- 7530 rem * drucken *
- 7540 :
- 7550 open4,4
- 7560 poke768,185
- 7570 print#4:close4
- 7580 poke768,139
- 7590 ifst<>-128then7650
- 7600 rom:clearz12,13,14,15:wline12,2,36,1:wline15,2,36,1
- 7610 text13,8,"[194]itte [196]rucker einschalten":text14,10,"^ = zurueck ins [205]enue"
- 7620 getkp$:ifkp$=""then7620
- 7630 ifkp$="^"then:killm:return
- 7640 killm:goto7550
- 7650 kp$="":rom:clearz12,13,14,15:wline12,1,37,1:wline15,1,37,1
- 7660 text13,8,"[211]pace = [196]rucker bereit":text14,12,"^ = zurueck ins [205]enue"
- 7670 getkp$:ifkp$=""then7670
- 7680 ifkp$="^"then:killm:return
- 7690 killm:br=49232
- 7700 forx=1todz
- 7710 bscchrcbr,40,1,dd$
- 7800 zsdruck1,dd$
- 7810 br=br+80:nextx
- 7820 return
- 7830 :
- 7840 rem * zeilen loeschen *
- 7850 :
- 7860 la=2
- 7870 forx=lato23:clearzx:nextx
- 7880 return
- 7890 :
- 7900 rem * fehlerton *
- 7910 :
- 7920 beep1,8000,200,33
- 7930 return
- 7940 :
- 7950 rem * menue: wegweiser *
- 7960 :
- 7970 menu26,18,10,2,141,1,0,wm$(0),a
- 7980 ifa<3then:killm
- 7990 ifa=2thengosub7550:goto7970
- 8000 return
- 8010 :
- 8020 rem * einlesen der chemiedaten *
- 8030 rem * und funktionen *
- 8040 :
- 8050 dimes$(75),am(75),c(9),w(9),z(9),b$(12),ee$(9),ct(9),wt(9),zt(9)
- 8060 dimez%(9),ke(75),hm$(10),wm$(5),te$(2),lp$(3),gp$(2),ma$(2),vb$(8),ef$(4)
- 8070 dimve$(8),fv(8),gg$(6),l$(6),dx(30),dy(30),sm$(3),tw(28),ff$(9)
- 8080 dimmm$(3),er$(9)
- 8090 :
- 8100 fory=1to75
- 8110 reades$(y),am(y),ke(y)
- 8120 nexty
- 8130 fory=1to28:readtw(y):nexty
- 8140 :
- 8150 e=0:b=0:z=0:a=0:nk=1:ze=0:sp=0:l=0:pu=0:dz=0:er=0:x=0:y=0:mv=0:ps=0:sv%=0
- 8160 es=0:la=0:ee=0:g=0:f=0:ml=0:el=0:q1%=0:q2%=0:cv=0:tv=0:vv=0:zv=0:zg=0:w=0
- 8170 zh=0:vh=0:ch=0:th=0:fa=0:vg=0:sm=0:p0=0:v0=0:t0=0:p1=0:v1=0:t1=0:n=0:r=0
- 8180 sw=0:sq=0:sa=0:se=0:mx=0:gw=0:ws=0:s=0:mk=0:vk=0:ue=0:ad=0:kg=0:av=0:i=0
- 8190 br=0:nb=0:up=0
- 8200 :
- 8210 deffnr(x)=int(10^nk*x+0.5)/10^nk
- 8220 deffnp(x)=abs((x>=1)+(x>=10)+(x>=100)+(x>=1000))
- 8230 :
- 8240 forx=1to4:b$(x)=b$(x-1)+"0":nextx
- 8250 forx=6to9:b$(x)=b$(x-1)+" ":nextx
- 8260 :
- 8270 b$(10)="z=1 [214]=20.0 ml c=0.1 mol/l t=1"
- 8280 b$(11)="p=1.013 bar [214]=22.4 l [212]=273 [203]"
- 8290 b$(12)="[205]asse: 1 g [199]ew%: 100 %":fo$="[206]a[207][200]"
- 8295 dd$=" "
- 8300 :
- 8310 hm$(0)="[200]auptmenue"
- 8320 hm$(1)="[205]assen und [205]ole"
- 8330 hm$(2)="[199]ewichtsprozente"
- 8340 hm$(3)="[197]mpirische [198]ormel"
- 8350 hm$(4)="[204]oeslichkeitsprodukt"
- 8360 hm$(5)="[205]assanalyse"
- 8370 hm$(6)="[204]oesungen"
- 8380 hm$(7)="[193]usbeuteberechnungen"
- 8390 hm$(8)="[199]asgesetze"
- 8400 hm$(9)="[211]tatistik"
- 8410 hm$(10)="[204]ineare [210]egression"
- 8420 :
- 8430 wm$(0)="[213]nd [206]un ?"
- 8440 wm$(1)="[210]echnen"
- 8450 wm$(2)="[196]rucken"
- 8460 wm$(3)="[213]ebernahme"
- 8470 wm$(4)="[205]olmasse"
- 8480 wm$(5)="[197]lement"
- 8490 :
- 8500 ef$(0)="[213]nd [206]un ?"
- 8510 ef$(1)="[210]echnen"
- 8520 ef$(2)="[196]rucken"
- 8530 ef$(3)="[205]olmasse"
- 8540 ef$(4)="[197]lement"
- 8550 :
- 8560 te$(0)="[215]onach ?"
- 8570 te$(1)="[212]heorie"
- 8580 te$(2)="[197]ingabe"
- 8590 :
- 8600 lp$(0)="[213]mrechnungen"
- 8610 lp$(1)="[204]oeslichkeit in [204]oeslichkeitsprodukt"
- 8620 lp$(2)="[204]oeslichkeitsprodukt in [204]oeslichkeit"
- 8630 lp$(3)="[199]leichioniger [218]usatz"
- 8640 :
- 8650 gp$(0)="[215]oraus ?"
- 8660 gp$(1)="[211]ummenformel"
- 8670 gp$(2)="[214]erbrennungsdaten"
- 8680 :
- 8690 ma$(0)="[205]assanalyse"
- 8700 ma$(1)="[212]itrationen"
- 8710 ma$(2)="[210]uecktitrationen"
- 8720 :
- 8730 l$(0)="[204]oesungen"
- 8740 l$(1)="[200]erstellen"
- 8750 l$(2)="[197]inengen & [214]erduennen"
- 8760 l$(3)="[205]ischen"
- 8770 l$(4)="[196]ichte"
- 8780 l$(5)="p[200]-[215]ert-[194]erechnung"
- 8790 l$(6)="[201]nterpolieren"
- 8800 :
- 8810 sm$(0)="[213]nd [206]un ?"
- 8820 sm$(1)="[210]echnen"
- 8830 sm$(2)="[196]rucken"
- 8840 sm$(3)="[193]usreisser"
- 8850 :
- 8860 mm$(0)="[205]assen & [205]ole"
- 8870 mm$(1)="[205]olmasse"
- 8880 mm$(2)="[205]ol & [205]asse"
- 8890 mm$(3)="[199]ravimetrie"
- 8900 :
- 8910 vb$(1)="[195][146][207][179]":fv(1)=0.272915:ve$(1)="[195] "
- 8920 vb$(2)="[200][146][179][207]":fv(2)=0.111894:ve$(2)="[200] "
- 8930 vb$(3)="[206][146][179]":fv(3)=1:ve$(3)="[206] "
- 8940 vb$(4)="[207][146][179]":fv(4)=1:ve$(4)="[207] "
- 8950 vb$(5)="[211][146][207][179]":fv(5)=0.500468:ve$(5)="[211] "
- 8960 vb$(6)="[193]g[195]l[146]":fv(6)=0.247368:ve$(6)="[195]l"
- 8970 vb$(7)="[193]g[194]r[146]":fv(7)=0.425537:ve$(7)="[194]r"
- 8980 vb$(8)="[193]g[201][146]":fv(8)=0.540542:ve$(8)="[201] "
- 8990 :
- 9000 return
- 9010 :
- 9020 rem * symbole,atommassen,kennung *
- 9030 :
- 9040 data "[193]c",227.0278,4
- 9050 data "[193]l",26.98154,5
- 9060 data "[211]b",121.75,2
- 9070 data "[193]r",39.948,3
- 9080 data "[193]s",74.9216,4
- 9090 data "[193]t",210,0
- 9100 data "[194]a",137.33,2
- 9110 data "[194]e",9.01218,5
- 9120 data "[194]i",208.9804,4
- 9130 data "[208]b",207.2,1
- 9140 data "[194] ",10.811,3
- 9150 data "[194]r",79.904,3
- 9160 data "[195]d",112.41,2
- 9170 data "[195]s",132.9054,4
- 9180 data "[195]a",40.078,3
- 9190 data "[195]l",35.453,3
- 9200 data "[195]r",51.996,3
- 9210 data "[195]o",58.9332,4
- 9220 data "[198]e",55.847,3
- 9230 data "[198] ",18.998403,6
- 9240 data "[198]r",223,0
- 9250 data "[199]a",69.723,3
- 9260 data "[199]e",72.59,2
- 9270 data "[193]u",196.9665,4
- 9280 data "[200]f",178.49,2
- 9290 data "[200]e",4.00260,5
- 9300 data "[201]n",114.82,2
- 9310 data "[201] ",126.9045,4
- 9320 data "[201]r",192.22,2
- 9330 data "[203] ",39.0983,4
- 9340 data "[195] ",12.011,3
- 9350 data "[203]r",83.80,2
- 9360 data "[195]u",63.546,3
- 9370 data "[204]a",138.9055,4
- 9380 data "[204]i",6.941,3
- 9390 data "[205]g",24.305,3
- 9400 data "[205]n",54.9380,4
- 9410 data "[205]o",95.94,2
- 9420 data "[206]a",22.98977,5
- 9430 data "[206]e",20.179,3
- 9440 data "[206]i",58.69,2
- 9450 data "[206]b",92.9064,4
- 9460 data "[207]s",190.2,1
- 9470 data "[208]d",106.42,2
- 9480 data "[208] ",30.97376,5
- 9490 data "[208]t",195.08,2
- 9500 data "[208]o",209,0
- 9510 data "[200]g",200.59,2
- 9520 data "[210]a",226.0254,4
- 9530 data "[210]n",222,0
- 9540 data "[210]e",186.207,3
- 9550 data "[210]h",102.9055,4
- 9560 data "[210]b",85.4678,4
- 9570 data "[210]u",101.07,2
- 9580 data "[207] ",15.9994,4
- 9590 data "[211]c",44.9559,4
- 9600 data "[211] ",32.06,2
- 9610 data "[211]e",78.96,2
- 9620 data "[193]g",107.8682,4
- 9630 data "[211]i",28.0855,4
- 9640 data "[206] ",14.0067,4
- 9650 data "[211]r",87.62,2
- 9660 data "[212]a",180.9479,4
- 9670 data "[212]c",98,0
- 9680 data "[212]e",127.60,2
- 9690 data "[212]l",204.383,3
- 9700 data "[212]i",47.88,2
- 9710 data "[214] ",50.9415,4
- 9720 data "[200] ",1.0079,4
- 9730 data "[215] ",183.85,2
- 9740 data "[216]e",131.29,2
- 9750 data "[217] ",88.9059,4
- 9760 data "[218]n",65.38,2
- 9770 data "[211]n",118.69,2
- 9780 data "[218]r",91.224,3
- 9790 data 1.409,1.645,1.757,1.814,1.848,1.870,1.885,1.895,1.903,1.910,1.916
- 9800 data 1.920,1.923,1.926,1.928,1.931,1.933,1.935,1.936,1.937,1.938,1.939
- 9810 data 1.940,1.941,1.942,1.942,1.943,1.943
-