VERSION 5.00 Begin VB.Form Form1 AutoRedraw = -1 'True BackColor = &H00C0FFFF& Caption = "Form1" ClientHeight = 6780 ClientLeft = 60 ClientTop = 90 ClientWidth = 9225 FillColor = &H00C0FFFF& FillStyle = 0 'Solid LinkTopic = "Form1" ScaleHeight = 6780 ScaleWidth = 9225 Begin VB.TextBox Text21 Height = 285 Left = 6960 TabIndex = 64 Text = "0.05" Top = 2880 Width = 495 End Begin VB.TextBox Text20 Height = 285 Left = 5040 TabIndex = 62 Text = "0.05" Top = 2880 Width = 495 End Begin VB.TextBox Text19 Height = 285 Left = 3120 TabIndex = 60 Text = "0.05" Top = 2880 Width = 495 End Begin VB.TextBox Text18 Height = 285 Left = 5520 TabIndex = 56 Text = "50" Top = 3960 Width = 495 End Begin VB.TextBox Text17 Height = 285 Left = 1080 TabIndex = 55 Text = "5000" Top = 3960 Width = 495 End Begin VB.TextBox Text16 Height = 285 Left = 3600 TabIndex = 54 Text = "500" Top = 6120 Width = 495 End Begin VB.TextBox Text15 Height = 288 Left = 3360 TabIndex = 49 Text = "0.05" Top = 1440 Width = 615 End Begin VB.Frame Frame5 Caption = "Pool E" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 972 Left = 2040 TabIndex = 44 Top = 240 Width = 972 Begin VB.TextBox Text14 Height = 288 Left = 360 TabIndex = 48 Text = "4" Top = 600 Width = 492 End Begin VB.TextBox Text13 Height = 288 Left = 360 TabIndex = 45 Text = "1000" Top = 240 Width = 492 End Begin VB.Label Label29 Caption = "E2" Height = 252 Left = 120 TabIndex = 47 Top = 600 Width = 252 End Begin VB.Label Label28 Caption = "E1" Height = 252 Left = 120 TabIndex = 46 Top = 240 Width = 252 End End Begin VB.TextBox Text12 Height = 288 Left = 1440 TabIndex = 41 Text = "0.05" Top = 2400 Width = 492 End Begin VB.CommandButton Command2 Caption = "End" Height = 372 Left = 4320 TabIndex = 34 Top = 5160 Width = 612 End Begin VB.PictureBox Picture2 BackColor = &H80000009& BorderStyle = 0 'None Height = 2010 Left = 6120 Picture = "Modeldm.frx":0000 ScaleHeight = 2010 ScaleWidth = 2010 TabIndex = 28 Top = 4080 Width = 2010 End Begin VB.TextBox Text10 Height = 288 Left = 7200 TabIndex = 26 Text = "0.05" Top = 2400 Width = 492 End Begin VB.TextBox Text9 Height = 288 Left = 5280 TabIndex = 24 Text = "0.05" Top = 2400 Width = 492 End Begin VB.TextBox Text8 Height = 288 Left = 3360 TabIndex = 22 Text = "0.05" Top = 2400 Width = 492 End Begin VB.Frame Frame4 Caption = "Pool D" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 972 Left = 7800 TabIndex = 19 Top = 2160 Width = 972 Begin VB.TextBox Text7 Height = 288 Left = 360 TabIndex = 21 Text = "20" Top = 600 Width = 492 End Begin VB.TextBox Text6 Height = 288 Left = 360 TabIndex = 20 Text = "0" Top = 240 Width = 492 End Begin VB.Label Label25 Caption = "D2" Height = 252 Left = 120 TabIndex = 40 Top = 600 Width = 252 End Begin VB.Label Label24 Caption = "D1" Height = 252 Left = 120 TabIndex = 39 Top = 240 Width = 252 End End Begin VB.Frame Frame3 Caption = "Pool C" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 972 Left = 5880 TabIndex = 14 Top = 2160 Width = 972 Begin VB.TextBox Text5 Height = 288 Left = 360 TabIndex = 18 Text = "12" Top = 600 Width = 492 End Begin VB.TextBox Text4 Height = 288 Left = 360 TabIndex = 17 Text = "0" Top = 240 Width = 492 End Begin VB.Label Label19 Caption = "C2" Height = 252 Left = 120 TabIndex = 16 Top = 600 Width = 252 End Begin VB.Label Label18 Caption = "C1" Height = 252 Left = 120 TabIndex = 15 Top = 240 Width = 252 End End Begin VB.Frame Frame2 Caption = "Pool B" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 972 Left = 3960 TabIndex = 9 Top = 2160 Width = 972 Begin VB.TextBox Text3 Height = 288 Left = 360 TabIndex = 11 Text = "9" Top = 600 Width = 492 End Begin VB.TextBox Text2 Height = 288 Left = 360 TabIndex = 10 Text = "0" Top = 240 Width = 492 End Begin VB.Label Label17 Caption = "B2" Height = 252 Left = 120 TabIndex = 13 Top = 600 Width = 252 End Begin VB.Label Label16 Caption = "B1" Height = 252 Left = 120 TabIndex = 12 Top = 240 Width = 252 End End Begin VB.Frame Frame1 Caption = "Pool A" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 972 Left = 2040 TabIndex = 6 Top = 2160 Width = 972 Begin VB.TextBox Text11 Height = 288 Left = 360 TabIndex = 37 Text = "6" Top = 600 Width = 492 End Begin VB.TextBox Text1 Height = 288 Left = 360 TabIndex = 7 Text = "0" Top = 240 Width = 492 End Begin VB.Label Label14 Caption = "A2" Height = 252 Left = 120 TabIndex = 38 Top = 600 Width = 252 End Begin VB.Label Label15 Caption = "A1" Height = 252 Left = 120 TabIndex = 8 Top = 240 Width = 252 End End Begin VB.PictureBox Picture1 BackColor = &H80000009& BorderStyle = 0 'None Height = 2010 Left = 1680 Picture = "Modeldm.frx":D3BA ScaleHeight = 2010 ScaleWidth = 2010 TabIndex = 5 Top = 4080 Width = 2010 End Begin VB.CommandButton Command1 Caption = "Start" Height = 372 Left = 4320 TabIndex = 0 Top = 4320 Width = 612 End Begin VB.Label Label38 BackStyle = 0 'Transparent Caption = "-1" BeginProperty Font Name = "Small Fonts" Size = 6 Charset = 0 Weight = 400 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 135 Left = 5900 TabIndex = 67 Top = 4880 Width = 135 End Begin VB.Label Label37 BackStyle = 0 'Transparent Caption = "-1" BeginProperty Font Name = "Small Fonts" Size = 6 Charset = 0 Weight = 400 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 135 Left = 1440 TabIndex = 66 Top = 4880 Width = 135 End Begin VB.Label Label36 BackStyle = 0 'Transparent Caption = "C4" Height = 255 Left = 7440 TabIndex = 65 Top = 3120 Width = 255 End Begin VB.Line Line38 X1 = 6960 X2 = 7080 Y1 = 2640 Y2 = 2640 End Begin VB.Line Line37 X1 = 7080 X2 = 7080 Y1 = 2640 Y2 = 3120 End Begin VB.Line Line36 X1 = 7080 X2 = 6840 Y1 = 3120 Y2 = 3360 End Begin VB.Line Line35 X1 = 6720 X2 = 6840 Y1 = 3360 Y2 = 3360 End Begin VB.Label Label35 BackStyle = 0 'Transparent Caption = "B4" Height = 255 Left = 5520 TabIndex = 63 Top = 3120 Width = 255 End Begin VB.Line Line34 X1 = 4800 X2 = 4920 Y1 = 3360 Y2 = 3360 End Begin VB.Line Line33 X1 = 4920 X2 = 5160 Y1 = 3360 Y2 = 3120 End Begin VB.Line Line32 X1 = 5160 X2 = 5160 Y1 = 3120 Y2 = 2640 End Begin VB.Line Line31 X1 = 5040 X2 = 5160 Y1 = 2640 Y2 = 2640 End Begin VB.Label Label34 BackStyle = 0 'Transparent Caption = "A4" Height = 255 Left = 3600 TabIndex = 61 Top = 3120 Width = 255 End Begin VB.Line Line30 X1 = 2880 X2 = 3000 Y1 = 3360 Y2 = 3360 End Begin VB.Line Line29 X1 = 3120 X2 = 3240 Y1 = 2640 Y2 = 2640 End Begin VB.Line Line28 X1 = 3240 X2 = 3240 Y1 = 2640 Y2 = 3000 End Begin VB.Line Line27 X1 = 3240 X2 = 3000 Y1 = 3120 Y2 = 3360 End Begin VB.Line Line26 X1 = 2760 X2 = 2880 Y1 = 3000 Y2 = 3000 End Begin VB.Label Label11 BackStyle = 0 'Transparent Caption = "A4 - B3" Height = 255 Left = 3120 TabIndex = 59 Top = 3480 Width = 855 End Begin VB.Label Label5 BackStyle = 0 'Transparent Caption = "B4 - C3" Height = 255 Left = 5040 TabIndex = 58 Top = 3480 Width = 615 End Begin VB.Label Label4 BackStyle = 0 'Transparent Caption = "C4 - D3" Height = 255 Left = 6960 TabIndex = 57 Top = 3480 Width = 615 End Begin VB.Line Line25 BorderWidth = 2 X1 = 7200 X2 = 7200 Y1 = 3360 Y2 = 3480 End Begin VB.Line Line24 BorderWidth = 2 X1 = 7080 X2 = 7200 Y1 = 3480 Y2 = 3480 End Begin VB.Line Line23 BorderWidth = 2 X1 = 7200 X2 = 6840 Y1 = 3480 Y2 = 3120 End Begin VB.Line Line22 BorderWidth = 2 X1 = 5280 X2 = 5280 Y1 = 3360 Y2 = 3480 End Begin VB.Line Line21 BorderWidth = 2 X1 = 5160 X2 = 5280 Y1 = 3480 Y2 = 3480 End Begin VB.Line Line20 BorderWidth = 2 X1 = 5280 X2 = 4920 Y1 = 3480 Y2 = 3120 End Begin VB.Line Line19 BorderWidth = 2 X1 = 3240 X2 = 3360 Y1 = 3480 Y2 = 3480 End Begin VB.Line Line18 BorderWidth = 2 X1 = 3360 X2 = 3360 Y1 = 3360 Y2 = 3480 End Begin VB.Line Line17 BorderWidth = 2 X1 = 3000 X2 = 3360 Y1 = 3120 Y2 = 3480 End Begin VB.Label Label33 BackStyle = 0 'Transparent Caption = "In" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 255 Left = 600 TabIndex = 53 Top = 1920 Width = 255 End Begin VB.Label Label32 BackStyle = 0 'Transparent Caption = "Out" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 255 Left = 600 TabIndex = 52 Top = 1440 Width = 375 End Begin VB.Label Label31 BackStyle = 0 'Transparent Caption = "A5 = E2.k" Height = 255 Left = 1560 TabIndex = 51 Top = 1440 Width = 735 End Begin VB.Label Label30 BackStyle = 0 'Transparent Caption = "where k =" Height = 255 Left = 2640 TabIndex = 50 Top = 1440 Width = 735 End Begin VB.Line Line16 BorderWidth = 2 X1 = 2400 X2 = 2520 Y1 = 2040 Y2 = 2160 End Begin VB.Line Line15 BorderWidth = 2 X1 = 2640 X2 = 2520 Y1 = 2040 Y2 = 2160 End Begin VB.Line Line14 BorderWidth = 2 X1 = 2520 X2 = 2520 Y1 = 1080 Y2 = 2160 End Begin VB.Line Line13 X1 = 600 X2 = 8760 Y1 = 1800 Y2 = 1800 End Begin VB.Label Label27 Alignment = 2 'Center BackStyle = 0 'Transparent Caption = " F1 = 0" Height = 255 Left = 360 TabIndex = 43 Top = 2640 Width = 855 End Begin VB.Label Label26 BackStyle = 0 'Transparent Caption = "A3" Height = 255 Left = 1560 TabIndex = 42 Top = 2160 Width = 255 End Begin VB.Line Line12 BorderWidth = 2 X1 = 1920 X2 = 2040 Y1 = 2880 Y2 = 2760 End Begin VB.Line Line11 BorderWidth = 2 X1 = 1920 X2 = 2040 Y1 = 2640 Y2 = 2760 End Begin VB.Line Line10 BorderWidth = 2 X1 = 1200 X2 = 2040 Y1 = 2760 Y2 = 2760 End Begin VB.Label Label23 Alignment = 2 'Center BackStyle = 0 'Transparent Caption = "Pool Sizes" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 255 Left = 6480 TabIndex = 36 Top = 3840 Width = 1335 End Begin VB.Label Label13 Alignment = 2 'Center BackStyle = 0 'Transparent Caption = "Radioactivity" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 255 Left = 1680 TabIndex = 35 Top = 3840 Width = 2055 End Begin VB.Label Label12 Alignment = 2 'Center BackStyle = 0 'Transparent Caption = "nmol.gfw" Height = 255 Left = 5280 TabIndex = 33 Top = 4920 Width = 615 WordWrap = -1 'True End Begin VB.Label Label10 BackStyle = 0 'Transparent Caption = "0" Height = 255 Left = 6000 TabIndex = 32 Top = 6000 Width = 135 End Begin VB.Label Label9 BackStyle = 0 'Transparent Caption = "Time (min)" Height = 255 Left = 6720 TabIndex = 31 Top = 6240 Width = 855 End Begin VB.Label Label8 BackStyle = 0 'Transparent Caption = "500" Height = 255 Left = 8040 TabIndex = 30 Top = 6120 Width = 375 End Begin VB.Label Label1 BackStyle = 0 'Transparent Caption = "0" Height = 255 Left = 6120 TabIndex = 29 Top = 6120 Width = 135 End Begin VB.Label Label22 BackStyle = 0 'Transparent Caption = "D3" Height = 255 Left = 7320 TabIndex = 27 Top = 2160 Width = 255 End Begin VB.Label Label21 BackStyle = 0 'Transparent Caption = "C3" Height = 255 Left = 5400 TabIndex = 25 Top = 2160 Width = 255 End Begin VB.Label Label20 BackStyle = 0 'Transparent Caption = "B3" Height = 255 Left = 3480 TabIndex = 23 Top = 2160 Width = 255 End Begin VB.Line Line9 BorderWidth = 2 X1 = 7680 X2 = 7800 Y1 = 2880 Y2 = 2760 End Begin VB.Line Line7 BorderWidth = 2 X1 = 7680 X2 = 7800 Y1 = 2640 Y2 = 2760 End Begin VB.Line Line8 BorderWidth = 2 X1 = 6840 X2 = 7800 Y1 = 2760 Y2 = 2760 End Begin VB.Line Line6 BorderWidth = 2 X1 = 5760 X2 = 5880 Y1 = 2640 Y2 = 2760 End Begin VB.Line Line5 BorderWidth = 2 X1 = 5760 X2 = 5880 Y1 = 2880 Y2 = 2760 End Begin VB.Line Line4 BorderWidth = 2 X1 = 4920 X2 = 5880 Y1 = 2760 Y2 = 2760 End Begin VB.Line Line3 BorderWidth = 2 X1 = 3840 X2 = 3960 Y1 = 2880 Y2 = 2760 End Begin VB.Line Line2 BorderWidth = 2 X1 = 3840 X2 = 3960 Y1 = 2640 Y2 = 2760 End Begin VB.Line Line1 BorderWidth = 2 X1 = 3960 X2 = 3000 Y1 = 2760 Y2 = 2760 End Begin VB.Label Label7 Alignment = 2 'Center BackColor = &H80000009& BackStyle = 0 'Transparent Caption = "nCi.gfw" Height = 255 Left = 720 TabIndex = 4 Top = 4920 Width = 855 End Begin VB.Label Label6 Alignment = 2 'Center BackColor = &H80000009& BackStyle = 0 'Transparent Caption = "Time (min)" Height = 255 Left = 2160 TabIndex = 3 Top = 6240 Width = 975 End Begin VB.Label Label3 Alignment = 1 'Right Justify BackColor = &H80000009& BackStyle = 0 'Transparent Caption = "0" Height = 255 Left = 1440 TabIndex = 2 Top = 6000 Width = 135 End Begin VB.Label Label2 BackColor = &H80000009& BackStyle = 0 'Transparent Caption = "0" Height = 255 Left = 1680 TabIndex = 1 Top = 6120 Width = 135 End End Attribute VB_Name = "Form1" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Private Sub Command1_Click() Picture1.Refresh Picture2.Refresh Mx = Text16.Text Label8.Caption = Mx My1 = Text17.Text My2 = Text18.Text k = Text15.Text E1 = Text13.Text E2 = Text14.Text A1 = Text1.Text A2 = Text11.Text A3 = Text12.Text A4 = Text19.Text B1 = Text2.Text B2 = Text3.Text C1 = Text4.Text C2 = Text5.Text D1 = Text6.Text D2 = Text7.Text B3 = Text8.Text C3 = Text9.Text D3 = Text10.Text B4 = Text20.Text C4 = Text21.Text F1 = 0 z = Mx / 2000 For t = 0 To Mx Step z A5 = E2 * k E2 = E2 - z * A5 A1 = (A1 * A2 + E1 * z * A5) / (A2 + z * A5) A2 = A2 + z * A5 A1 = (A1 * A2 + F1 * z * A3) / (A2 + z * A3) A2 = A2 + z * A3 A1 = (A1 * A2 - A1 * z * A4) / (A2 - z * A4) A2 = A2 - z * A4 B1 = (B1 * B2 + A1 * z * B3) / (B2 + z * B3) B2 = B2 + z * B3 B1 = (B1 * B2 - B1 * z * B4) / (B2 - z * B4) B2 = B2 - z * B4 C1 = (C1 * C2 + B1 * z * C3) / (C2 + z * C3) C2 = C2 + z * C3 C1 = (C1 * C2 - C1 * z * C4) / (C2 - z * C4) C2 = C2 - z * C4 D1 = (D1 * D2 + C1 * z * D3) / (D2 + z * D3) D2 = D2 + z * D3 X = t Y = E1 * E2 X = (X * 2000 / Mx) Y = 2000 - (Y * 2000 / My1) Picture1.PSet (X, Y), QBColor(0) Y = A1 * A2 Y = 2000 - (Y * 2000 / My1) Picture1.PSet (X, Y), QBColor(9) Y = B1 * B2 Y = 2000 - (Y * 2000 / My1) Picture1.PSet (X, Y), QBColor(10) Y = C1 * C2 Y = 2000 - (Y * 2000 / My1) Picture1.PSet (X, Y), QBColor(12) Y = D1 * D2 Y = 2000 - (Y * 2000 / My1) Picture1.PSet (X, Y), QBColor(13) Y = E2 Y = 2000 - (Y * 2000 / My2) Picture2.PSet (X, Y), QBColor(0) Y = A2 Y = 2000 - (Y * 2000 / My2) Picture2.PSet (X, Y), QBColor(9) Y = B2 Y = 2000 - (Y * 2000 / My2) Picture2.PSet (X, Y), QBColor(10) Y = C2 Y = 2000 - (Y * 2000 / My2) Picture2.PSet (X, Y), QBColor(12) Y = D2 Y = 2000 - (Y * 2000 / My2) Picture2.PSet (X, Y), QBColor(13) Next t End Sub Private Sub Command2_Click() Unload Form1 End Sub