ВУЗ:
Составители:
26
7360 F3 = 0: F4 = 0: H3 = 0: H4 = 0: K5 = 0: PRINT #1, "ФАКТОР F(1)=F3+F4"
7361 PRINT "ФАКТОР F(1)=F3+F4"
7365 FOR J = 1 TO X: F(J) = 0: H(J) = 0: Z(J) = 0: NEXT J: X = 0
7370 PRINT #1, "F4-ШАГ ПРИРАЩЕНИЯ 1-ГО ФАКТОРА"
7371 PRINT "F4-ШАГ ПРИРАЩЕНИЯ 1-ГО ФАКТОРА"
7380 PRINT #1, "ФАКТОР H(1)=H3+H4"
7381 PRINT "ФАКТОР H(1)=H3+H4"
7390 PRINT #1, "H4-ШАГ ПРИРАЩЕНИЯ 2-ГО ФАКТОРА"
7391 PRINT "H4-ШАГ ПРИРАЩЕНИЯ 2-ГО ФАКТОРА"
7392 PRINT #1, "X-КОЛИЧЕСТВО ЗНАЧЕНИЙ 1, 2-ГО ФАКТОРОВ"
7393 PRINT "X-КОЛИЧЕСТВО ЗНАЧЕНИЙ 1, 2-ГО ФАКТОРОВ"
7400 PRINT "ВВОД ПРИНЯТЫХ ВЕЛИЧИН X,F3,F4,H3,H4"
7410 INPUT X, F3, F4, H3, H4: PRINT #1, "X="; X; "F3="; F3; "F4="; F4
7420 PRINT #1, "H3="; H3; "H4="; H4
7430 FOR K5 = 1 TO X: F(K5) = F3 + K5 * F4
7435 PRINT #1, "F("; K5; ")= "; F(K5)
7440 H(K5) = H3 + K5 * H4: PRINT #1, "H("; K5; ")= "; H(K5)
7480 IF I0 = 79 GOTO 7540
7540 GOSUB 4210: GOSUB 4250: GOSUB 4580: GOTO 7570
7550 GOSUB 4210: GOTO 7570
7570 PRINT #1, "Z("; K5; ")="; Z(K5)
7575 NEXT K5: GOTO 8001
8001 PRINT #1, "ВЫЯВЛЕНИЕ MAX Z(K5) И MIN Z(K5)": K8 = 0: K8 = Z(1)
8002 PRINT "ВВОД I0=90-ПРОДОЛЖЕНИЕ"
8004 INPUT I0
8010 FOR K5 = 1 TO X
8020 IF Z(K5) >= K8 THEN K8 = Z(K5)
8040 NEXT K5: PRINT #1, "MAX Z(K5)="; K8
8041 FOR K5 = 1 TO X
8042 IF Z(K5) = K8 THEN PRINT #1, "MAX Z("; K5; ")="; Z(K5)
8044 NEXT K5
8050 K7 = 0: K7 = Z(1)
8060 FOR K5 = 1 TO X
8070 IF Z(K5) <= K7 THEN K7 = Z(K5)
8090 NEXT K5: PRINT #1, "MIN Z(K5)="; K7
8091 FOR K5 = 1 TO X
8092 IF Z(K5) = K7 THEN PRINT #1, "MIN Z("; K5; ")="; Z(K5)
8094 NEXT K5: K6 = 0: PRINT #1, "MIN Z(K5)=К7, MAX Z(K5)=K8"
8095 PRINT #1, "K6(K5)=(Z(K5)+ABS(K7))/(ABS(K7)+ABS(K8))"
8096 FOR K5 = 1 TO X: K6(K5) = (Z(K5) + ABS(K7)) / (ABS(K7) + ABS(K8))
8097 PRINT #1, "K6("; K5; ")="; K6(K5): NEXT K5
8098 J5 = 0: J5 = ABS(K7) / (ABS(K7) + ABS(K8))
8099 PRINT #1, "J5=ABS(K7)/(ABS(K7)+ABS(K8))"
8111 PRINT #1, "J5="; J5
8112 PRINT "IF I0=70 GOTO 7000-ПОВТОРЕНИЕ ";
8113 PRINT " ВЫЧИСЛЕНИЙ ПОКАЗАТЕЛЕЙ Z(K5) ";
8114 PRINT " И ПОСТРОЕНИЕ ГРАФИКОВ"
8115 PRINT "IF I0=80 GOTO 9000-ПОСТРОЕНИЕ ГРАФИКА"
7360 F3 = 0: F4 = 0: H3 = 0: H4 = 0: K5 = 0: PRINT #1, "ФАКТОР F(1)=F3+F4" 7361 PRINT "ФАКТОР F(1)=F3+F4" 7365 FOR J = 1 TO X: F(J) = 0: H(J) = 0: Z(J) = 0: NEXT J: X = 0 7370 PRINT #1, "F4-ШАГ ПРИРАЩЕНИЯ 1-ГО ФАКТОРА" 7371 PRINT "F4-ШАГ ПРИРАЩЕНИЯ 1-ГО ФАКТОРА" 7380 PRINT #1, "ФАКТОР H(1)=H3+H4" 7381 PRINT "ФАКТОР H(1)=H3+H4" 7390 PRINT #1, "H4-ШАГ ПРИРАЩЕНИЯ 2-ГО ФАКТОРА" 7391 PRINT "H4-ШАГ ПРИРАЩЕНИЯ 2-ГО ФАКТОРА" 7392 PRINT #1, "X-КОЛИЧЕСТВО ЗНАЧЕНИЙ 1, 2-ГО ФАКТОРОВ" 7393 PRINT "X-КОЛИЧЕСТВО ЗНАЧЕНИЙ 1, 2-ГО ФАКТОРОВ" 7400 PRINT "ВВОД ПРИНЯТЫХ ВЕЛИЧИН X,F3,F4,H3,H4" 7410 INPUT X, F3, F4, H3, H4: PRINT #1, "X="; X; "F3="; F3; "F4="; F4 7420 PRINT #1, "H3="; H3; "H4="; H4 7430 FOR K5 = 1 TO X: F(K5) = F3 + K5 * F4 7435 PRINT #1, "F("; K5; ")= "; F(K5) 7440 H(K5) = H3 + K5 * H4: PRINT #1, "H("; K5; ")= "; H(K5) 7480 IF I0 = 79 GOTO 7540 7540 GOSUB 4210: GOSUB 4250: GOSUB 4580: GOTO 7570 7550 GOSUB 4210: GOTO 7570 7570 PRINT #1, "Z("; K5; ")="; Z(K5) 7575 NEXT K5: GOTO 8001 8001 PRINT #1, "ВЫЯВЛЕНИЕ MAX Z(K5) И MIN Z(K5)": K8 = 0: K8 = Z(1) 8002 PRINT "ВВОД I0=90-ПРОДОЛЖЕНИЕ" 8004 INPUT I0 8010 FOR K5 = 1 TO X 8020 IF Z(K5) >= K8 THEN K8 = Z(K5) 8040 NEXT K5: PRINT #1, "MAX Z(K5)="; K8 8041 FOR K5 = 1 TO X 8042 IF Z(K5) = K8 THEN PRINT #1, "MAX Z("; K5; ")="; Z(K5) 8044 NEXT K5 8050 K7 = 0: K7 = Z(1) 8060 FOR K5 = 1 TO X 8070 IF Z(K5) <= K7 THEN K7 = Z(K5) 8090 NEXT K5: PRINT #1, "MIN Z(K5)="; K7 8091 FOR K5 = 1 TO X 8092 IF Z(K5) = K7 THEN PRINT #1, "MIN Z("; K5; ")="; Z(K5) 8094 NEXT K5: K6 = 0: PRINT #1, "MIN Z(K5)=К7, MAX Z(K5)=K8" 8095 PRINT #1, "K6(K5)=(Z(K5)+ABS(K7))/(ABS(K7)+ABS(K8))" 8096 FOR K5 = 1 TO X: K6(K5) = (Z(K5) + ABS(K7)) / (ABS(K7) + ABS(K8)) 8097 PRINT #1, "K6("; K5; ")="; K6(K5): NEXT K5 8098 J5 = 0: J5 = ABS(K7) / (ABS(K7) + ABS(K8)) 8099 PRINT #1, "J5=ABS(K7)/(ABS(K7)+ABS(K8))" 8111 PRINT #1, "J5="; J5 8112 PRINT "IF I0=70 GOTO 7000-ПОВТОРЕНИЕ "; 8113 PRINT " ВЫЧИСЛЕНИЙ ПОКАЗАТЕЛЕЙ Z(K5) "; 8114 PRINT " И ПОСТРОЕНИЕ ГРАФИКОВ" 8115 PRINT "IF I0=80 GOTO 9000-ПОСТРОЕНИЕ ГРАФИКА" 26
Страницы
- « первая
- ‹ предыдущая
- …
- 24
- 25
- 26
- 27
- 28
- …
- следующая ›
- последняя »