Está en la página 1de 16

2|2 4|4

2 5 35 18 BASE OCTAL 8e 1 8e 0
7 7 -8 1 8 1 BASE DECIMAL 8 1
2 2 3 27 10 # 2*8 5*1
2 2 3 -8 2 8 2 TOTALES 16 5
2 4 5 3 19 2
-8 3
11 BASE OCTAL 8e 1 8e 0
-8 4 BASE DECIMAL 8 1
3 # 7*8 7*1
TOTALES 56 7
Multiplicación: 21*63=1323
1323 8
-1320
21 3
165 8
-160
5
20 8
-16
63 4
2 8
0
2
octal 142
142

BASE OCTAL 8 e2 8 e1 8 e0
BASE DECIMAL 64 8 1
# 1*64 4*8 2*1
TOTALES 64 32 2 98
98 2
98
0
49 2
48
1
24 2
24
0
12 2
12
0
6 2
6
0
3 2
2
1
1 2
0
1
BASE HEXADECIMAL 16 e2 16 e1 16 e0
VALOR DECIMAL 256 16 1
# 9*256 5*16 8*1
TOTALES 2304 80 8 2392

2392 2
2932
0
1196 2
1196
0
598 2
598
0
299
298
1
2

149 2
148
1
74 2
74
0
37 2
36
1
18 2
18
0
9 2
8
1 100101011000
4 2
4
0
2 2
2
0
1 2
0
1
17 2
16 10010001 número binario
1 01101110 complemento a 1
8 2 + sumar 1
8 11101111 complemento a 2
0
4 2
4
0
2 2
2
0 1 2
0
1
División entre
m.c.d.
a 3 3 67 3 1=67-22*(3)
b 18 18 1 22
m 67 67
d (mcd) 1 3 1 x= 18 x -22(mod 67)
s -22 0 3 x= -396(mod 67)
x x= -396(mod 67)
1 0
b|d 18 #DIV/0! Err:502 x= 6

0 #DIV/0!
#DIV/0! #DIV/0!

#DIV/0! #DIV/0!
#DIV/0! #DIV/0!
s=-22

-22(mod 67)

-396 67
6 -5
a 15 15 4 3=15-(3)*(4)
b 16 3 3 1=4-1*(3)
m 4 1=4-(1)*(15-(3)*(4))
d (m.c.d.) 1 4 3 1=4-15+(3)*(4))
s -1 1 1 1=(1+3)*(4)-15
x 0 1=(4)*(4)-15
3 1 s=-1
b|d 16 0 3
x=16*(-1) mod4
1 0 x=-16 mod4
#DIV/0! Err:502 x=0

0 #DIV/0!
#DIV/0! #DIV/0!
-16 4
0 -4
Incrementales por pulso
I_Presión 100
I_Temperatura 50
I_Revoluciones 1000
Temporalizador de pulsos 3

Contador=0 Primer ciclo: 0 < 3


Presión = 100+100 200
Temperatura = 300+50 350
Revoluciones = 1000+1000 2000
Contador= 0+1 1
Contador=1 Segundo ciclo: 1 < 3
Presión = 200+100 300
Temperatura = 350+50 400
Revoluciones = 2000+1000 3000
Contador= 1+1 1
Contador=2 Tercer ciclo: 2 < 3
Presión = 300+100 400
Temperatura = 400+50 450
Revoluciones = 3000+1000 4000
Contador= 2+1 3
Contador= Cuarto ciclo: 3= 3
NO SE EJECUTA
VentasDept10 1000
VentasDept20 1250
VentasDept30 1350
TotalVentas= 3600

Primer Si
VentasDept20 >1200 se cumple condición
TotalComisión = 0+1000*0,15 = 150

Segundo Si
VentasDept10 <1200 se cumple condición
TotalComisión = 0+1350*0,3 = 405

Segundo Si
VentasDept30 >1200 se cumple condición
TotalComisión = 0+1250*0,1 = 125

TotalComisión= 680

También podría gustarte