Story Transcript
RADIO ATÓMICO Applet que muestra gráficamente el comportamiento del radio atómico de los elementos de la tabla periódica. package radioatomico; import java.applet.Applet; import java.awt.*; /** * * @author Hugo */ public class Radiatomico extends Applet{ Elemento elemento[]; int x=20,y=0,py=62,px=51,col=0,fila=0; Color c; int index; double electronegatividad[]={0.79,1.55,1.9,2.35,2.48,2.67,2.7,1.12,1.6,1.97,2.15,2.22,2.23, 1.62,1.47,1.34,1.27,1.26,1.26,1.25,1.24,1.28,1.38,1.41,1.37,1.39,1.4,1.12,1.03,1.81,1.6,1.46, 1.39,1.36,1.34,1.34,1.38,1.44,1.54,1.66,1.62,1.59,1.6,1.32,1.31,1.74,1.58,1.46,1.39,1.37,1.35, 1.36,1.38,1.44,1.57,1.71,1.75,1.7,1.76,1.43,1.34,0,0,0,0,0,0,0,0,0,0,1.43,1.32,1.28,1.27,0.97, 0.88,0.98,0.914,0.92,0.65,0.57,0.51,0.49,1.87,1.81,1.82,1.82,1.83,1.66,2.04,1.79,1.77,1.77,1.76, 1.75,1.74,1.92,1.88,1.74,1.63,1.56,1.55,1.63,1.73,1.74,1.7,1.86,1.86,0,0,0}; @Override public void init(){ this.setLayout ( null ); elemento = new Elemento[112]; for(int i=0;i