,,,
1
.. 310:
.
:
, 2006
183031, , . -. . . .
:
:
yn=0,81 xn + xn-2 0,81yn-2= kxn + xn-2 - kyn-2 ; k=0,81
1) kMP ( ) 8- :
kM=0,381679389(10); kMP = ,01100001(2) = 61(16) = 0,37890625 (10)
2) ( ) 8- :
k=0,81(10) ; kP = ,11001111(2) = CF(16) = 0,80859375(10)
3) ( ):
xn = 0,1111111(2) = 7F(16)
4) :
xn := kMP xn = ,01100001(2). 0,1111111(2) = 61(16). 7F(16) = 30(16) = 0,0110000 (2) = +0,375(10)
5)
X |
xn = 30(16) = 0,0110000 (2) = +0,375(10) |
X1 |
xn-1 = 30(16) = 0,0110000 (2) = +0,375(10) |
X2 |
xn-2 = 30(16) = 0,0110000 (2) = +0,375(10) |
Y |
: yn = 7C(16) |
Y1 |
yn-1 = D0(16) = 1, 1010000(2) = -0,375(10) |
Y2 |
yn-2 = D0(16) = 1, 1010000(2) = -0,375(10) |
P1 |
: p1n = 26(16) |
P2 |
: p2n = DA(16) |
6) p1n:
p1n = kP xn = CF(16) 30(16) = ,11001111(2). 0,011000 (2) = 26(16) = 0,0100110(2) = + 0,296875(10)
7) yn-2 kP:
|p2n| = kP |yn-2| = CF(16) 30(16) = ,11001111(2). 0,011000 (2) = 26(16) = 0,0100110(2) = 0,296875(10)
8) :
yn = p1n + xn-2 - (- |p2n|) = 26(16) + 30(16) + 26(16) = 7C(16) = 0,1111100 (2) = +0,96875(10)
1. ) -, RST
- RST . RST=1 :
1) , PCON, IE, IP ;
2) PCON, IE, IP , 0;
3) SP=70 ( );
4) , /, ;
5) 0 POH ( );
6) 0, 1, 2, 3 ;
7) SBUF .
182155 182155 , RST .
1.) (CSEG), FZ. 147 .
2) :
3) - :
4). /0 (Alt + t) .
4) INT0 (Alt + i) .
) xn .
) p1n, p2n .
) yn .
5) :
) .
) .
:
:
yn=0,81 xn + xn-2 0,81yn-2= kxn + xn-2 - kyn-2 ; k=0,81
1) kMP ( ) 8- :
kM=0,381679389(10); kMP = ,01100001(2) = 61(16) = 0,37890625 (10)
2) ( ) 8- :
k=0,81(10) ; kP = ,11001111(2) = CF(16) = 0,80859375(10)
3) ( ):
xn = 1,0000000(2) = 80(16)
4) :
|xn| := kMP |xn| = ,01100001(2). 0,1111111(2) = 61(16). 80(16) = 30(16) = 0,0110000 (2) = +0,375(10)
xn := D0(16)
5)
X |
xn = D0(16) = 1, 1010000(2) = -0,375(10) |
X1 |
xn-1 = D0(16) = 1, 1010000(2) = -0,375(10) |
X2 |
xn-2 = D0(16) = 1, 1010000(2) = -0,375(10) |
Y |
: yn = 7C(16) |
Y1 |
yn-1 = 30(16) = 0,0110000 (2) = +0,375(10) |
Y2 |
yn-2 = 30(16) = 0,0110000 (2) = +0,375(10) |
P1 |
: p1n = DA(16) |
P2 |
: p2n = 26(16) |
6) yn-2 kP:
|p1n| = kP |xn| = CF(16) 30(16) = ,11001111(2). 0,011000 (2) = 26(16) = 0,0100110(2) = 0,296875(10)
7) p1:
p1n = kP yn-2 = CF(16) 30(16) = ,11001111(2). 0,011000 (2) = 26(16) = 0,0100110(2) = + 0,296875(10)
8) :
yn = -p2n + xn-2 - (- |p1n|) = DA(16) + D0(16) - 26(16) = 84(16) = 1,0000100 (2) = -0,96875(10)
6) - :
:
) xn .
) p1n, p2n .
) yn .
1
Copyright (c) 2025 Stud-Baza.ru , , , .