10
q=0:l=0:c=0:e=0:b=0:h=0:bmin=0:hmin=0
screen 9
cls
color 1,6
locate 8,15 :print "Carga lineal (T/m) :"
locate 9,15 :PRINT "Luz (m) ..........:"
locate 10,15:print "Carga puntual (T).:"
locate 11,15:print "Excentricidad (m) :"
locate 12,15:print "Ancho (cm) ........:"
locate 13,15:print "Canto (cm) ........:"
locate 8,36 :input ,q
if q>0 then locate 9,36 :input ,l
locate 10,36:input ,c
if c>0 or l=0 then locate 11,36:input ,e
if l=0 and e=0 then goto 10
11
locate 12,36:input ,b
locate 13,36:input ,h
' Momento flector
m=q*l/2+c*e
mmin=b*h*fnmax(l,e)*2.4/(2*10^4)+1*fnmax(l,e)
if m>
if b*h>0 then
bmin=1+int(m/(0.000255*h^2))
hmin=1+int(sqr(m/(0.000255*b)))
end if
color 4,2
locate 7,15:Print "HAY QUE AUMENTAR LA ESCUADRIA ";b;"x";hmin;"--";bmin;"x";h
goto 11
end if
color 4,2
locate 7,15:print "DATOS CONFORMES O COMPATIBLES ENTRE SI "
' Seccion de acero
a=0.2805*b*h*0.11666*(1-sqr(1-320*m/(b*h*0.11666*h))) ' seccion
if a<0.00131*b*h then a=0.00131*b*h ' Seccion minima de acero
end def
ajuste:
if dr<=10 THEN dr=10
RETURN
No hay comentarios:
Publicar un comentario