Ãëàâíàÿ ñòðàíèöà  Ïðîãðàììû ïðîåêòèðîâàíèÿ 

[0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [ 33 ] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100]

ñ ÏÐ-ÎÃÐÀÌÍÀ ACOft Ñ

EXTERNAL PRA1,OUT1,FRA2,OUT2 REAL K,KI,KT1,K1I INTEGER R.RR

DlhENSION FI(6,U),PSI(2,2)

niflENSION KI(36),KTI<36),K(u,<4),yALVA<130),VALVB(6e)

DIMENSION AUX<288),PI(15),ARG(5),TIMEC5e)

DIMENSION PI1(6) ,DX(6) ,X(6) ,ÐÐ(5â,é) ,AUXI(A8) ,yALyDT(5,12)

DIMENSION D(2.6),yALVDC12,5),yAUJ(6e),ARGl(5)

COMMON ARG,VALVA,yALVB,X,DX

COMMON /Z1/N,R,FI,PSI,N1,PI

COMMON /Z2/H,L1,HZ,NZ,LK

COMMON /Z4/ARGl.yALyD,M,yALD

COMMON /Z5/F-R,TIME.L,H2,tr,LZ

u--=i

in=e

M-1 Ll=e

DU 1 1=1,6 DO 1 J=l,6 FKI, J)=0.0 DO 2 1=1,2 IO 2 J=l,2

2 P3I(I,J)=e.e

ÂÂÎÄ ÈÑÕÎÄÍÛÕ ÄÀÍÍÛÕ

CALL INPUT<N,R,KI,KTI,FI,PSI,PI,PI1,HZ,HF,NZ,LZ) N1=N»N

HZ=PIC2)/NZ DO 3 1=2,N1

3 3=S+Kri<I) KTICl)=l.e-3 H2=0.e

U ÈÍ1ÃÃÐÈÐ0ÂÀÍÈÅ ÓÐÀÂÍÅÍÈÉ ÐÈÊÊÀÒÈ

CALL RKGS Ñ PI, KI ,ÊÃ1 ,N1, IH,PRA1, OUTl, AUX)

CALL MTRA(VALyD,VALVDT,12,5,0)

CALL ARFY.2,6e,l,5,12,VALD,>ALVDT) ñ ÈÍÒÅÃÐÈÐÎÂÀÍÈÅ ÓÐÀÍ-ÅÍÈÉ ÄÂÈÆÅÍÈß

CALL RKGSCPI1.X,DX,H,IH,PRA2,0UT2,AUXI)

CALL PLOTCPR,TIME,50,6)

PRINT 5

PRINI 6

PRINT 7. (TIMECI), FRa,JlJJ,Ø d5XËl> .

5 FORMAT(/10X,nAFAMETFtl ÎÏÒÈÌÀËÜÍÎÉ ÒÐÀÅÊÒÎÐØ)

6 F0FMAT(/6X,TIME,9X,XCD,10X,X(2),10X,Õ(Ç),10X,X(4) »ieX,X(5),10X,XC6))

7 F0RMATaX,7E14.5) STOF

SUBlTItt INF-UT(N,R,KI,KTI,FI,PSI,PI,PI1,HZ,HP.NZ,LZ) INTEGER R REAL KI.KTI

COMMOfl ARC,VALVA,VALVB,X,DX

DIMENSION AF;O(5),VALVAC180),VALVB(60),PIU6),DX(6),X(6)

DIMENSION FI(6,6) ,P3IC2,2) ,KI.36) ,KTI(36) ,FIC15)

READ 1,N,R,NZ,LZ,HP

F£AD 2,CKTICI),I=1,36)

F£AD 2,<KI(I),I=1,36)

READ 2, ÑÐÈ1),1=1,15)

READ 2,(FKI,I),1=1,N)

READ 3,CP3I(J,J),J=1,R) )

READ 4,fiiG



F£AD 4, V ALU A

RLAD 4,UALUB

READ 2, (FIl(I),1=1,6)

READ 2,(DX(I),I=1,6)

READ 2,(X(I) Ë=1,6) 1 FORMAT (413,F5.2) : FORMAT (6E12.4)

3 FORMAT (2E12.4)

4 FORMiVr (5E12.4)

RETURN END

SUBROUTINE FRA1(T,KI,KTI) REAL K,KI,KTI,KA,KT1,KT,KIIB,KD

DIMENSION K(6,6) ,KT(6,6)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ARr<AY(2,Nl,l,N,N,KTI,KT) RETURN END

SUBROJTINE 0UT1(T,KI,KTI,IH,N1,PI) REAL Ê,1÷1,1÷Ò1 INTEGER R

DIMENSION KI(36),KTI(36),PI(15),A(6,6),B(6,2),FI(6,6),

* PSI(2,2),PSBT(2,6),BT(2,6),l4(6,6),B(2,6),yALyD(12,5), » DV(12),yALD(6e),AF:Gl(5)

COMMON /Z1/N,R,FI,PSI COMMON /22/H,Ll,HZ,N2,LK COMMON /Z3/BT,K,X,A,B COMMON /Z4/ARGl,VALVD,M,yALD IF(T--H) 5,1,1 1 LlLHl

IFSLl-lNZfl)) 3,3,2



2 F-l(5)=3. GO TO 5

3 CALL ¹RAY(1!«,N,N,H,K1,K) CdJ. GMPRniPSI,BT,PSBT,R,R,N) CALL GMPRD(FSBT,K,D,R,N,N) CALL ARRAY(2,12,l,2,6,rW,D) DO 4 1=1,12 VALD(M)=DW(1)

M=¹H

4 CONTINUE

CALL ARRAY(l,(ie,l,12,5,VALD,VALVD)

ARG1(LK)=X

LK=LK+1

H=H+HZ

5 RETURN END

SUBROUTINE PRA2(T,X,DX)

DIMENSION X(6),DX(6),AV(6,6),PIl(6),AUXI(48),A(6,u),VALD(6d)

DIMENSION B(6,2) ,D(2,6) ,DBK(6,4),ÓÀÅÓÀ(18â) ,ÓÀÅÓÂ(6â) ,ARG(5)

DIMENSION A1(3U),B1(12) ,ÓÀÅ(5) ,D1C12) ,ARG1(5) ,yALVD(12,5)

COMMON ARG,VALVA,yALyB

DO 2 1=1,36

DO 1 J=l,5

Jl=5»I+J-5

1 yAL(J)=yALVA(Jl)

CALL ALI(T,ARG,yAL,Y,5,e.eei,IER)

2 A1(I)=Y

CALL ARRAY(1,36,1,6,6,A1,A) DO 4 1=1,12 DO 3 J=l,5 Jl=5»I+J-5

3 yAL(J)=yALVB(Jl)

CALL ALI(T,(«G,VAL,Y,5,e.eei,IER)

4 B1(I)=Y

ñø- ARRAY(1,12,1,6,2,B1,B)

DO 9 1=1,12

DO 8 J=l,5

Jl=5«I+J-5 3 yAL(J)=VAU)(Jl)

CALL Aa(T,ARGl,VAL,Y,5,e.eei,IER) 9 D1(I)=Y

CALL <*RAY(1,12,1,2,6,D1,D)

DO 19 1=1,2

DO 1» J=l,6 le D<I,J)=-D(I,J)

CALL GMPRD(B,D,DBK,6,2,6)

CALL GMADD(A,DBK,AU,6,6)

CALL GMFRD(AV,X,DX,6,6,1)

RETURN

SUBROUTINE 0UT2(T,X,DX,IH,N,PI1)

DIMENSION X(6),DX(6),PIl(6),PR(5e,6),AUXI(48),TIME(Se)

COMMON /Z5/PR,TIME,L,H2,HF,LZ

IF(T-H2) 5,1,1 1 L=L+1

IF(L-(LZ+1)) 3,2,2 Z PIl(5)=3.e

GOTO 5

3 TIME(L)=T DO 4 1=1,6

4 PR(L,I)=X(1) H2=H2+HP

5 RETURN END

SUBROUTINE PLOT(A,0«,H,M)




[0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [ 33 ] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100]

0.0134