PRINT "При расчете по коэффициентам рассеяния"
PRINT "МДС обмотки составила "; F9; "А"
П2.3. Подпрограмма “kriv(YY)”
'**********************************************
'ГРАФИК КРИВОЙ НАМАГНИЧИВАНИЯ
SUB kriv (YY)
'BM - Магнитная индукция
'HM - Напряженность магнитного поля
'Набор данных для кривой намагничивания
BM(1) = .1: HM(1) = 50: BM(2) = .2: HM(2) = 75
BM(3) = .3: HM(3) = 100: BM(4) = .7: HM(4) = 150
BM(5) = 1.0: HM(5) = 200: BM(6) = 1.3: HM(6) = 400
BM(7) = 1.4: HM(7) = 600: BM(8) = 1.45: HM(8) = 750
BM(9) = 1.5: HM(9) = 1000: BM(10) = 1.525: HM(10) = 1200
BM(11) = 1.55: HM(11) = 1400: BM(12) = 1.575: HM(12) = 1600
BM(13) = 1.6: HM(13) = 2000: BM(14) = 1.7: HM(14) = 6000
BM(15) = 1.95: HM(15) = 20000
SCREEN 11, 0
VIEW (40, 40)-(639, 420)
WINDOW (0, 0)-(20000, 2!)
'Оси, границы и сетка графика
LINE (0, 2)-(20000, 2), 1
LOCATE 4, 3: PRINT "Тл": LOCATE 4, 8: PRINT "B"
LINE (0, 1.5)-(20000, 1.5), 1, , &HFF00
LOCATE 9, 2: PRINT "1.5"
LINE (0, 1)-(20000, 1), 1, , &HFF00
LOCATE 15, 2: PRINT "1.0"
LINE (0, .5)-(20000, .5), 1, , &HFF00
LOCATE 21, 2: PRINT "0.5"
LINE (0, 0)-(20000, 0), 1
LINE (0, 0)-(0, 2!), 1
LINE (4000, 0)-(4000, 2), 1, , &HFF00
LINE (8000, 0)-(8000, 2), 1, , &HFF00
LINE (12000, 0)-(12000, 2), 1, , &HFF00
LINE (16000, 0)-(16000, 2), 1, , &HFF00
LINE (20000, 0)-(20000, 2!), 1
LOCATE 25, 78: PRINT "H"
LOCATE 28, 3: PRINT "0"
LOCATE 28, 19: PRINT "4000"