Documentos de Académico
Documentos de Profesional
Documentos de Cultura
#Longitud total
L = 12.0
#Longitud de la barra
LB = 4.0
l1 = 0.0
l2 = 0.0
#Matriz de incógnitas
HG=array(['Rax','Ray','Rby','Fac','Fad','Fcd','Fce','Fdf','Fde','Feg','Fef','Ffb','Ffg','Fgb'])
#NODO A
AX = array([1,0,0,2/sqrt(13),1,0,0,0,0,0,0,0,0,0])
AY = array([0,1,0,3/sqrt(13),0,0,0,0,0,0,0,0,0,0])
#NODO C
CX = array([0,0,0,-2/sqrt(13),0,2/sqrt(13),1,0,0,0,0,0,0,0])
CY = array([0,0,0,-3/sqrt(13),0,-3/sqrt(13),0,0,0,0,0,0,0,0])
#NODO D
DX = array([0,0,0,0,-1,-2/sqrt(13),0,1,2/sqrt(13),0,0,0,0,0])
DY = array([0,0,0,0,0,3/sqrt(13),0,0,3/sqrt(13),0,0,0,0,0])
#NODO E
EX = array([0,0,0,0,0,0,-1,0,-2/sqrt(13),1,2/sqrt(13),0,0,0])
EY = array([0,0,0,0,0,0,0,0,-3/sqrt(13),0,-3/sqrt(13),0,0,0])
#NODO F
FX = array([0,0,0,0,0,0,0,-1,0,0,-2/sqrt(13),1,2/sqrt(13),0])
FY = array([0,0,0,0,0,0,0,0,0,0,3/sqrt(13),0,3/sqrt(13),0])
#NODO G
GX = array([0,0,0,0,0,0,0,0,0,-1,0,0,-2/sqrt(13),2/sqrt(13)])
GY = array([0,0,0,0,0,0,0,0,0,0,0,0,-3/sqrt(13),-3/sqrt(13)])
#NODO B
BX = array([0,0,0,0,0,0,0,0,0,0,0,-1,0,-2/sqrt(13)])
BY = array([0,0,1,0,0,0,0,0,0,0,0,0,0,3/sqrt(13)])
else:
if x > 4 and x < 8:
l2 = (8-x)/LB
l1 = (x-4)/LB
For[5] = Q*l2
For[9] = Q*l1
else:
if x > 8 and x < L:
l2 = (12-x)/LB
l1 = (x-8)/LB
For[9] = Q*l1
For[13] = Q*l2
else:
if x == 12:
For[13] = Q