using System; namespace Science.Physics.GeneralPhysics { /// /// Atom /// public class Atom { private int atomNumber = 0; private string atomName; private string atomSymbol; private double atomicMass; private string electronConfiguration; public Atom() { } public void Find() { if( atomNumber == 0 ) { try { throw new Science.Error(); } catch (Science.Error e) { e.Write("Give an integer greater than 0"); } } else if( atomNumber == 1 ) { atomName = "Hydrogen"; atomSymbol = "H"; atomicMass = 1.0079; electronConfiguration = "1s1"; } else if( atomNumber == 2 ) { atomName = "Helium"; atomSymbol = "He"; atomicMass = 4.00260; electronConfiguration = "1s2"; } else if( atomNumber == 3 ) { atomName = "Lithium"; atomSymbol = "Li"; atomicMass = 6.94; electronConfiguration = "1s2,2s1"; } else if( atomNumber == 4 ) { atomName = "Beryllium"; atomSymbol = "Be"; atomicMass = 9.01218; electronConfiguration = "1s2,2s2"; } else if( atomNumber == 5 ) { atomName = "Boron"; atomSymbol = "B"; atomicMass = 10.81; electronConfiguration = "1s2,2s2,2p1"; } else if( atomNumber == 6 ) { atomName = "Carbon"; atomSymbol = "c"; atomicMass = 12.011; electronConfiguration = "1s2,2s2,2p2"; } else if( atomNumber == 7 ) { atomName = "Nitrogen"; atomSymbol = "N"; atomicMass = 14.0067; electronConfiguration = "1s2,2s2,2p3"; } else if( atomNumber == 8 ) { atomName = "Oxygen"; atomSymbol = "O"; atomicMass = 15.9994; electronConfiguration = "1s2,2s2,2p4"; } else if( atomNumber == 9 ) { atomName = "Fluorine"; atomSymbol = "F"; atomicMass = 18.99840; electronConfiguration = "1s2,2s2,2p5"; } else if( atomNumber == 10 ) { atomName = "Neon"; atomSymbol = "Ne"; atomicMass = 20.179; electronConfiguration = "1s2,2s2,2p6"; } else if( atomNumber == 11 ) { atomName = "Sodium"; atomSymbol = "Na"; atomicMass = 22.98977; electronConfiguration = "1s2,2s2,2p6,3s1"; } else if( atomNumber == 12 ) { atomName = "Magnaesium"; atomSymbol = "Ma"; atomicMass = 24.305; electronConfiguration = "1s2,2s2,2p6,3s2"; } else if( atomNumber == 13 ) { atomName = "Aluminum"; atomSymbol = "Al"; atomicMass = 26.98154; electronConfiguration = "1s2,2s2,2p6,3s2,3p1"; } else if( atomNumber == 14 ) { atomName = "Silicon"; atomSymbol = "Si"; atomicMass = 28.086; electronConfiguration = "1s2,2s2,2p6,3s2,3p2"; } else if( atomNumber == 15 ) { atomName = "Phosphorus"; atomSymbol = "P"; atomicMass = 30.97367; electronConfiguration = "1s2,2s2,2p6,3s2,3p3"; } else if( atomNumber == 16 ) { atomName = "Sulfur"; atomSymbol = "S"; atomicMass = 32.06; electronConfiguration = "1s2,2s2,2p6,3s2,3p4"; } else if( atomNumber == 17 ) { atomName = "Chlorine"; atomSymbol = "Cl"; atomicMass = 35.453; electronConfiguration = "1s2,2s2,2p6,3s2,3p5"; } else if( atomNumber == 18 ) { atomName = "Argon"; atomSymbol = "Ar"; atomicMass = 39.948; electronConfiguration = "1s2,2s2,2p6,3s2,3p6"; } else if( atomNumber == 19 ) { atomName = "Potassium"; atomSymbol = "K"; atomicMass = 39.098; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,4s1"; } else if( atomNumber == 20 ) { atomName = "Calcium"; atomSymbol = "Ca"; atomicMass = 40.80; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,4s2"; } else if( atomNumber == 21 ) { atomName = "Scandium"; atomSymbol = "Sc"; atomicMass = 44.9559; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d1,4s2"; } else if( atomNumber == 22 ) { atomName = "Titanium"; atomSymbol = "Ti"; atomicMass = 47.90; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d2,4s2"; } else if( atomNumber == 23 ) { atomName = "Vanadium"; atomSymbol = "V"; atomicMass = 50.9414; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d3,4s2"; } else if( atomNumber == 24 ) { atomName = "Chromium"; atomSymbol = "Cr"; atomicMass = 51.996; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d5,4s1"; } else if( atomNumber == 25 ) { atomName = "Manganese"; atomSymbol = "Mn"; atomicMass = 54.9380; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d5,4s2"; } else if( atomNumber == 26 ) { atomName = "Iron"; atomSymbol = "Fe"; atomicMass = 55.847; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d6,4s2"; } else if( atomNumber == 27 ) { atomName = "Cobalt"; atomSymbol = "Co"; atomicMass = 58.9332; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d7,4s2"; } else if( atomNumber == 28 ) { atomName = "Nickel"; atomSymbol = "Ni"; atomicMass = 58.70; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d8,4s2"; } else if( atomNumber == 29 ) { atomName = "Copper"; atomSymbol = "Cu"; atomicMass = 63.546; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s1"; } else if( atomNumber == 30 ) { atomName = "Zin"; atomSymbol = "Zn"; atomicMass = 65.38; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2"; } else if( atomNumber == 31 ) { atomName = "Gallium"; atomSymbol = "Ga"; atomicMass = 69.72; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p1"; } else if( atomNumber == 32 ) { atomName = "Germanium"; atomSymbol = "Ge"; atomicMass = 72.59; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p2"; } else if( atomNumber == 33 ) { atomName = "Arsenic"; atomSymbol = "As"; atomicMass = 74.9216; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p3"; } else if( atomNumber == 34 ) { atomName = "Selenium"; atomSymbol = "Se"; atomicMass = 78.96; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p4"; } else if( atomNumber == 35 ) { atomName = "Bromine"; atomSymbol = "Br"; atomicMass = 79.904; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p5"; } else if( atomNumber == 36 ) { atomName = "Krypton"; atomSymbol = "Kr"; atomicMass = 83.80; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6"; } else if( atomNumber == 37 ) { atomName = "Rubidium"; atomSymbol = "Rb"; atomicMass = 85.467; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,5s1"; } else if( atomNumber == 38 ) { atomName = "Strontium"; atomSymbol = "Sr"; atomicMass = 87.62; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,5s2"; } else if( atomNumber == 39 ) { atomName = "Yttrium"; atomSymbol = "Y"; atomicMass = 88.9059; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d1,5s2"; } else if( atomNumber == 40 ) { atomName = "Zirconium"; atomSymbol = "Zr"; atomicMass = 91.22; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d2,5s2"; } else if( atomNumber == 41 ) { atomName = "Niobium"; atomSymbol = "Nb"; atomicMass = 92.9064; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d4,5s1"; } else if( atomNumber == 42 ) { atomName = "Molybdenum"; atomSymbol = "Mo"; atomicMass = 92.9064; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d5,5s1"; } else if( atomNumber == 43 ) { atomName = "Terhnetium"; atomSymbol = "Tc"; atomicMass = 97.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d5,5s2"; } else if( atomNumber == 44 ) { atomName = "Ruthenium"; atomSymbol = "Ru"; atomicMass = 101.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d7,5s1"; } else if( atomNumber == 45 ) { atomName = "Rhodium"; atomSymbol = "Rh"; atomicMass = 102.9055; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d8,5s1"; } else if( atomNumber == 46 ) { atomName = "Palladium"; atomSymbol = "Pd"; atomicMass = 106.4; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10"; } else if( atomNumber == 47 ) { atomName = "Silver"; atomSymbol = "Ag"; atomicMass = 107.868; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,5s1"; } else if( atomNumber == 48 ) { atomName = "Cadimium"; atomSymbol = "Cd"; atomicMass = 112.40; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,5s2"; } else if( atomNumber == 49 ) { atomName = "Indium"; atomSymbol = "In"; atomicMass = 114.82; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,5s2,5p1"; } else if( atomNumber == 50 ) { atomName = "Tim"; atomSymbol = "Sn"; atomicMass = 118.6; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,5s2,5p2"; } else if( atomNumber == 51 ) { atomName = "Antinony"; atomSymbol = "Sb"; atomicMass = 121.7; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,5s2,5p3"; } else if( atomNumber == 52 ) { atomName = "Tellurium"; atomSymbol = "Te"; atomicMass = 127.6; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,5s2,5p4"; } else if( atomNumber == 53 ) { atomName = "Iodine"; atomSymbol = "I"; atomicMass = 126.9045; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,5s2,5p5"; } else if( atomNumber == 54 ) { atomName = "Xenon"; atomSymbol = "Xe"; atomicMass = 131.30; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,5s2,5p6"; } else if( atomNumber == 55 ) { atomName = "Cesium"; atomSymbol = "Cs"; atomicMass = 132.9054; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,5s2,5p6,6s1"; } else if( atomNumber == 56 ) { atomName = "Barium"; atomSymbol = "Ba"; atomicMass = 137.3; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,5s2,5p6,6s2"; } else if( atomNumber == 57 ) { atomName = "Lanthanum"; atomSymbol = "La"; atomicMass = 138.905; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,5s2,5p6,5d1,6s2"; } else if( atomNumber == 58 ) { atomName = "Cerium"; atomSymbol = "Ce"; atomicMass = 140.12; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f2,5s2,5p6,6s2"; } else if( atomNumber == 59 ) { atomName = "Praceodymium"; atomSymbol = "Pr"; atomicMass = 140.9077; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f3,5s2,5p6,6s2"; } else if( atomNumber == 60 ) { atomName = "Neodynium"; atomSymbol = "Nd"; atomicMass = 144.2; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f4,5s2,5p6,6s2"; } else if( atomNumber == 61 ) { atomName = "Prometheum"; atomSymbol = "Pm"; atomicMass = 145.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f5,5s2,5p6,6s2"; } else if( atomNumber == 62 ) { atomName = "Samarium"; atomSymbol = "Sm"; atomicMass = 150.4; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f6,5s2,5p6,6s2"; } else if( atomNumber == 63 ) { atomName = "Europium"; atomSymbol = "Eu"; atomicMass = 151.96; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f7,5s2,5p6,6s2"; } else if( atomNumber == 64 ) { atomName = "Gadolinium"; atomSymbol = "Gd"; atomicMass = 157.25; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f7,5s2,5p6,5d1,6s2"; } else if( atomNumber == 65 ) { atomName = "Terbium"; atomSymbol = "Tb"; atomicMass = 158.9254; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f9,5s2,5p6,6s2"; } else if( atomNumber == 66 ) { atomName = "Dysprosium"; atomSymbol = "Dy"; atomicMass = 162.50; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f10,5s2,5p6,6s2"; } else if( atomNumber == 67 ) { atomName = "Holmium"; atomSymbol = "Ho"; atomicMass = 164.9304; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f11,5s2,5p6,6s2"; } else if( atomNumber == 68 ) { atomName = "Erbium"; atomSymbol = "Er"; atomicMass = 167.26; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f12,5s2,5p6,6s2"; } else if( atomNumber == 69 ) { atomName = "Thulium"; atomSymbol = "Tm"; atomicMass = 1168.9342; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f13,5s2,5p6,6s2"; } else if( atomNumber == 70 ) { atomName = "Ytterbium"; atomSymbol = "Yb"; atomicMass = 173.04; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,6s2"; } else if( atomNumber == 71 ) { atomName = "Lutetium"; atomSymbol = "Lu"; atomicMass = 174.97; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d1,6s2"; } else if( atomNumber == 72 ) { atomName = "Hafnium"; atomSymbol = "Hf"; atomicMass = 178.49; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d2,6s2"; } else if( atomNumber == 73 ) { atomName = "Tantalum"; atomSymbol = "Ta"; atomicMass = 180.9479; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d3,6s2"; } else if( atomNumber == 74 ) { atomName = "Wolfram"; atomSymbol = "W"; atomicMass = 183.85; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d4,6s2"; } else if( atomNumber == 75 ) { atomName = "Rhenium"; atomSymbol = "Re"; atomicMass = 180.207; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d5,6s2"; } else if( atomNumber == 76 ) { atomName = "Oamium"; atomSymbol = "Os"; atomicMass = 190.2; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d6,6s2"; } else if( atomNumber == 77 ) { atomName = "Iridium"; atomSymbol = "Ir"; atomicMass = 192.22; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d7,6s2"; } else if( atomNumber == 78 ) { atomName = "Platinum"; atomSymbol = "Pt"; atomicMass = 195.09; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d9,6s1"; } else if( atomNumber == 79 ) { atomName = "Gold"; atomSymbol = "Au"; atomicMass = 199.9665; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,6s1"; } else if( atomNumber == 80 ) { atomName = "Mercury"; atomSymbol = "Hg"; atomicMass = 200.59; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,6s2"; } else if( atomNumber == 81 ) { atomName = "Thallium"; atomSymbol = "Tl"; atomicMass = 204.37; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,6s2,6p1"; } else if( atomNumber == 82 ) { atomName = "Lead"; atomSymbol = "Pb"; atomicMass = 207.2; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,6s2,6p2"; } else if( atomNumber == 83 ) { atomName = "Bismuth"; atomSymbol = "Bi"; atomicMass = 208.9804; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,6s2,6p3"; } else if( atomNumber == 84 ) { atomName = "Polonium"; atomSymbol = "Po"; atomicMass = 209.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,6s2,6p4"; } else if( atomNumber == 85 ) { atomName = "Astatine"; atomSymbol = "At"; atomicMass = 210.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,6s2,6p5"; } else if( atomNumber == 86 ) { atomName = "Radon"; atomSymbol = "Rn"; atomicMass = 222.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,6s2,6p6"; } else if( atomNumber == 87 ) { atomName = "Francium"; atomSymbol = "Fr"; atomicMass = 223.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,6s2,6p6,7s1"; } else if( atomNumber == 88 ) { atomName = "Radium"; atomSymbol = "Ra"; atomicMass = 226.0254; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,6s2,6p6,7s2"; } else if( atomNumber == 89 ) { atomName = "Actinium"; atomSymbol = "Ac"; atomicMass = 227.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,6s2,6p6,6d1,7s2"; } else if( atomNumber == 90 ) { atomName = "Thorium"; atomSymbol = "Th"; atomicMass = 232.0381; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,6s2,6p6,6d2,7s2"; } else if( atomNumber == 91 ) { atomName = "Protactiaium"; atomSymbol = "Pa"; atomicMass = 231.0359; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,5f2,6s2,6p6,6d1,7s2"; } else if( atomNumber == 92 ) { atomName = "Uranium"; atomSymbol = "U"; atomicMass = 238.029; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,5f3,6s2,6p6,6d1,7s2"; } else if( atomNumber == 93 ) { atomName = "Neptumium"; atomSymbol = "Np"; atomicMass = 237.0482; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,5f4,6s2,6p6,6d1,7s2"; } else if( atomNumber == 94 ) { atomName = "Plutonium"; atomSymbol = "Pu"; atomicMass = 244.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,5f5,6s2,6p6,6d1,7s2"; } else if( atomNumber == 95 ) { atomName = "Americium"; atomSymbol = "Am"; atomicMass = 243.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,5f6,6s2,6p6,6d1,7s2"; } else if( atomNumber == 96 ) { atomName = "Curium"; atomSymbol = "Cm"; atomicMass = 247.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,5f7,6s2,6p6,6d1,7s2"; } else if( atomNumber == 97 ) { atomName = "Berkelium"; atomSymbol = "Bk"; atomicMass = 247.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,5f8,6s2,6p6,6d1,7s2"; } else if( atomNumber == 98 ) { atomName = "Califomium"; atomSymbol = "Cf"; atomicMass = 251.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,5f10,6s2,6p6,7s2"; } else if( atomNumber == 99 ) { atomName = "Einsteinum"; atomSymbol = "Es"; atomicMass = 254.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,5f11,6s2,6p6,7s2"; } else if( atomNumber == 100 ) { atomName = "Fermium"; atomSymbol = "Fm"; atomicMass = 257.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,5f12,6s2,6p6,7s2"; } else if( atomNumber == 101 ) { atomName = "Mendelevium"; atomSymbol = "Md"; atomicMass = 258.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,5f13,6s2,6p6,7s2"; } else if( atomNumber == 102 ) { atomName = "Nobelium"; atomSymbol = "No"; atomicMass = 255.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,5f14,6s2,6p6,7s2"; } else if( atomNumber == 103 ) { atomName = "Lawrencium"; atomSymbol = "Lw"; atomicMass = 260.0; electronConfiguration = "1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,4f14,5s2,5p6,5d10,5f14,6s2,6p6,7s2"; } else if( atomNumber == 103 ) { atomName = "Lawrencium"; atomSymbol = "Lw"; atomicMass = 260.0; electronConfiguration="1s2,2s2,2p6,3s2,3p6,3d10,4s2,4p6,4d10,5s2,5p6,5d10,5f14,6s2,6p6,6d1,7s2"; } else { try { throw new Science.Error(); } catch (Science.Error e) { e.Write("Give an integer less than 104"); } } } public int AtomNumber { get{return atomNumber;} set{atomNumber = value;} } public string AtomName { get{return atomName;} set{atomName = value;} } public string AtomSymbol { get{return atomSymbol;} set{atomSymbol = value;} } public double AtomicMass { get{return atomicMass;} set{atomicMass = value;} } public string ElectronConfiguration { get{return electronConfiguration;} set{electronConfiguration = value;} } } }