PyGamLab 0.1.4__py3-none-any.whl → 0.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
PyGamLab/Constants.py CHANGED
@@ -48,450 +48,2351 @@ Y88b. 88 Y88..88PP. 888 888 888 888...... Y88..88PP. 888 888
48
48
  '''
49
49
  import math
50
50
 
51
- #Constant-------------------------------------------
52
- pi=3.1415926536
53
- e=2.7182818284
54
- c=299792458
55
- N_a=6.022*10**23
56
- R_J=8.3143
57
- R_Cal=1.987
58
- R_LA=0.08205
59
- Pi=3.14
60
- g=9.81
61
- Tau=Pi*2
62
- e=7.1828
63
- pi = 3.14159
64
- e = 2.71828
65
- g = 9.81 # Gravitational constant
66
- h = 6.634 * 10**-34 # constant pelank
67
- tau = 6.28
68
- R =0.08206 #unit = ((L*atm) / (mol*k)) # Global constant of gases
69
- pi=3.14
70
- ta=6.28
71
- e=2.718
72
- zeta=1.202
73
- #Golden ratio
74
- phi=1.618
75
- N_a = 6.022*10**23 #molecules/mol (Avogadro's Number)
76
- k = 1.381*10**(-23) #J/K (Boltzmann's Constant)
77
- alpha = 5.67*10**(-8) #W/m^2/K^4 (Stefan-Boltzmann Constant)
78
- R = 8.314 #J/mol/K (Gas costant)
79
- h = 6.626*10**(-34) #J.s (Planck's Constant)
80
- c = 2.998*10**8 #m/s (speed of light)
81
- pi=3.14
82
- R=8.314
83
- Na=6.022*(10**23)
84
- e=2.7182818284590452353602874713527
85
- Boltzmann_Constant=1.380649*(10**(-23))
86
- Conductivity_PPY=105
87
- Conductivity_pT=33.7
88
- Conductivity_P3HT=2.4
89
- Conductivity_PLN=10
90
- Kw = 1*10**-14 # Autoionization constant for water at 25°C
91
- Fe_Tm_Alpha=910
92
- 'دمای ذوب آهن در فاز آلفا است'
93
-
94
- Fe_Tm_Gama=1495
95
- 'دمای ذوب آهن در فاز گاما است'
96
-
97
- Fe_Tm_Delta=1539
98
- 'دمای ذوب آهن در فاز دلتا است'
99
-
100
- Fe_Density=7.87
101
- 'چگالی آهن و فولاد'
102
-
103
- max_C_inSteel=2.11
104
- 'بیشترین درصد کربن در فولاد'
105
- 'در واقع بیشتر از این مقدار کربن وارد فولاد شود به چدن تبدیل میشود'
106
-
107
- Eutectic_T=1148
108
- 'دمای واکنش یوتکتیک در دیاگرام آهن کربن'
109
-
110
- Eutectic_Percent=4.3
111
- 'درصد کربن در فولاد که در آن واکنش یوتکتیک رخ میدهد'
112
-
113
- Eutectoid_T=727
114
- 'دمای واکنش یوتکتوئید'
115
-
116
- Eutectoid_persent=0.76
117
- 'درصد کربن در واکنش یوتکتوئید'
118
-
119
-
120
- Pi=3.14159265358979323846264338327950288419716939937510
121
- C=299792458
122
- #m/s; speed of light in vacuum
123
- R= 8.314510
124
- #J/(mol*K); molar gas constant
125
- g0=9.81 #m/s2
126
-
127
- density_of_Fe=7.87
128
- 'Here, density of Fe is reported in g per cubic cm'
129
-
130
- density_of_Al=2.7
131
- 'Here, density of Al is reported in g per cubic cm'
132
-
133
- density_of_Cu=8.96
134
- 'Here, density of Cu is reported in g per cubic cm'
135
-
136
- melting_point_of_Fe=1538
137
- 'Here, melting point of Fe is reported in kelvin'
138
-
139
- melting_point_of_Al=660
140
- 'Here, melting point of Al is reported in kelvin'
141
-
142
- melting_point_of_Cu=1085
143
- 'Here, melting point of Cu is reported in kelvin'
144
-
145
- thermal_conductivity_coefficient_of_Fe=221
146
- 'Here, thermal conductivity coefficient of Fe is reported in W/mK'
147
-
148
- thermal_conductivity_coefficient_of_Al=237
149
- 'Here, thermal conductivity coefficient of Al is reported in W/mK'
150
-
151
- thermal_conductivity_coefficient_of_Cu=385
152
- 'Here, thermal conductivity coefficient of Cu is reported in W/mK'
153
- R = 8.314 #Ideal Gas constant (J/mol.K)
154
- h = 6.626 * (10 ** (-34)) #Plank's constant (J.s)
155
- NA = 6.022 * (10 ** (23)) #Avagadro's constant (molecules per mole)
156
- k = 1.381 * (10 ** (-23)) #Boltzman constant (J/K)
157
- c = 3.00 * (10 ** (8)) #Speed of Light is a Vacuum (m/s)
158
- G = 6.674 * (10 ** (-11)) #Universal Gravitational constant ((m^3)/(kg.(s^2)))
159
- F = 96485 #Faraday's constant (C/mol)
160
-
161
- # Define molecular weights of composite materials
162
- G_Mol_Si = 28.09 #silicium
163
- G_Mol_O = 16.00 #oxygen
164
- G_Mol_Ba = 137.33 #barium
165
- G_Mol_Zr = 91.22 #zirconium
166
- G_Mol_Ti = 47.87 #titanium
167
-
168
-
169
- k= 534.6
170
- F=96485
171
- R=8.314
172
- g=23
173
-
174
- F=100
175
- Zf=0.25
176
- Xd=0.95
177
- Xw=0.05
178
- R=5
179
- alpha=3
180
- q=0.7
181
-
182
- #dae in ja ma yekseri aadad sabet taeerif kardim
183
- Avogadro_Number=6.02*10**23
184
- #(mol) adad avogadro
51
+ # ==============================================================================
52
+ # Physical and Scientific Constants
53
+ # ==============================================================================
54
+
55
+ # A
56
+ A_lattice_constant = 0.413 # lattice constant in nanometers
57
+ alpha_stefan_boltzmann = 5.67e-8 # Stefan-Boltzmann constant (W/m²/K⁴)
58
+ Avogadro_Number = 6.022e23 # Avogadro's number (mol⁻¹)
59
+
60
+ # B
61
+ Boltzmann_constant = 1.380649e-23 # More precise value (J/K)
62
+
63
+ # C
64
+ c_speed_of_light = 2.998e8 # Speed of light in vacuum (m/s)
65
+ Conductivity_P3HT = 2.4 # Electrical conductivity of P3HT
66
+ Conductivity_PLN = 10 # Electrical conductivity of PLN
67
+ Conductivity_PPY = 105 # Electrical conductivity of polypyrrole
68
+ Conductivity_pT = 33.7 # Electrical conductivity of polythiophene
185
69
 
186
- Speed_Of_Light=2.99*10**8
187
- #(m/s) sorat noor--->c
70
+ # D
71
+ D_oxygen_diffusion_coeff = 2.3e-5 # Oxygen diffusion coefficient in water (µm²/s)
72
+ density_of_Al = 2.7 # g/cm³
73
+ density_of_Cu = 8.96 # g/cm³
74
+ density_of_Fe = 7.87 # g/cm³
188
75
 
189
- Electron_Charge=1.6*10**19
190
- #(C) bar electeron
76
+ # E
77
+ Earth_Accel = 9.8 # Acceleration due to gravity on Earth (m/s²)
78
+ Electron_Charge = 1.6e-19 # Elementary charge (C)
79
+ e_euler_number = 2.718281828459045 # Euler's number
80
+ Eutectic_Percent = 4.3 # Carbon % in eutectic reaction
81
+ Eutectic_T = 1148 # Eutectic temperature (°C)
82
+ Eutectoid_persent = 0.76 # Carbon % in eutectoid reaction
83
+ Eutectoid_T = 727 # Eutectoid temperature (°C)
191
84
 
192
- Faraday_Constant=9.64*10**4
193
- #C/mol sabet faraday
85
+ # F
86
+ Faraday_constant = 96485 # Faraday constant (C/mol)
87
+ Fe_Density = 7.87 # Density of iron
88
+ Fe_Tm_Alpha = 910 # Melting point of alpha-phase iron (°C)
89
+ Fe_Tm_Delta = 1539 # Melting point of delta-phase iron (°C)
90
+ Fe_Tm_Gama = 1495 # Melting point of gamma-phase iron (°C)
91
+
92
+ # G
93
+ G = 6.674e-11 # Gravitational constant (m³/kg/s²)
94
+ G_Mol_Ba = 137.33 # Molar mass of barium
95
+ G_Mol_O = 16.00 # Molar mass of oxygen
96
+ G_Mol_Si = 28.09 # Molar mass of silicon
97
+ G_Mol_Ti = 47.87 # Molar mass of titanium
98
+ G_Mol_Zr = 91.22 # Molar mass of zirconium
99
+ g = 9.81 # Standard gravity (m/s²)
100
+
101
+ # H
102
+ h_plank = 6.62607015e-34 # Planck’s constant (J·s)
103
+
104
+ # I
105
+ # (None explicitly declared)
106
+
107
+ # K
108
+ K_boltzman = 1.380649e-23 # Boltzmann constant (J/K)
109
+
110
+ k_z_value_standard = 1.96 # Z value for standard normal distribution
111
+
112
+ # L
113
+ Latent_heat = 1.16e9 # Latent heat
114
+
115
+ # M
116
+ max_C_inSteel = 2.11 # Max carbon % in steel before it becomes cast iron
117
+ melting_point_of_Al = 660 # °C
118
+ melting_point_of_Cu = 1085 # °C
119
+ melting_point_of_Fe = 1538 # °C
120
+
121
+ # N
122
+ N_A = 6.022e23 # Avogadro’s constant
123
+
124
+
125
+ # P
126
+ P_0 = 101325 # Standard atmospheric pressure (Pa)
127
+ phi_golden_ratio = 1.618 # Golden ratio
128
+ Pi = 3.141592653589793 # Pi
129
+ π = 3.141592653589793 # Duplicate with symbol
130
+
131
+ # Q
132
+ # (None explicitly declared)
133
+
134
+
135
+ # R
136
+ R = 8.314 # Ideal gas constant (J/mol·K)
137
+ R_Cal = 1.987 # Gas constant in cal/(mol·K)
138
+ R_LA = 0.08205 # Ideal gas constant in (L·atm)/(mol·K)
139
+
140
+ # S
141
+ S = 28.34 # Standard entropy for solid aluminum (J/mol·K)
142
+ Speed_Of_Light = 2.99e8 # Another duplicate of c
143
+
144
+ # T
145
+ Tau = 2 * Pi # Tau (2π)
146
+ thermal_conductivity_coefficient_of_Al = 237 # W/m·K
147
+ thermal_conductivity_coefficient_of_Cu = 385 # W/m·K
148
+ thermal_conductivity_coefficient_of_Fe = 221 # W/m·K
149
+ t_stu = 0.9277 # t-Student value
150
+
151
+ # V
152
+ vacuum_permeability = 1 # Simplified value
153
+
154
+ # X, Z
155
+ Xd = 0.95
156
+ Xw = 0.05
157
+ Zf = 0.25
158
+ zeta = 1.202 # Riemann zeta function at 3 (used in physics)
159
+
160
+
161
+
162
+
163
+
164
+
165
+ # --- Fluid Dynamics ---
166
+
167
+ # Kinematic viscosity of air (m²/s)
168
+ nu_air_kinematic = 1.48e-5 # m²/s
169
+
170
+ # Kinematic viscosity of water at 20°C (m²/s)
171
+ nu_water_kinematic = 1.004e-6 # m²/s
172
+
173
+
174
+ # Dynamic Viscosity of air at 20°C (Pa·s)
175
+ mu_air_20C = 1.81e-5 # Pa·s
176
+
177
+ # Dynamic Viscosity of water at 20°C (Pa·s)
178
+ mu_water_20C = 0.001002 # Pa·s
179
+
180
+ # Speed of sound in air at 20°C (m/s)
181
+ speed_of_sound_air = 343 # m/s
182
+
183
+ # Speed of sound in water at 25°C (m/s)
184
+ speed_of_sound_water = 1482 # m/s
185
+
186
+ # Critical velocity for pipe flow (m/s)
187
+ critical_velocity = 1.0 # m/s
188
+
189
+ # Reynolds number for laminar flow (dimensionless)
190
+ Re_laminar = 2000 # dimensionless
191
+
192
+ # Reynolds number for turbulent flow (dimensionless)
193
+ Re_turbulent = 4000 # dimensionless
194
+
195
+ # --- Fluid Properties ---
196
+
197
+ # Density of air at 20°C (kg/m³)
198
+ density_air_20C = 1.204 # kg/m³
199
+
200
+ # Density of water at 20°C (kg/m³)
201
+ density_water_20C = 998 # kg/m³
202
+
203
+ # Surface tension of water at 25°C (N/m)
204
+ surface_tension_water_25C = 0.0728 # N/m
205
+
206
+ # Vapor pressure of water at 25°C (Pa)
207
+ vapor_pressure_water_25C = 3.17e3 # Pa
208
+
209
+
210
+
211
+
212
+ # --- Thermal Conductivity ---
213
+
214
+ # Thermal conductivity of air at 300K (W/m·K)
215
+ thermal_conductivity_air = 0.0262 # W/m·K
216
+
217
+ # Thermal conductivity of water at 25°C (W/m·K)
218
+ thermal_conductivity_water = 0.606 # W/m·K
219
+
220
+
221
+ # --- Heat Transfer Constants ---
222
+
223
+ # Convective heat transfer coefficient for water (W/m²·K)
224
+ convective_heat_transfer_water = 500 # W/m²·K
225
+
226
+ # Convective heat transfer coefficient for air (W/m²·K)
227
+ convective_heat_transfer_air = 10 # W/m²·K
194
228
 
195
- Earth_Accel=9.8
196
- #(m/s**2) geranesh zamin
197
-
198
- Planck_constant=6.626*10**(-34) #js#
199
- R=8.314 #J/mol.K#
200
- Faraday_constant= 96485 #C/mol#
201
- Boltzman_constany= 1.381*10**(-23) #J/K#
202
- Avogardo_Num=6.022*10**(23) #mol^-1#
203
229
 
230
+ # Heat transfer coefficient for forced convection (W/m²·K)
231
+ heat_transfer_coefficient_forced_convection = 100 # W/m²·K
204
232
 
205
- #Standard_Atmospheric_Pressure
206
- P_0=101325#(Pa)
233
+ # Stefan-Boltzmann constant (W/m²·K⁴)
234
+ stefan_boltzmann_constant = 5.67e-8 # W/m²·K⁴
207
235
 
208
- #Plank's_Constant
209
- h=6.62607015e-34 #(J.s)
236
+ # Specific heat capacity of water at 25°C (J/g·K)
237
+ specific_heat_water = 4.18 # J/g·K
210
238
 
239
+ # Specific heat capacity of air at 25°C (J/g·K)
240
+ specific_heat_air = 1.005 # J/g·K
211
241
 
212
- #Boltzmann_constant
213
- K=1.380649e-23 #(J/K)
214
-
215
- #Avogadro's_constant
216
- N_A=6.022e23 #(without unit)
217
-
218
-
219
- Latent_heat = 1.16 * (10 ** 9)
220
- Gama_sl = 0.132
221
- T_m = 1064 #in centigrade
222
- A = 0.413 #in nano meter
223
- Pi = 3.14
224
- K = 1.38 * (10 ** (-23)) #Boltzmann constant
225
- N_t = 3 * (10 ** 33)
226
-
227
- N_a = 6.022*10**23 #molecules/mol (Avogadro's Number)
228
- k = 1.381*10**(-23) #J/K (Boltzmann's Constant)
229
- alpha = 5.67*10**(-8) #W/m^2/K^4 (Stefan-Boltzmann Constant)
230
- R = 8.314 #J/mol/K (Gas costant)
231
- h = 6.626*10**(-34) #J.s (Planck's Constant)
232
- c = 2.998*10**8 #m/s (speed of light)
233
-
234
- #IE_Constants
235
-
236
- k=1.96 #k=Z(0.05) Normal Standard Distribution
237
- pf=0.6209 #f(P/F , i% , n) = 0.6209 for i=10% and n=5
238
- ag=3.1936 #f(A/G , i% , n) = 3.1936 for i=18% and n=10
239
- t_stu=0.9277 #T-Student Distribution for x=1.5 and n=30 (degree freedom 29)
240
- d=1.128 #Constant coefficients for n=2
241
-
242
- R=8.314 ##gas constant in J/mol.K
243
- D=2.3*(10**(-5)) ##oxygen diffusion coefficient in water μm2/s
244
- S=28.34 ##standard enthropy for solid alumminuim in J/mol.K
245
- k=1.38*(10**(-23)) ##boltzmann constant for gas particle kinetic energy
246
- Tm=14.025 ## hydrojen melting point in K
247
-
248
- vacuum_permeability=1
249
- π=3.14
250
- e=2.71828
251
- k=9*10**9
252
-
253
- R_J=8.314 #J/mol.K : The molar gas constant or ideal gas constant.
254
- R_Lit=0.08 #Lit.atm/mol.K
255
- R_cal=1.98 #Cal/mol.K
256
- R_cm3=82.06 #cm^3.atm/mol.K
257
- C_V_J_1=12.471 #J/mol.K :The Monoatomic ideal gas constant-VOLUME specific heat.:: C_V=1.5R
258
- C_V_J_2=20.785 #J/mol.K :The Diatomic ideal gas constant-VOLUME specific heat.:: C_V=2.5R
259
- C_V_J_more=29.099 #J/mol.K :The Polyatomic ideal gas constant-VOLUME specific heat.:: C_V=3.5R
260
- C_V_Cal_1=2.97 #Cal/mol.K :The Monoatomic ideal gas constant-VOLUME specific heat.:: C_V=1.5R
261
- C_V_Cal_2=4.95 #Cal/mol.K :The Diatomic ideal gas constant-VOLUME specific heat.:: C_V=2.5R
262
- C_V_Cal_more=6.93 #Cal/mol.K :The Polyatomic ideal gas constant-VOLUME specific heat.:: C_V=3.5R
263
- C_P_J_1=20.785 #J/mol.K :The Monoatomic ideal gas constant-PRESSURE specific heat.:: C_P=2.5R
264
- C_P_J_2=29.099 #J/mol.K :The Diatomic ideal gas constant-PRESSURE specific heat.:: C_P=3.5R
265
- C_P_J_more=37.413 #J/mol.K :The Polyatomic ideal gas constant-PRESSURE specific heat. :: C_V=4.5R
266
- C_P_Cal_1=4.95 #Cal/mol.K :The Monoatomic ideal gas constant-PRESSURE specific heat.:: C_P=2.5R
267
- C_P_Cal_2=6.93 #Cal/mol.K :The Diatomic ideal gas constant-PRESSURE specific heat.:: C_P=3.5R
268
- C_P_Cal_more=8.91 #Cal/mol.K :The Polyatomic ideal gas constant-PRESSURE specific heat. :: C_V=4.5R
269
- Pi=3.14 #The number π is a mathematical constant that is the ratio of a circle's circumference to its diameter.
270
- h=6.62*10**(-34) #kg.m^2/s
271
- R = 8.314 # Gas constant --> j/mol*k
272
-
273
- a = 6.0232 * (10**23) # Avogadro constant --> 1/mol
274
-
275
- k = 1.38054 * (10**23) # Boltzmann constant --> joules/degree
276
-
277
- F = 2306 # Faraday constant --> calories/volt*mol
278
-
279
- h = 6626068 * (10**34) # Planck constant --> J*s
280
-
281
- c = 4.18 # Specific heat capacity of liquid water
282
-
283
- m = 9.1093837015 * (10**(-34)) # Electron mass --> kg
284
-
285
- k=1.38054*10**-23
286
- # k is Boltzman constant and in terms jouls/degree
287
-
288
- R=8.314
289
- # R is gasses constant in terms jouls/degree,mole
290
-
291
- F=23060
292
- # F is Faraday constant in terms calories/Volt.mole
293
-
294
- a=6.0232*10**23
295
- # a is Avogadro constant in terms /gr.mole
296
-
297
- h=6.62607015*10**-34
298
- # h is Planck's constant in terms kg.m2.s-1
299
-
300
- G=6.674*10*-11
301
- # G is universal gravitational constant
302
-
303
- Boltzmann_Constant=1.380649*(10**(-23)) #joule per kelvin (J/K)
304
- Avogadro_Constant=6.02214*(10**23) #per moles (mol-1)
305
- Faraday_Constant=96485.3399 #coulombs per mole of electrons (C/mol)
306
- Planck_Constant=6.62607015*(10**(-34)) #joule second (J.s)
307
- Elementary_Charge=1.602176634*(10**(-19)) #coulombs (C)
308
- Light_Speed_Constant=299792458 #meters per second (m/s)
309
-
310
- ### constnats
311
- me = 9.11e-31 # Electron Rest Mass Kg
312
- mp = 1.67264e-27 # Proton Rest Mass kg
313
- e = 1.60218e-19 # Elementary Charge C(coulomb)
314
- c = 2.99792e8 # Speed of Light in Vacuum m/s
315
- h = 6.62617e-34 # Planck Constant J-s(joule-seconds)
316
- ħ = 1.05458e-34 # Reduced Planck Constant (ħ = h/2π)
317
- k = 1.38066e-23 # Boltzmann Constant J/K (joules per kelvin)
318
- eV = 1.60218e-19 # Electron Volt J (joules)
319
-
320
- #section one
321
- E0=8.8541878128*10**(-12) #vacuum permittivity
322
- u0=1.256637061436*10**(-6) #vacuum permeability
323
- h=6.626068*10**(-34) #planck constant
324
- k=1.380649*10**(-23) #boltzman constant
325
- Ke=8.9879*10**(9) #coulomb constant
326
-
327
- g=6.673*10**-11 #(N.m**2/kg**2)Gravitational_constant
328
- G=6.673*10**-11 #(N.m**2/kg**2)Gravitational_constant
329
- m_earth=5.972*(10**24) #(kg)Mass_of_Earth
330
- m_sun=1.989*(10**30) #(kg)Mass_of_the_Sun
331
- m_mars=6.41693*(10**23) #kg)Mass_of_the_Mars
332
- r_earth_sun=1.496*(10**11) #(m)Average_distance_from_Earth_to_the_Sun
333
- r_mars_sun=220.14*(10**9) #(m)Average_distance_from_Mars_to_the_Sun
334
-
335
-
336
- B = 1.38e-23 # Boltzman constant J/k
337
- EC = 1.602e-19 # Electron charge C
338
- Er = 2.81792e-15 # Electron radius m
339
- FC = 9.648e4 # Faraday constant C/mol
340
- PC = 6.626e-34 # Plank constant Js
341
- AG = 9.8 # Acceleration gravity m/s^2
342
-
343
-
344
-
345
- NA = 6.02214076 * (10 ** 23) #Avogadro constant (1/mol)
346
- h = 6.62607015 * (10 ** -34) #Planck constant (J/Hz)
347
- k = 1.380649 * (10 ** -23) #Boltzmann constant (J/K)
348
- F = 96485.3321233100184 #Faraday constant (C/mol)
349
- c = 2.99792458 * (10 ** 8) #Light speed in vacuum (m/s)
350
-
351
- N=6.02214*math.pow(10,23)
352
- #Avogadro Number, 1/mole
353
- R=8.3145
354
- #Universal Gas Constant, j/(mol.K)
355
- Kb=1.380649*math.pow(10,-23)
356
- #Boltzmann Constant, j/K
357
- Ksb=5.67*math.pow(10,-8)
358
- #Stephan-Boltzmann Constant, W/(k^4.m^2)
359
- h=6.6236*math.pow(10,-36)
360
- #Planck Constant, j.s
361
-
362
- LEARNING_RATE = 0.01
363
- MAX_DEPTH = 10
364
- DEFAULT_TIMEOUT = 30
365
- CACHE_SIZE = 1024
366
- #Avogadro Number (1/mol)
367
- NA=6.22*10**23
242
+ # Latent heat of fusion for ice (J/g)
243
+ latent_heat_fusion_ice = 334 # J/g
368
244
 
369
- #Faraday Constant (C/mol)
370
- F= 96485.33
245
+ # Latent heat of vaporization for water (J/g)
246
+ latent_heat_vaporization_water_25C = 2260 # J/g
371
247
 
372
- #Atomic Mass Comstant
373
- amu=1.660538*10**(-27)
374
248
 
375
- #Gas Constant (J/(mol.K))
376
- R=8.3144
249
+ # --- Material Science ---
377
250
 
378
- #Planck Constant (J.s)
379
- h=6.626*10**(-34)
251
+ # Young's Modulus for Steel (Pa)
252
+ youngs_modulus_steel = 2.1e11 # Pa
380
253
 
381
- #Molar Volume of an Ideal Gas at STP (L/mol)
382
- MV=22.414
254
+ # Young's Modulus for Aluminum (Pa)
255
+ youngs_modulus_aluminum = 7.0e10 # Pa
383
256
 
384
- #Electron Mass (kg)
385
- me=9.109*10**(-31)
257
+ # Poisson's Ratio for Steel
258
+ poissons_ratio_steel = 0.3 # dimensionless
386
259
 
387
- #Proton Mass (kg)
388
- mp=1.673*10**(-27)
260
+ # Poisson's Ratio for Aluminum
261
+ poissons_ratio_aluminum = 0.33 # dimensionless
389
262
 
390
- #Neutron Mass (kg)
391
- mn=1.675*10**(-27)
263
+ # --- Mass Transfer Constants ---
392
264
 
393
- eps=2.2204e-16 # epsilon
394
- e=2.71828 # adad Neper
395
- pi=3.14
396
- phi=1.618033 # Golden Ratio
397
- G=6.67e-11 # Gravitational constant
398
- g=9.82 #shetab Geranesh
265
+ # Diffusion coefficient of oxygen in water at 25°C (m²/s)
266
+ diffusion_oxygen_water = 2.3e-9 # m²/s
399
267
 
400
- N=6.02214076*(10**23) #Avagadro's Number
401
- R=8.3145 #Gas Constant
402
- K=1.380649*(10**-23) #Boltzmann constant
403
- e=2.71828 #Euler's Number
404
- # Ideal gas constant
405
- R = 8.314 # J/mole.K
268
+ # Diffusion coefficient of carbon dioxide in water at 25°C (m²/s)
269
+ diffusion_CO2_water = 1.3e-9 # m²/s
406
270
 
271
+ # Diffusion coefficient of air in water (m²/s)
272
+ diffusion_air_water = 2.2e-5 # m²/s
407
273
 
408
- #Avogadro's number
409
- NA = 6.023*10**23
274
+ # Diffusion coefficient of hydrogen in water (m²/s)
275
+ diffusion_hydrogen_water = 5.2e-9 # m²/s
410
276
 
411
- # Faraday's Constant
412
- F= 96485 #C/mole
413
- #Boltzmann Constant
414
- #Planck's Constant
415
- h = 6.626*10**-34 #JS
277
+ # Diffusion coefficient of sodium chloride in water (m²/s)
278
+ diffusion_NaCl_water = 1.2e-9 # m²/s
416
279
 
417
- Electron_Charge_Constant=1.602*(10**-19)
418
- Universal_Gas_Constant=8.314
419
- Avogadro_Num=6.022*(10**23)
420
- Planck_Constant=6.62607*(10**-34)
421
- Young_Modulus_Steel=200
280
+ # --- Electrical Constants ---
422
281
 
423
- E=190 #Young's modulus of steel at room temperature (GPA).
424
- e=1 #Coefficient of restitution for perfectly elastic collision.
425
- K=2.1 #Bulk's modulus of water at room temperature (GPA).
426
- air_p=1013.25 #Air pressure at sea level (hPA).
427
- g=9.81 #The acceleration due to gravity, Near Earth's surface (m/s2).
282
+ # Permittivity of free space (F/m)
283
+ epsilon_0 = 8.854187817e-12 # F/m
428
284
 
285
+ # Electric constant (C²/N·m²)
286
+ epsilon_0_SI = 8.854187817e-12 # C²/N·m²
429
287
 
430
- S_F=1.5 #Safety factor considered for calculation of weld permitted stress
431
- W_F=0.85 #Weld factor considered for calculation of weld permitted stress
432
- H_E=.9 #Heat efficiency considered for calculation of the heat input for gas metal arc welding
433
- Z_L_F=0.7 #Z-loss factor considered for calculation of fillet weld size for horizontal welding position and joint angle of 20 degrees
434
- B_K=0.8 #A constant considered for calculation of a column's free length under buckling
288
+ # Vacuum permeability (T·m/A)
289
+ mu_0 = 4 * Pi * 1e-7 # T·m/A
435
290
 
291
+ # Electric potential of the electron (V)
292
+ electric_potential_electron = 4.8032e-10 # V
436
293
 
437
- Melting_Iron=1538
438
- Peritectic_Reaction=1495
439
- Eutectic_Point=1147
440
- A3=912
441
- Eutectoid_Reaction=727
294
+ # Resistivity of Copper (Ω·m)
295
+ resistivity_copper = 1.68e-8 # Ω·m
442
296
 
443
- R = 0.0821 #universal gas constant in L.atm/(K.mole)
444
- n = 1.0 #mole
445
- V = 22.4 #the Volume of the ideal gas in room temp (L)
446
- T = 298.15 #Room Temperature (K)
447
- a = 1.39 #پارامتر ثابت برای گاز نیتروژن در معادله واندروالس L^2.atm/mole^2
448
- b = 39.1 #پارامتر ثابت برای گاز نیتروژن در معادله واندروالس cm^3/mole
449
- surface_crack_value = 1.12 #ضریب کالیبراسیون برای ترک سطحی یا خارجی
450
- circule_crack_value = 2/3.1415 #ضریب کالیبراسیون برای ترک سکه ای
451
- internal_crack_value = 1 #ضریب کالیبراسیون برای ترک داخلی
297
+ # Resistivity of Aluminum (Ω·m)
298
+ resistivity_aluminum = 2.82e-8 # Ω·m
452
299
 
300
+ # Resistivity of Iron (Ω·m)
301
+ resistivity_iron = 9.71e-8 # Ω·m
453
302
 
303
+ # --- Magnetism & Electromagnetic Fields ---
454
304
 
455
- fib_number=1.618 #adad fibonacci
456
- byte_bits=8 #tedad bit haye mojod dar yek tabe
457
- max_byte=225 #max meghdar yek byte
458
- boolean_number=1 #meghdar boole ke dar donyaye digital 1=true hast
459
- binary_base=2 #adad ke kol sestemeh kamputer roye an sakhte shode
305
+ # Magnetic permeability of free space (T·m/A)
306
+ magnetic_permeability = 4 * Pi * 1e-7 # T·m/A
460
307
 
308
+ # Bohr magneton (J/T)
309
+ bohr_magneton = 9.274e-24 # J/T
461
310
 
311
+ # Magnetic field of the Earth (T)
312
+ earth_magnetic_field = 25e-6 # T
462
313
 
463
314
 
464
- R = 8.314 # ideal gas constant (J/mol.K)
465
- c = 2.998e+8 # speed of light in vacun (m/s)
466
- N0 = 6.022e+23 # Avogadro's number
467
- h = 6.6256e-34 # plank's constant (J/Hz)
468
- k = 1.38054e+23 # boltzmann constant (J/K)
315
+ # --- Geophysical Constants ---
469
316
 
317
+ # Earth's radius (m)
318
+ radius_earth = 6.371e6 # meters
470
319
 
320
+ # Earth's surface area (m²)
321
+ area_earth = 4 * Pi * radius_earth**2 # m²
471
322
 
472
- Avogadro_Number=6.02214076e23 # mol^-1 (Avogadro's number: the quantity of defined entities (particles, atoms, molecules, etc) that contained in one mole of a substance).
323
+ # Earth's mass (kg)
324
+ earth_mass = 5.972e24 # kg
473
325
 
474
- Boltzmann_Constant=1.380649e-23 # J/K (Boltzmann constant: relates the average kinetic energy of particles in a gas to the absolute temperature).
326
+ # Earth's volume (m³)
327
+ earth_volume = 1.08321e12 # km³
475
328
 
476
- Aluminum_Kalpha_Energy=1486.6 # eV (Energy of the Kα X-ray emission line from an aluminum anode, commonly used in XPS analysis).
329
+ # Earth's surface area (m²)
330
+ earth_surface_area = 5.100e14 # m²
477
331
 
478
- Redox_Potential_H2O_OH_radical=1.97 # eV (Standard redox potential of the H2O/·OH couple at neutral pH, indicating the high oxidizing power of hydroxyl radicals).
479
332
 
480
- Energy_free_electrons=4.5 # eV (Energy of free electrons on the Standard Hydrogen Electrode (SHE) scale).
333
+ # --- Thermodynamic Constants ---
481
334
 
335
+ # Critical temperature of water (K)
336
+ critical_temperature_water = 647.1 # K
337
+
338
+ # Critical pressure of water (Pa)
339
+ critical_pressure_water = 22.064e6 # Pa
340
+
341
+ # Latent heat of vaporization of water at 100°C (J/kg)
342
+ latent_heat_vaporization_water = 2260e3 # J/kg
343
+
344
+
345
+ # Standard enthalpy of formation of water at 25°C (kJ/mol)
346
+ enthalpy_formation_water = -241.8 # kJ/mol
347
+
348
+ # Standard Gibbs free energy of formation of water at 25°C (kJ/mol)
349
+ gibbs_free_energy_water = -237.13 # kJ/mol
350
+
351
+ # Boltzmann constant (J/K)
352
+ boltzmann_constant = 1.380649e-23 # J/K
353
+
354
+ # Ideal gas constant (J/mol·K)
355
+ R_ideal = 8.314462618 # J/mol·K
356
+
357
+ # Avogadro’s constant (mol⁻¹)
358
+ avogadro_constant = 6.02214076e23 # mol⁻¹
359
+
360
+ # --- Atomic Constants ---
361
+
362
+ # Atomic mass unit (kg)
363
+ atomic_mass_unit = 1.66053906660e-27 # kg
364
+
365
+ # Rest mass of electron (kg)
366
+ electron_mass = 9.10938356e-31 # kg
367
+
368
+ # Rest mass of proton (kg)
369
+ proton_mass = 1.6726219e-27 # kg
370
+
371
+ # Rest mass of neutron (kg)
372
+ neutron_mass = 1.675e-27 # kg
373
+
374
+ # --- Quantum Mechanics ---
375
+
376
+ # Reduced Planck's constant (J·s)
377
+ h_bar = 1.0545718e-34 # J·s
378
+
379
+ # Fine structure constant (dimensionless)
380
+ alpha_fine_structure = 7.297e-3 # dimensionless
381
+
382
+ # --- Fluid Dynamics ---
383
+
384
+ # Reynolds number for transition (dimensionless)
385
+ Re_transition = 2000 # dimensionless
386
+
387
+ # Reynolds number for turbulence (dimensionless)
388
+ Re_turbulence = 4000 # dimensionless
389
+
390
+
391
+ # Fine-structure constant (dimensionless)
392
+ alpha_fine_structure = 7.297e-3 # dimensionless
393
+
394
+ # Compton wavelength of the electron (m)
395
+ compton_wavelength_electron = 2.426e-12 # m
396
+
397
+ # Planck length (m)
398
+ planck_length = 1.616255e-35 # m
399
+
400
+ # Planck mass (kg)
401
+ planck_mass = 2.176434e-8 # kg
402
+
403
+ # Planck time (s)
404
+ planck_time = 5.391e-44 # s
405
+
406
+ # Planck temperature (K)
407
+ planck_temperature = 1.416784e32 # K
408
+
409
+
410
+
411
+ # --- Electrochemistry ---
412
+
413
+ # Electrode potential of the standard hydrogen electrode (V)
414
+ standard_hydrogen_potential = 0 # Volts
415
+
416
+ # --- Nuclear Physics ---
417
+
418
+ # Rydberg constant (m⁻¹)
419
+ rydberg_constant = 1.097373e7 # m⁻¹
420
+
421
+ # Neutron capture cross-section for Uranium-235 (barns)
422
+ neutron_capture_cross_section_U235 = 680 # barns
423
+
424
+ # Nuclear fusion energy of Deuterium-Tritium reaction (J)
425
+ fusion_energy_D_T = 17.6e6 # Joules
426
+
427
+ # --- Optics ---
428
+
429
+ # Refractive index of vacuum (dimensionless)
430
+ n_vacuum = 1 # dimensionless
431
+
432
+ # Refractive index of water (dimensionless)
433
+ n_water = 1.333 # dimensionless
434
+
435
+ # Refractive index of air (dimensionless)
436
+ n_air = 1.0003 # dimensionless
437
+
438
+ # --- Thermodynamics ---
439
+
440
+ # Standard temperature (K)
441
+ T_standard = 298.15 # K
442
+
443
+ # Standard pressure (Pa)
444
+ P_standard = 101325 # Pa
445
+
446
+
447
+
448
+ # --- Surface Tension ---
449
+
450
+ # Surface tension of water at 25°C (N/m)
451
+ surface_tension_water = 0.0728 # N/m
452
+
453
+ # Surface tension of mercury at 25°C (N/m)
454
+ surface_tension_mercury = 0.485 # N/m
455
+
456
+
457
+
458
+ #----------------------------
459
+ #----------------------------
460
+ #-----Material Properties----
461
+ #----------------------------
462
+ #----------------------------
463
+
464
+
465
+ # Periodic Table: Elements and Their Melting Points (Tm in Kelvin)
466
+
467
+ ELEMENTS_Tm = {
468
+ "H": 14.01, # Hydrogen
469
+ "He": 0.95, # Helium
470
+ "Li": 453.65, # Lithium
471
+ "Be": 1560, # Beryllium
472
+ "B": 2349, # Boron
473
+ "C": 3823, # Carbon (graphite)
474
+ "N": 63.15, # Nitrogen
475
+ "O": 54.36, # Oxygen
476
+ "F": 53.53, # Fluorine
477
+ "Ne": 24.56, # Neon
478
+ "Na": 370.87, # Sodium
479
+ "Mg": 923, # Magnesium
480
+ "Al": 933.47, # Aluminum
481
+ "Si": 1687, # Silicon
482
+ "P": 317.3, # Phosphorus (white)
483
+ "S": 388.36, # Sulfur
484
+ "Cl": 171.6, # Chlorine
485
+ "Ar": 83.8, # Argon
486
+ "K": 336.53, # Potassium
487
+ "Ca": 1115, # Calcium
488
+ "Sc": 1814, # Scandium
489
+ "Ti": 1941, # Titanium
490
+ "V": 2183, # Vanadium
491
+ "Cr": 2180, # Chromium
492
+ "Mn": 1519, # Manganese
493
+ "Fe": 1811, # Iron
494
+ "Co": 1768, # Cobalt
495
+ "Ni": 1728, # Nickel
496
+ "Cu": 1357.77, # Copper
497
+ "Zn": 692.68, # Zinc
498
+ "Ga": 302.91, # Gallium
499
+ "Ge": 1211.4, # Germanium
500
+ "As": 1090, # Arsenic (sublimes)
501
+ "Se": 494, # Selenium
502
+ "Br": 265.8, # Bromine
503
+ "Kr": 115.78, # Krypton
504
+ "Rb": 312.46, # Rubidium
505
+ "Sr": 1050, # Strontium
506
+ "Y": 1799, # Yttrium
507
+ "Zr": 2128, # Zirconium
508
+ "Nb": 2750, # Niobium
509
+ "Mo": 2896, # Molybdenum
510
+ "Tc": 2430, # Technetium
511
+ "Ru": 2607, # Ruthenium
512
+ "Rh": 2237, # Rhodium
513
+ "Pd": 1828.05, # Palladium
514
+ "Ag": 1234.93, # Silver
515
+ "Cd": 594.22, # Cadmium
516
+ "In": 429.75, # Indium
517
+ "Sn": 505.08, # Tin
518
+ "Sb": 903.78, # Antimony
519
+ "Te": 722.66, # Tellurium
520
+ "I": 386.85, # Iodine
521
+ "Xe": 161.36, # Xenon
522
+ "Cs": 301.59, # Cesium
523
+ "Ba": 1000, # Barium
524
+ "La": 1193, # Lanthanum
525
+ "Ce": 1068, # Cerium
526
+ "Pr": 1208, # Praseodymium
527
+ "Nd": 1297, # Neodymium
528
+ "Pm": 1315, # Promethium
529
+ "Sm": 1345, # Samarium
530
+ "Eu": 1099, # Europium
531
+ "Gd": 1585, # Gadolinium
532
+ "Tb": 1629, # Terbium
533
+ "Dy": 1680, # Dysprosium
534
+ "Ho": 1743, # Holmium
535
+ "Er": 1802, # Erbium
536
+ "Tm": 1818, # Thulium
537
+ "Yb": 1097, # Ytterbium
538
+ "Lu": 1925, # Lutetium
539
+ "Hf": 2506, # Hafnium
540
+ "Ta": 3290, # Tantalum
541
+ "W": 3695, # Tungsten
542
+ "Re": 3459, # Rhenium
543
+ "Os": 3306, # Osmium
544
+ "Ir": 2719, # Iridium
545
+ "Pt": 2041.4, # Platinum
546
+ "Au": 1337.33, # Gold
547
+ "Hg": 234.43, # Mercury
548
+ "Tl": 577, # Thallium
549
+ "Pb": 600.61, # Lead
550
+ "Bi": 544.7, # Bismuth
551
+ "Po": 527, # Polonium
552
+ "At": 575, # Astatine (estimated)
553
+ "Rn": 202, # Radon
554
+ "Fr": 300, # Francium (estimated)
555
+ "Ra": 973, # Radium
556
+ "Ac": 1323, # Actinium
557
+ "Th": 2023, # Thorium
558
+ "Pa": 1841, # Protactinium
559
+ "U": 1405.3, # Uranium
560
+ "Np": 917, # Neptunium
561
+ "Pu": 912.5, # Plutonium
562
+ "Am": 1449, # Americium
563
+ "Cm": 1613, # Curium
564
+ "Bk": 1323, # Berkelium
565
+ "Cf": 1173, # Californium
566
+ "Es": 1133, # Einsteinium
567
+ "Fm": 1125, # Fermium
568
+ "Md": 1100, # Mendelevium (est.)
569
+ "No": 1100, # Nobelium (est.)
570
+ "Lr": 1900, # Lawrencium (est.)
571
+ "Rf": None, # Rutherfordium (unknown)
572
+ "Db": None, # Dubnium
573
+ "Sg": None, # Seaborgium
574
+ "Bh": None, # Bohrium
575
+ "Hs": None, # Hassium
576
+ "Mt": None, # Meitnerium
577
+ "Ds": None, # Darmstadtium
578
+ "Rg": None, # Roentgenium
579
+ "Cn": None, # Copernicium
580
+ "Nh": None, # Nihonium
581
+ "Fl": None, # Flerovium
582
+ "Mc": None, # Moscovium
583
+ "Lv": None, # Livermorium
584
+ "Ts": None, # Tennessine
585
+ "Og": None, # Oganesson
586
+ }
587
+
588
+
589
+
590
+
591
+ # Periodic Table: Elements and Their Densities (g/cm³ at ~20°C)
592
+
593
+ ELEMENTS_DENSITY = {
594
+ "H": 0.00008988, # Hydrogen
595
+ "He": 0.0001785, # Helium
596
+ "Li": 0.534, # Lithium
597
+ "Be": 1.85, # Beryllium
598
+ "B": 2.34, # Boron
599
+ "C": 2.267, # Carbon (graphite)
600
+ "N": 0.0012506, # Nitrogen
601
+ "O": 0.001429, # Oxygen
602
+ "F": 0.001696, # Fluorine
603
+ "Ne": 0.0008999, # Neon
604
+ "Na": 0.971, # Sodium
605
+ "Mg": 1.738, # Magnesium
606
+ "Al": 2.70, # Aluminum
607
+ "Si": 2.3296, # Silicon
608
+ "P": 1.82, # Phosphorus (white)
609
+ "S": 2.067, # Sulfur
610
+ "Cl": 0.003214, # Chlorine
611
+ "Ar": 0.0017837, # Argon
612
+ "K": 0.862, # Potassium
613
+ "Ca": 1.54, # Calcium
614
+ "Sc": 2.989, # Scandium
615
+ "Ti": 4.54, # Titanium
616
+ "V": 6.11, # Vanadium
617
+ "Cr": 7.19, # Chromium
618
+ "Mn": 7.21, # Manganese
619
+ "Fe": 7.874, # Iron
620
+ "Co": 8.90, # Cobalt
621
+ "Ni": 8.908, # Nickel
622
+ "Cu": 8.96, # Copper
623
+ "Zn": 7.134, # Zinc
624
+ "Ga": 5.91, # Gallium
625
+ "Ge": 5.323, # Germanium
626
+ "As": 5.776, # Arsenic
627
+ "Se": 4.809, # Selenium
628
+ "Br": 3.119, # Bromine
629
+ "Kr": 0.003733, # Krypton
630
+ "Rb": 1.532, # Rubidium
631
+ "Sr": 2.64, # Strontium
632
+ "Y": 4.469, # Yttrium
633
+ "Zr": 6.52, # Zirconium
634
+ "Nb": 8.57, # Niobium
635
+ "Mo": 10.22, # Molybdenum
636
+ "Tc": 11.5, # Technetium
637
+ "Ru": 12.37, # Ruthenium
638
+ "Rh": 12.41, # Rhodium
639
+ "Pd": 12.02, # Palladium
640
+ "Ag": 10.49, # Silver
641
+ "Cd": 8.65, # Cadmium
642
+ "In": 7.31, # Indium
643
+ "Sn": 7.287, # Tin
644
+ "Sb": 6.685, # Antimony
645
+ "Te": 6.24, # Tellurium
646
+ "I": 4.933, # Iodine
647
+ "Xe": 0.005887, # Xenon
648
+ "Cs": 1.873, # Cesium
649
+ "Ba": 3.62, # Barium
650
+ "La": 6.145, # Lanthanum
651
+ "Ce": 6.770, # Cerium
652
+ "Pr": 6.773, # Praseodymium
653
+ "Nd": 7.007, # Neodymium
654
+ "Pm": 7.26, # Promethium
655
+ "Sm": 7.52, # Samarium
656
+ "Eu": 5.243, # Europium
657
+ "Gd": 7.90, # Gadolinium
658
+ "Tb": 8.229, # Terbium
659
+ "Dy": 8.55, # Dysprosium
660
+ "Ho": 8.795, # Holmium
661
+ "Er": 9.066, # Erbium
662
+ "Tm": 9.321, # Thulium
663
+ "Yb": 6.90, # Ytterbium
664
+ "Lu": 9.841, # Lutetium
665
+ "Hf": 13.31, # Hafnium
666
+ "Ta": 16.69, # Tantalum
667
+ "W": 19.25, # Tungsten
668
+ "Re": 21.02, # Rhenium
669
+ "Os": 22.59, # Osmium (densest element)
670
+ "Ir": 22.56, # Iridium
671
+ "Pt": 21.45, # Platinum
672
+ "Au": 19.32, # Gold
673
+ "Hg": 13.534, # Mercury
674
+ "Tl": 11.85, # Thallium
675
+ "Pb": 11.34, # Lead
676
+ "Bi": 9.78, # Bismuth
677
+ "Po": 9.196, # Polonium
678
+ "At": 7.0, # Astatine (estimated)
679
+ "Rn": 0.00973, # Radon
680
+ "Fr": 1.87, # Francium (estimated)
681
+ "Ra": 5.5, # Radium
682
+ "Ac": 10.07, # Actinium
683
+ "Th": 11.72, # Thorium
684
+ "Pa": 15.37, # Protactinium
685
+ "U": 18.95, # Uranium
686
+ "Np": 20.45, # Neptunium
687
+ "Pu": 19.84, # Plutonium
688
+ "Am": 13.69, # Americium
689
+ "Cm": 13.51, # Curium
690
+ "Bk": 14.79, # Berkelium
691
+ "Cf": 15.1, # Californium
692
+ "Es": None, # Einsteinium (unknown)
693
+ "Fm": None, # Fermium
694
+ "Md": None, # Mendelevium
695
+ "No": None, # Nobelium
696
+ "Lr": None, # Lawrencium
697
+ "Rf": None, # Rutherfordium
698
+ "Db": None, # Dubnium
699
+ "Sg": None, # Seaborgium
700
+ "Bh": None, # Bohrium
701
+ "Hs": None, # Hassium
702
+ "Mt": None, # Meitnerium
703
+ "Ds": None, # Darmstadtium
704
+ "Rg": None, # Roentgenium
705
+ "Cn": None, # Copernicium
706
+ "Nh": None, # Nihonium
707
+ "Fl": None, # Flerovium
708
+ "Mc": None, # Moscovium
709
+ "Lv": None, # Livermorium
710
+ "Ts": None, # Tennessine
711
+ "Og": None, # Oganesson
712
+ }
713
+
714
+
715
+
716
+
717
+ electronegativity = {
718
+ "H": 2.20, "He": None,
719
+ "Li": 0.98, "Be": 1.57, "B": 2.04, "C": 2.55, "N": 3.04, "O": 3.44, "F": 3.98, "Ne": None,
720
+ "Na": 0.93, "Mg": 1.31, "Al": 1.61, "Si": 1.90, "P": 2.19, "S": 2.58, "Cl": 3.16, "Ar": None,
721
+ "K": 0.82, "Ca": 1.00, "Sc": 1.36, "Ti": 1.54, "V": 1.63, "Cr": 1.66, "Mn": 1.55, "Fe": 1.83, "Co": 1.88, "Ni": 1.91, "Cu": 1.90, "Zn": 1.65, "Ga": 1.81, "Ge": 2.01, "As": 2.18, "Se": 2.55, "Br": 2.96, "Kr": 3.00,
722
+ "Rb": 0.82, "Sr": 0.95, "Y": 1.22, "Zr": 1.33, "Nb": 1.6, "Mo": 2.16, "Tc": 1.9, "Ru": 2.2, "Rh": 2.28, "Pd": 2.20, "Ag": 1.93, "Cd": 1.69, "In": 1.78, "Sn": 1.96, "Sb": 2.05, "Te": 2.1, "I": 2.66, "Xe": 2.6,
723
+ "Cs": 0.79, "Ba": 0.89, "La": 1.10, "Ce": 1.12, "Pr": 1.13, "Nd": 1.14, "Pm": 1.13, "Sm": 1.17, "Eu": 1.2, "Gd": 1.2, "Tb": 1.1, "Dy": 1.22, "Ho": 1.23, "Er": 1.24, "Tm": 1.25, "Yb": 1.1, "Lu": 1.27,
724
+ "Hf": 1.3, "Ta": 1.5, "W": 2.36, "Re": 1.9, "Os": 2.2, "Ir": 2.20, "Pt": 2.28, "Au": 2.54, "Hg": 2.00, "Tl": 1.62, "Pb": 2.33, "Bi": 2.02, "Po": 2.0, "At": 2.2, "Rn": None,
725
+ "Fr": 0.7, "Ra": 0.9, "Ac": 1.1, "Th": 1.3, "Pa": 1.5, "U": 1.38, "Np": 1.36, "Pu": 1.28, "Am": 1.13, "Cm": 1.28, "Bk": 1.3, "Cf": 1.3, "Es": 1.3, "Fm": None, "Md": None, "No": None, "Lr": None,
726
+ "Rf": None, "Db": None, "Sg": None, "Bh": None, "Hs": None, "Mt": None, "Ds": None, "Rg": None, "Cn": None, "Nh": None, "Fl": None, "Mc": None, "Lv": None, "Ts": None, "Og": None
727
+ }
728
+
729
+
730
+
731
+ atomic_radius = {
732
+ "H": 31, "He": 28,
733
+ "Li": 128, "Be": 96, "B": 84, "C": 76, "N": 71, "O": 66, "F": 57, "Ne": 58,
734
+ "Na": 166, "Mg": 141, "Al": 121, "Si": 111, "P": 107, "S": 105, "Cl": 102, "Ar": 106,
735
+ "K": 203, "Ca": 176, "Sc": 170, "Ti": 160, "V": 153, "Cr": 139, "Mn": 139, "Fe": 132, "Co": 126, "Ni": 124, "Cu": 132, "Zn": 122, "Ga": 122, "Ge": 120, "As": 119, "Se": 120, "Br": 120, "Kr": 116,
736
+ "Rb": 220, "Sr": 195, "Y": 190, "Zr": 175, "Nb": 164, "Mo": 154, "Tc": 147, "Ru": 146, "Rh": 142, "Pd": 139, "Ag": 145, "Cd": 144, "In": 142, "Sn": 139, "Sb": 139, "Te": 138, "I": 139, "Xe": 140,
737
+ "Cs": 244, "Ba": 215, "La": 195, "Ce": 185, "Pr": 247, "Nd": 206, "Pm": 205, "Sm": 238, "Eu": 231, "Gd": 233, "Tb": 225, "Dy": 228, "Ho": 226, "Er": 226, "Tm": 222, "Yb": 222, "Lu": 217,
738
+ "Hf": 208, "Ta": 200, "W": 193, "Re": 188, "Os": 185, "Ir": 180, "Pt": 177, "Au": 174, "Hg": 171, "Tl": 156, "Pb": 154, "Bi": 143, "Po": 135, "At": 127, "Rn": 120,
739
+ "Fr": 260, "Ra": 221, "Ac": 215, "Th": 206, "Pa": 200, "U": 196, "Np": 190, "Pu": 187, "Am": 180, "Cm": 169, "Bk": 168, "Cf": 168, "Es": 165, "Fm": 167, "Md": None, "No": None, "Lr": None,
740
+ "Rf": None, "Db": None, "Sg": None, "Bh": None, "Hs": None, "Mt": None, "Ds": None, "Rg": None, "Cn": None, "Nh": None, "Fl": None, "Mc": None, "Lv": None, "Ts": None, "Og": None
741
+ }
742
+
743
+
744
+
745
+ #Thermal Conductivity (Unit: W/(m·K), at 300 K
746
+
747
+ thermal_conductivity = {
748
+ "H": 0.1815, "He": 0.1513,
749
+ "Li": 84.7, "Be": 200, "B": 27, "C": 1400, "N": 0.02583, "O": 0.02658, "F": 0.0277, "Ne": 0.0491,
750
+ "Na": 142, "Mg": 156, "Al": 237, "Si": 149, "P": 0.236, "S": 0.269, "Cl": 0.0089, "Ar": 0.0177,
751
+ "K": 102, "Ca": 201, "Sc": 16, "Ti": 21.9, "V": 30.7, "Cr": 93.7, "Mn": 7.81, "Fe": 80.2, "Co": 100, "Ni": 90.9,
752
+ "Cu": 401, "Zn": 116, "Ga": 29, "Ge": 60.2, "As": 50, "Se": 0.52, "Br": 0.122, "Kr": 0.0095,
753
+ "Rb": 58.2, "Sr": 35.4, "Y": 17.2, "Zr": 22.7, "Nb": 53.7, "Mo": 138, "Tc": 50.6, "Ru": 117, "Rh": 150, "Pd": 71.8,
754
+ "Ag": 429, "Cd": 96.6, "In": 81.8, "Sn": 66.8, "Sb": 24.4, "Te": 2.35, "I": 0.449, "Xe": 0.00565,
755
+ "Cs": 36, "Ba": 18.4, "La": 13.4, "Ce": 11.3, "Pr": 12.5, "Nd": 16.5, "Pm": None, "Sm": 13.3, "Eu": 13.9,
756
+ "Gd": 10.6, "Tb": 11.1, "Dy": 10.7, "Ho": 16.2, "Er": 14.5, "Tm": 16.9, "Yb": 38.6, "Lu": 16.4,
757
+ "Hf": 23.0, "Ta": 57.5, "W": 173, "Re": 48, "Os": 87.6, "Ir": 147, "Pt": 71.6, "Au": 318, "Hg": 8.3,
758
+ "Tl": 46.1, "Pb": 35.3, "Bi": 7.97, "Po": None, "At": None, "Rn": 0.00361,
759
+ "Fr": None, "Ra": None, "Ac": None, "Th": 54, "Pa": None, "U": 27.5, "Np": None, "Pu": 6.74
760
+ }
761
+
762
+
763
+
764
+
765
+ #electrical Conductivity (Unit: 10⁶ S/m)
766
+ electrical_conductivity = {
767
+ "Li": 10.7, "Be": 25, "B": 1e-4, "C": 1e-5, "Na": 21, "Mg": 22.7, "Al": 37.7, "Si": 1.56e-4,
768
+ "P": 1e-9, "S": 5e-13, "K": 14, "Ca": 29.8, "Sc": 18.4, "Ti": 2.38, "V": 5, "Cr": 7.9, "Mn": 0.62,
769
+ "Fe": 10, "Co": 17.1, "Ni": 14.3, "Cu": 59.6, "Zn": 16.6, "Ga": 7.1, "Ge": 2.0, "As": 0.8,
770
+ "Se": 1e-9, "Br": 1e-11, "Rb": 7.9, "Sr": 7.7, "Y": 7.1, "Zr": 2.4, "Nb": 6.7, "Mo": 18.7,
771
+ "Tc": 5.8, "Ru": 14.1, "Rh": 22.8, "Pd": 9.5, "Ag": 62.1, "Cd": 13, "In": 11.5, "Sn": 8.7,
772
+ "Sb": 2.5, "Te": 0.5, "I": 1e-10, "Cs": 5.5, "Ba": 3.7, "La": 1.7, "Ce": 1.4, "Nd": 1.1,
773
+ "Sm": 1.2, "Gd": 1.0, "Tb": 0.85, "Dy": 1.1, "Ho": 1.2, "Er": 1.1, "Tm": 1.1, "Yb": 3.5,
774
+ "Lu": 2.2, "Hf": 3.1, "Ta": 7.9, "W": 18.2, "Re": 5.6, "Os": 10.6, "Ir": 18.7, "Pt": 9.43,
775
+ "Au": 45.2, "Hg": 10.4, "Tl": 5.8, "Pb": 4.55, "Bi": 0.77, "U": 3.57
776
+ }
777
+
778
+
779
+
780
+
781
+
782
+
783
+ #======================================
784
+ '''
785
+ The Element class is a Python class used to represent the properties of a chemical element. It holds attributes for various properties that define each element in terms of its atomic structure, physical properties, and electrical behavior. The class is initialized with the following parameters:
786
+
787
+ Parameters:
788
+
789
+ symbol: (str) The chemical symbol of the element (e.g., "H" for Hydrogen, "O" for Oxygen).
790
+ atomic_number: (int) The atomic number of the element, which represents the number of protons in the nucleus of an atom.
791
+ atomic_mass: (float) The atomic mass of the element, typically given in unified atomic mass units (u).
792
+ density: (float) The density of the element, given in grams per cubic centimeter (g/cm³).
793
+ melting_point: (float) The temperature at which the element changes from a solid to a liquid, given in Kelvin (K).
794
+ electronegativity: (float) The electronegativity of the element, which measures the ability of an atom to attract electrons towards itself when it forms a bond.
795
+ thermal_conductivity: (float) The ability of the element to conduct heat, expressed in watts per meter per Kelvin (W/(m·K)).
796
+ electrical_conductivity: (float) The ability of the element to conduct electricity, given in MegaSiemens per meter (MS/m).
797
+ atomic_radius: (float) The average distance from the nucleus to the outermost electron shell of the atom, measured in picometers (pm).
798
+ Methods:
799
+
800
+ __repr__: This method defines a string representation for the element object, which is useful when inspecting or printing the object. It provides a readable format for displaying the properties of the element.
801
+ '''
802
+
803
+
804
+
805
+
806
+
807
+ class Element:
808
+ """
809
+ A class representing a chemical element with key physical and atomic properties.
810
+
811
+ Attributes:
812
+ - symbol (str): The chemical symbol of the element (e.g., "H" for Hydrogen).
813
+ - atomic_number (int): The number of protons in the element's nucleus.
814
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
815
+ - density (float): The density of the element in g/cm³.
816
+ - melting_point (float): The melting point of the element in Kelvin (K).
817
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
818
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
819
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
820
+ - atomic_radius (float): The atomic radius in picometers (pm).
821
+ """
822
+ def __init__(self, symbol, atomic_number, atomic_mass, density, melting_point,
823
+ electronegativity, thermal_conductivity, electrical_conductivity, atomic_radius):
824
+ self.symbol = symbol
825
+ self.atomic_number = atomic_number
826
+ self.atomic_mass = atomic_mass
827
+ self.density = density
828
+ self.melting_point = melting_point
829
+ self.electronegativity = electronegativity
830
+ self.thermal_conductivity = thermal_conductivity
831
+ self.electrical_conductivity = electrical_conductivity
832
+ self.atomic_radius = atomic_radius
833
+
834
+ def __repr__(self):
835
+ return (f"{self.symbol}: Atomic Number={self.atomic_number}, Mass={self.atomic_mass} u, "
836
+ f"Density={self.density} g/cm³, Melting Point={self.melting_point} K, "
837
+ f"Electronegativity={self.electronegativity}, Thermal Conductivity={self.thermal_conductivity} W/(m·K), "
838
+ f"Electrical Conductivity={self.electrical_conductivity} MS/m, Radius={self.atomic_radius} pm")
839
+
840
+
841
+
842
+ # Specific element types
843
+ class H_Type(Element):
844
+ '''
845
+ Attributes:
846
+ - symbol (str): The chemical symbol of the element.
847
+ - atomic_number (int): The number of protons in the element's nucleus.
848
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
849
+ - density (float): The density of the element in g/cm³.
850
+ - melting_point (float): The melting point of the element in Kelvin (K).
851
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
852
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
853
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
854
+ - atomic_radius (float): The atomic radius in picometers (pm).
855
+
856
+ '''
857
+ def __init__(self):
858
+ super().__init__("H", 1, 1.008, 0.00008988, 14.01, 2.20, 0.1815, None, 53)
859
+
860
+
861
+
862
+ class He_Type(Element):
863
+ '''
864
+ Attributes:
865
+ - symbol (str): The chemical symbol of the element.
866
+ - atomic_number (int): The number of protons in the element's nucleus.
867
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
868
+ - density (float): The density of the element in g/cm³.
869
+ - melting_point (float): The melting point of the element in Kelvin (K).
870
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
871
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
872
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
873
+ - atomic_radius (float): The atomic radius in picometers (pm).
874
+
875
+ '''
876
+ def __init__(self):
877
+ super().__init__("He", 2, 4.0026, 0.0001785, 0.95, None, 0.1513, None, 31)
878
+
879
+
880
+
881
+ class Li_Type(Element):
882
+ '''
883
+ Attributes:
884
+ - symbol (str): The chemical symbol of the element.
885
+ - atomic_number (int): The number of protons in the element's nucleus.
886
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
887
+ - density (float): The density of the element in g/cm³.
888
+ - melting_point (float): The melting point of the element in Kelvin (K).
889
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
890
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
891
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
892
+ - atomic_radius (float): The atomic radius in picometers (pm).
893
+
894
+ '''
895
+ def __init__(self):
896
+ super().__init__("Li", 3, 6.94, 0.534, 453.65, 0.98, 84.7, 1.08e7, 167)
897
+
898
+
899
+
900
+ class Be_Type(Element):
901
+ '''
902
+ Attributes:
903
+ - symbol (str): The chemical symbol of the element.
904
+ - atomic_number (int): The number of protons in the element's nucleus.
905
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
906
+ - density (float): The density of the element in g/cm³.
907
+ - melting_point (float): The melting point of the element in Kelvin (K).
908
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
909
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
910
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
911
+ - atomic_radius (float): The atomic radius in picometers (pm).
912
+
913
+ '''
914
+ def __init__(self):
915
+ super().__init__("Be", 4, 9.0122, 1.848, 1560, 1.57, 200, 2.5e7, 112)
916
+
917
+
918
+
919
+ class B_Type(Element):
920
+ '''
921
+ Attributes:
922
+ - symbol (str): The chemical symbol of the element.
923
+ - atomic_number (int): The number of protons in the element's nucleus.
924
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
925
+ - density (float): The density of the element in g/cm³.
926
+ - melting_point (float): The melting point of the element in Kelvin (K).
927
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
928
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
929
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
930
+ - atomic_radius (float): The atomic radius in picometers (pm).
931
+
932
+ '''
933
+ def __init__(self):
934
+ super().__init__("B", 5, 10.81, 2.34, 2349, 2.04, 27, 1e4, 87)
935
+
936
+
937
+
938
+ class C_Type(Element):
939
+ '''
940
+ Attributes:
941
+ - symbol (str): The chemical symbol of the element.
942
+ - atomic_number (int): The number of protons in the element's nucleus.
943
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
944
+ - density (float): The density of the element in g/cm³.
945
+ - melting_point (float): The melting point of the element in Kelvin (K).
946
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
947
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
948
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
949
+ - atomic_radius (float): The atomic radius in picometers (pm).
950
+
951
+ '''
952
+ def __init__(self):
953
+ super().__init__("C", 6, 12.011, 2.267, 3823, 2.55, 140, 1e4, 67)
954
+
955
+
956
+
957
+ class N_Type(Element):
958
+ '''
959
+ Attributes:
960
+ - symbol (str): The chemical symbol of the element.
961
+ - atomic_number (int): The number of protons in the element's nucleus.
962
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
963
+ - density (float): The density of the element in g/cm³.
964
+ - melting_point (float): The melting point of the element in Kelvin (K).
965
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
966
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
967
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
968
+ - atomic_radius (float): The atomic radius in picometers (pm).
969
+
970
+ '''
971
+ def __init__(self):
972
+ super().__init__("N", 7, 14.007, 0.0012506, 63.15, 3.04, 0.02583, None, 56)
973
+
974
+
975
+
976
+ class O_Type(Element):
977
+ '''
978
+ Attributes:
979
+ - symbol (str): The chemical symbol of the element.
980
+ - atomic_number (int): The number of protons in the element's nucleus.
981
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
982
+ - density (float): The density of the element in g/cm³.
983
+ - melting_point (float): The melting point of the element in Kelvin (K).
984
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
985
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
986
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
987
+ - atomic_radius (float): The atomic radius in picometers (pm).
988
+
989
+ '''
990
+ def __init__(self):
991
+ super().__init__("O", 8, 15.999, 0.001429, 54.36, 3.44, 0.02658, None, 48)
992
+
993
+
994
+
995
+ class F_Type(Element):
996
+ '''
997
+ Attributes:
998
+ - symbol (str): The chemical symbol of the element.
999
+ - atomic_number (int): The number of protons in the element's nucleus.
1000
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1001
+ - density (float): The density of the element in g/cm³.
1002
+ - melting_point (float): The melting point of the element in Kelvin (K).
1003
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1004
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1005
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1006
+ - atomic_radius (float): The atomic radius in picometers (pm).
1007
+
1008
+ '''
1009
+ def __init__(self):
1010
+ super().__init__("F", 9, 18.998, 0.001696, 53.53, 3.98, 0.0277, None, 42)
1011
+
1012
+
1013
+
1014
+ class Ne_Type(Element):
1015
+ '''
1016
+ Attributes:
1017
+ - symbol (str): The chemical symbol of the element.
1018
+ - atomic_number (int): The number of protons in the element's nucleus.
1019
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1020
+ - density (float): The density of the element in g/cm³.
1021
+ - melting_point (float): The melting point of the element in Kelvin (K).
1022
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1023
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1024
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1025
+ - atomic_radius (float): The atomic radius in picometers (pm).
1026
+
1027
+ '''
1028
+ def __init__(self):
1029
+ super().__init__("Ne", 10, 20.180, 0.0008999, 24.56, None, 0.0491, None, 38)
1030
+
1031
+
1032
+
1033
+ class Na_Type(Element):
1034
+ '''
1035
+ Attributes:
1036
+ - symbol (str): The chemical symbol of the element.
1037
+ - atomic_number (int): The number of protons in the element's nucleus.
1038
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1039
+ - density (float): The density of the element in g/cm³.
1040
+ - melting_point (float): The melting point of the element in Kelvin (K).
1041
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1042
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1043
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1044
+ - atomic_radius (float): The atomic radius in picometers (pm).
1045
+
1046
+ '''
1047
+ def __init__(self):
1048
+ super().__init__("Na", 11, 22.990, 0.971, 370.87, 0.93, 144, 2.1e7, 186)
1049
+
1050
+
1051
+
1052
+ class Mg_Type(Element):
1053
+ '''
1054
+ Attributes:
1055
+ - symbol (str): The chemical symbol of the element.
1056
+ - atomic_number (int): The number of protons in the element's nucleus.
1057
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1058
+ - density (float): The density of the element in g/cm³.
1059
+ - melting_point (float): The melting point of the element in Kelvin (K).
1060
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1061
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1062
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1063
+ - atomic_radius (float): The atomic radius in picometers (pm).
1064
+
1065
+ '''
1066
+ def __init__(self):
1067
+ super().__init__("Mg", 12, 24.305, 1.738, 923, 1.31, 156, 2.3e7, 160)
1068
+
1069
+
1070
+
1071
+ class Al_Type(Element):
1072
+ '''
1073
+ Attributes:
1074
+ - symbol (str): The chemical symbol of the element.
1075
+ - atomic_number (int): The number of protons in the element's nucleus.
1076
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1077
+ - density (float): The density of the element in g/cm³.
1078
+ - melting_point (float): The melting point of the element in Kelvin (K).
1079
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1080
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1081
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1082
+ - atomic_radius (float): The atomic radius in picometers (pm).
1083
+
1084
+ '''
1085
+ def __init__(self):
1086
+ super().__init__("Al", 13, 26.982, 2.70, 933.47, 1.61, 235, 3.77e7, 143)
1087
+
1088
+
1089
+
1090
+ class Si_Type(Element):
1091
+ '''
1092
+ Attributes:
1093
+ - symbol (str): The chemical symbol of the element.
1094
+ - atomic_number (int): The number of protons in the element's nucleus.
1095
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1096
+ - density (float): The density of the element in g/cm³.
1097
+ - melting_point (float): The melting point of the element in Kelvin (K).
1098
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1099
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1100
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1101
+ - atomic_radius (float): The atomic radius in picometers (pm).
1102
+
1103
+ '''
1104
+ def __init__(self):
1105
+ super().__init__("Si", 14, 28.085, 2.329, 1687, 1.90, 149, 1.38e7, 118)
1106
+
1107
+
1108
+
1109
+ class P_Type(Element):
1110
+ '''
1111
+ Attributes:
1112
+ - symbol (str): The chemical symbol of the element.
1113
+ - atomic_number (int): The number of protons in the element's nucleus.
1114
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1115
+ - density (float): The density of the element in g/cm³.
1116
+ - melting_point (float): The melting point of the element in Kelvin (K).
1117
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1118
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1119
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1120
+ - atomic_radius (float): The atomic radius in picometers (pm).
1121
+
1122
+ '''
1123
+ def __init__(self):
1124
+ super().__init__("P", 15, 30.974, 1.82, 317.3, 2.19, 0.0185, None, 110)
1125
+
1126
+
1127
+
1128
+ class S_Type(Element):
1129
+ '''
1130
+ Attributes:
1131
+ - symbol (str): The chemical symbol of the element.
1132
+ - atomic_number (int): The number of protons in the element's nucleus.
1133
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1134
+ - density (float): The density of the element in g/cm³.
1135
+ - melting_point (float): The melting point of the element in Kelvin (K).
1136
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1137
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1138
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1139
+ - atomic_radius (float): The atomic radius in picometers (pm).
1140
+
1141
+ '''
1142
+ def __init__(self):
1143
+ super().__init__("S", 16, 32.06, 2.067, 388.36, 2.58, 0.205, None, 105)
1144
+
1145
+
1146
+
1147
+ class Cl_Type(Element):
1148
+ '''
1149
+ Attributes:
1150
+ - symbol (str): The chemical symbol of the element.
1151
+ - atomic_number (int): The number of protons in the element's nucleus.
1152
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1153
+ - density (float): The density of the element in g/cm³.
1154
+ - melting_point (float): The melting point of the element in Kelvin (K).
1155
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1156
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1157
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1158
+ - atomic_radius (float): The atomic radius in picometers (pm).
1159
+
1160
+ '''
1161
+ def __init__(self):
1162
+ super().__init__("Cl", 17, 35.45, 0.003214, 171.6, 3.16, 0.00898, None, 99)
1163
+
1164
+
1165
+
1166
+ class Ar_Type(Element):
1167
+ '''
1168
+ Attributes:
1169
+ - symbol (str): The chemical symbol of the element.
1170
+ - atomic_number (int): The number of protons in the element's nucleus.
1171
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1172
+ - density (float): The density of the element in g/cm³.
1173
+ - melting_point (float): The melting point of the element in Kelvin (K).
1174
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1175
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1176
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1177
+ - atomic_radius (float): The atomic radius in picometers (pm).
1178
+
1179
+ '''
1180
+ def __init__(self):
1181
+ super().__init__("Ar", 18, 39.948, 0.0017837, 83.80, None, 0.0163, None, 71)
1182
+
1183
+
1184
+ class K_Type(Element):
1185
+ '''
1186
+ Attributes:
1187
+ - symbol (str): The chemical symbol of the element.
1188
+ - atomic_number (int): The number of protons in the element's nucleus.
1189
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1190
+ - density (float): The density of the element in g/cm³.
1191
+ - melting_point (float): The melting point of the element in Kelvin (K).
1192
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1193
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1194
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1195
+ - atomic_radius (float): The atomic radius in picometers (pm).
1196
+
1197
+ '''
1198
+ def __init__(self):
1199
+ super().__init__("K", 19, 39.098, 0.856, 336.53, 0.82, 102, 1.0e7, 196)
1200
+
1201
+
1202
+ class Ca_Type(Element):
1203
+ '''
1204
+ Attributes:
1205
+ - symbol (str): The chemical symbol of the element.
1206
+ - atomic_number (int): The number of protons in the element's nucleus.
1207
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1208
+ - density (float): The density of the element in g/cm³.
1209
+ - melting_point (float): The melting point of the element in Kelvin (K).
1210
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1211
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1212
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1213
+ - atomic_radius (float): The atomic radius in picometers (pm).
1214
+
1215
+ '''
1216
+ def __init__(self):
1217
+ super().__init__("Ca", 20, 40.078, 1.54, 1115, 1.00, 200, 2.3e7, 174)
1218
+
1219
+
1220
+
1221
+ class Sc_Type(Element):
1222
+ '''
1223
+ Attributes:
1224
+ - symbol (str): The chemical symbol of the element.
1225
+ - atomic_number (int): The number of protons in the element's nucleus.
1226
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1227
+ - density (float): The density of the element in g/cm³.
1228
+ - melting_point (float): The melting point of the element in Kelvin (K).
1229
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1230
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1231
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1232
+ - atomic_radius (float): The atomic radius in picometers (pm).
1233
+
1234
+ '''
1235
+ def __init__(self):
1236
+ super().__init__("Sc", 21, 44.956, 2.989, 1814, 1.36, 15.6, 1.2e7, 162)
1237
+
1238
+
1239
+
1240
+ class Ti_Type(Element):
1241
+ '''
1242
+ Attributes:
1243
+ - symbol (str): The chemical symbol of the element.
1244
+ - atomic_number (int): The number of protons in the element's nucleus.
1245
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1246
+ - density (float): The density of the element in g/cm³.
1247
+ - melting_point (float): The melting point of the element in Kelvin (K).
1248
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1249
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1250
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1251
+ - atomic_radius (float): The atomic radius in picometers (pm).
1252
+
1253
+ '''
1254
+ def __init__(self):
1255
+ super().__init__("Ti", 22, 47.867, 4.506, 1941, 1.54, 21.9, 2.4e7, 147)
1256
+
1257
+
1258
+
1259
+ class V_Type(Element):
1260
+ '''
1261
+ Attributes:
1262
+ - symbol (str): The chemical symbol of the element.
1263
+ - atomic_number (int): The number of protons in the element's nucleus.
1264
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1265
+ - density (float): The density of the element in g/cm³.
1266
+ - melting_point (float): The melting point of the element in Kelvin (K).
1267
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1268
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1269
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1270
+ - atomic_radius (float): The atomic radius in picometers (pm).
1271
+
1272
+ '''
1273
+ def __init__(self):
1274
+ super().__init__("V", 23, 50.9415, 6.11, 2183, 1.63, 30.7, 5.6e7, 134)
1275
+
1276
+
1277
+
1278
+ class Cr_Type(Element):
1279
+ '''
1280
+ Attributes:
1281
+ - symbol (str): The chemical symbol of the element.
1282
+ - atomic_number (int): The number of protons in the element's nucleus.
1283
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1284
+ - density (float): The density of the element in g/cm³.
1285
+ - melting_point (float): The melting point of the element in Kelvin (K).
1286
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1287
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1288
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1289
+ - atomic_radius (float): The atomic radius in picometers (pm).
1290
+
1291
+ '''
1292
+ def __init__(self):
1293
+ super().__init__("Cr", 24, 52.00, 7.19, 2180, 1.66, 24.9, 6.0e7, 128)
1294
+
1295
+
1296
+
1297
+ class Mn_Type(Element):
1298
+ '''
1299
+ Attributes:
1300
+ - symbol (str): The chemical symbol of the element.
1301
+ - atomic_number (int): The number of protons in the element's nucleus.
1302
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1303
+ - density (float): The density of the element in g/cm³.
1304
+ - melting_point (float): The melting point of the element in Kelvin (K).
1305
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1306
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1307
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1308
+ - atomic_radius (float): The atomic radius in picometers (pm).
1309
+
1310
+ '''
1311
+ def __init__(self):
1312
+ super().__init__("Mn", 25, 54.938, 7.43, 1519, 1.55, 73, 1.7e7, 127)
1313
+
1314
+
1315
+
1316
+ class Fe_Type(Element):
1317
+ '''
1318
+ Attributes:
1319
+ - symbol (str): The chemical symbol of the element.
1320
+ - atomic_number (int): The number of protons in the element's nucleus.
1321
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1322
+ - density (float): The density of the element in g/cm³.
1323
+ - melting_point (float): The melting point of the element in Kelvin (K).
1324
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1325
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1326
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1327
+ - atomic_radius (float): The atomic radius in picometers (pm).
1328
+
1329
+ '''
1330
+ def __init__(self):
1331
+ super().__init__("Fe", 26, 55.845, 7.874, 1811, 1.83, 100, 1.0e7, 126)
1332
+
1333
+
1334
+
1335
+ class Co_Type(Element):
1336
+ '''
1337
+ Attributes:
1338
+ - symbol (str): The chemical symbol of the element.
1339
+ - atomic_number (int): The number of protons in the element's nucleus.
1340
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1341
+ - density (float): The density of the element in g/cm³.
1342
+ - melting_point (float): The melting point of the element in Kelvin (K).
1343
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1344
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1345
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1346
+ - atomic_radius (float): The atomic radius in picometers (pm).
1347
+
1348
+ '''
1349
+ def __init__(self):
1350
+ super().__init__("Co", 27, 58.933, 8.90, 1768, 1.88, 68, 1.2e7, 125)
1351
+
1352
+
1353
+
1354
+ class Ni_Type(Element):
1355
+ '''
1356
+ Attributes:
1357
+ - symbol (str): The chemical symbol of the element.
1358
+ - atomic_number (int): The number of protons in the element's nucleus.
1359
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1360
+ - density (float): The density of the element in g/cm³.
1361
+ - melting_point (float): The melting point of the element in Kelvin (K).
1362
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1363
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1364
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1365
+ - atomic_radius (float): The atomic radius in picometers (pm).
1366
+
1367
+ '''
1368
+ def __init__(self):
1369
+ super().__init__("Ni", 28, 58.693, 8.912, 1728, 1.91, 91, 1.4e7, 124)
1370
+
1371
+
1372
+ class Cu_Type(Element):
1373
+ '''
1374
+ Attributes:
1375
+ - symbol (str): The chemical symbol of the element.
1376
+ - atomic_number (int): The number of protons in the element's nucleus.
1377
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1378
+ - density (float): The density of the element in g/cm³.
1379
+ - melting_point (float): The melting point of the element in Kelvin (K).
1380
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1381
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1382
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1383
+ - atomic_radius (float): The atomic radius in picometers (pm).
1384
+
1385
+ '''
1386
+ def __init__(self):
1387
+ super().__init__("Cu", 29, 63.546, 8.96, 1357.77, 1.90, 398, 5.8e7, 135)
1388
+
1389
+
1390
+
1391
+ class Zn_Type(Element):
1392
+ '''
1393
+ Attributes:
1394
+ - symbol (str): The chemical symbol of the element.
1395
+ - atomic_number (int): The number of protons in the element's nucleus.
1396
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1397
+ - density (float): The density of the element in g/cm³.
1398
+ - melting_point (float): The melting point of the element in Kelvin (K).
1399
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1400
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1401
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1402
+ - atomic_radius (float): The atomic radius in picometers (pm).
1403
+
1404
+ '''
1405
+ def __init__(self):
1406
+ super().__init__("Zn", 30, 65.38, 7.14, 692.68, 1.65, 116, 2.4e7, 139)
1407
+
1408
+
1409
+
1410
+ class Ga_Type(Element):
1411
+ '''
1412
+ Attributes:
1413
+ - symbol (str): The chemical symbol of the element.
1414
+ - atomic_number (int): The number of protons in the element's nucleus.
1415
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1416
+ - density (float): The density of the element in g/cm³.
1417
+ - melting_point (float): The melting point of the element in Kelvin (K).
1418
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1419
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1420
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1421
+ - atomic_radius (float): The atomic radius in picometers (pm).
1422
+
1423
+ '''
1424
+ def __init__(self):
1425
+ super().__init__("Ga", 31, 69.723, 5.91, 302.91, 1.81, 40, 4.5e7, 135)
1426
+
1427
+
1428
+
1429
+ class Ge_Type(Element):
1430
+ '''
1431
+ Attributes:
1432
+ - symbol (str): The chemical symbol of the element.
1433
+ - atomic_number (int): The number of protons in the element's nucleus.
1434
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1435
+ - density (float): The density of the element in g/cm³.
1436
+ - melting_point (float): The melting point of the element in Kelvin (K).
1437
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1438
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1439
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1440
+ - atomic_radius (float): The atomic radius in picometers (pm).
1441
+
1442
+ '''
1443
+ def __init__(self):
1444
+ super().__init__("Ge", 32, 72.630, 5.323, 1211.40, 2.01, 60, 4.0e7, 125)
1445
+
1446
+
1447
+
1448
+ class As_Type(Element):
1449
+ '''
1450
+ Attributes:
1451
+ - symbol (str): The chemical symbol of the element.
1452
+ - atomic_number (int): The number of protons in the element's nucleus.
1453
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1454
+ - density (float): The density of the element in g/cm³.
1455
+ - melting_point (float): The melting point of the element in Kelvin (K).
1456
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1457
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1458
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1459
+ - atomic_radius (float): The atomic radius in picometers (pm).
1460
+
1461
+ '''
1462
+ def __init__(self):
1463
+ super().__init__("As", 33, 74.922, 5.776, 1090, 2.18, 35, None, 120)
1464
+
1465
+
1466
+
1467
+ class Se_Type(Element):
1468
+ '''
1469
+ Attributes:
1470
+ - symbol (str): The chemical symbol of the element.
1471
+ - atomic_number (int): The number of protons in the element's nucleus.
1472
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1473
+ - density (float): The density of the element in g/cm³.
1474
+ - melting_point (float): The melting point of the element in Kelvin (K).
1475
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1476
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1477
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1478
+ - atomic_radius (float): The atomic radius in picometers (pm).
1479
+
1480
+ '''
1481
+ def __init__(self):
1482
+ super().__init__("Se", 34, 78.971, 4.79, 494.15, 2.55, 51, None, 116)
1483
+
1484
+
1485
+
1486
+ class Br_Type(Element):
1487
+ '''
1488
+ Attributes:
1489
+ - symbol (str): The chemical symbol of the element.
1490
+ - atomic_number (int): The number of protons in the element's nucleus.
1491
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1492
+ - density (float): The density of the element in g/cm³.
1493
+ - melting_point (float): The melting point of the element in Kelvin (K).
1494
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1495
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1496
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1497
+ - atomic_radius (float): The atomic radius in picometers (pm).
1498
+
1499
+ '''
1500
+ def __init__(self):
1501
+ super().__init__("Br", 35, 79.904, 3.12, 265.8, 2.96, 40, None, 114)
1502
+
1503
+
1504
+
1505
+ class Kr_Type(Element):
1506
+ '''
1507
+ Attributes:
1508
+ - symbol (str): The chemical symbol of the element.
1509
+ - atomic_number (int): The number of protons in the element's nucleus.
1510
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1511
+ - density (float): The density of the element in g/cm³.
1512
+ - melting_point (float): The melting point of the element in Kelvin (K).
1513
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1514
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1515
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1516
+ - atomic_radius (float): The atomic radius in picometers (pm).
1517
+
1518
+ '''
1519
+ def __init__(self):
1520
+ super().__init__("Kr", 36, 83.798, 3.749, 115.79, None, 0.00894, None, 112)
1521
+
1522
+
1523
+ class Rb_Type(Element):
1524
+ '''
1525
+ Attributes:
1526
+ - symbol (str): The chemical symbol of the element.
1527
+ - atomic_number (int): The number of protons in the element's nucleus.
1528
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1529
+ - density (float): The density of the element in g/cm³.
1530
+ - melting_point (float): The melting point of the element in Kelvin (K).
1531
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1532
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1533
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1534
+ - atomic_radius (float): The atomic radius in picometers (pm).
1535
+
1536
+ '''
1537
+ def __init__(self):
1538
+ super().__init__("Rb", 37, 85.468, 1.532, 312.46, 0.82, 73, 1.2e7, 303)
1539
+
1540
+
1541
+
1542
+ class Sr_Type(Element):
1543
+ '''
1544
+ Attributes:
1545
+ - symbol (str): The chemical symbol of the element.
1546
+ - atomic_number (int): The number of protons in the element's nucleus.
1547
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1548
+ - density (float): The density of the element in g/cm³.
1549
+ - melting_point (float): The melting point of the element in Kelvin (K).
1550
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1551
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1552
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1553
+ - atomic_radius (float): The atomic radius in picometers (pm).
1554
+
1555
+ '''
1556
+ def __init__(self):
1557
+ super().__init__("Sr", 38, 87.62, 2.64, 1382, 0.95, 35, 1.5e7, 249)
1558
+
1559
+
1560
+
1561
+ class Y_Type(Element):
1562
+ '''
1563
+ Attributes:
1564
+ - symbol (str): The chemical symbol of the element.
1565
+ - atomic_number (int): The number of protons in the element's nucleus.
1566
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1567
+ - density (float): The density of the element in g/cm³.
1568
+ - melting_point (float): The melting point of the element in Kelvin (K).
1569
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1570
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1571
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1572
+ - atomic_radius (float): The atomic radius in picometers (pm).
1573
+
1574
+ '''
1575
+ def __init__(self):
1576
+ super().__init__("Y", 39, 88.906, 4.469, 1795, 1.22, 29.3, 2.0e7, 220)
1577
+
1578
+
1579
+
1580
+ class Zr_Type(Element):
1581
+ '''
1582
+ Attributes:
1583
+ - symbol (str): The chemical symbol of the element.
1584
+ - atomic_number (int): The number of protons in the element's nucleus.
1585
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1586
+ - density (float): The density of the element in g/cm³.
1587
+ - melting_point (float): The melting point of the element in Kelvin (K).
1588
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1589
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1590
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1591
+ - atomic_radius (float): The atomic radius in picometers (pm).
1592
+
1593
+ '''
1594
+ def __init__(self):
1595
+ super().__init__("Zr", 40, 91.224, 6.52, 2128, 1.33, 20, 2.5e7, 206)
1596
+
1597
+
1598
+
1599
+ class Nb_Type(Element):
1600
+ '''
1601
+ Attributes:
1602
+ - symbol (str): The chemical symbol of the element.
1603
+ - atomic_number (int): The number of protons in the element's nucleus.
1604
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1605
+ - density (float): The density of the element in g/cm³.
1606
+ - melting_point (float): The melting point of the element in Kelvin (K).
1607
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1608
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1609
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1610
+ - atomic_radius (float): The atomic radius in picometers (pm).
1611
+
1612
+ '''
1613
+ def __init__(self):
1614
+ super().__init__("Nb", 41, 92.906, 8.57, 2750, 1.60, 24.7, 2.7e7, 198)
1615
+
1616
+
1617
+
1618
+ class Mo_Type(Element):
1619
+ '''
1620
+ Attributes:
1621
+ - symbol (str): The chemical symbol of the element.
1622
+ - atomic_number (int): The number of protons in the element's nucleus.
1623
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1624
+ - density (float): The density of the element in g/cm³.
1625
+ - melting_point (float): The melting point of the element in Kelvin (K).
1626
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1627
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1628
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1629
+ - atomic_radius (float): The atomic radius in picometers (pm).
1630
+
1631
+ '''
1632
+ def __init__(self):
1633
+ super().__init__("Mo", 42, 95.95, 10.22, 2896, 2.16, 142, 3.1e7, 190)
1634
+
1635
+
1636
+
1637
+ class Tc_Type(Element):
1638
+ '''
1639
+ Attributes:
1640
+ - symbol (str): The chemical symbol of the element.
1641
+ - atomic_number (int): The number of protons in the element's nucleus.
1642
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1643
+ - density (float): The density of the element in g/cm³.
1644
+ - melting_point (float): The melting point of the element in Kelvin (K).
1645
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1646
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1647
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1648
+ - atomic_radius (float): The atomic radius in picometers (pm).
1649
+
1650
+ '''
1651
+ def __init__(self):
1652
+ super().__init__("Tc", 43, 98.0, 11.50, 2430, 1.9, 80, 2.8e7, 179)
1653
+
1654
+
1655
+
1656
+ class Ru_Type(Element):
1657
+ '''
1658
+ Attributes:
1659
+ - symbol (str): The chemical symbol of the element.
1660
+ - atomic_number (int): The number of protons in the element's nucleus.
1661
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1662
+ - density (float): The density of the element in g/cm³.
1663
+ - melting_point (float): The melting point of the element in Kelvin (K).
1664
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1665
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1666
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1667
+ - atomic_radius (float): The atomic radius in picometers (pm).
1668
+
1669
+ '''
1670
+ def __init__(self):
1671
+ super().__init__("Ru", 44, 101.07, 12.37, 2607, 2.20, 123, 3.0e7, 171)
1672
+
1673
+
1674
+
1675
+ class Rh_Type(Element):
1676
+ '''
1677
+ Attributes:
1678
+ - symbol (str): The chemical symbol of the element.
1679
+ - atomic_number (int): The number of protons in the element's nucleus.
1680
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1681
+ - density (float): The density of the element in g/cm³.
1682
+ - melting_point (float): The melting point of the element in Kelvin (K).
1683
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1684
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1685
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1686
+ - atomic_radius (float): The atomic radius in picometers (pm).
1687
+
1688
+ '''
1689
+ def __init__(self):
1690
+ super().__init__("Rh", 45, 102.91, 12.41, 1964, 2.28, 123, 3.2e7, 169)
1691
+
1692
+
1693
+
1694
+ class Pd_Type(Element):
1695
+ '''
1696
+ Attributes:
1697
+ - symbol (str): The chemical symbol of the element.
1698
+ - atomic_number (int): The number of protons in the element's nucleus.
1699
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1700
+ - density (float): The density of the element in g/cm³.
1701
+ - melting_point (float): The melting point of the element in Kelvin (K).
1702
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1703
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1704
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1705
+ - atomic_radius (float): The atomic radius in picometers (pm).
1706
+
1707
+ '''
1708
+ def __init__(self):
1709
+ super().__init__("Pd", 46, 106.42, 12.02, 1828.05, 2.20, 96, 4.0e7, 165)
1710
+
1711
+
1712
+
1713
+ class Ag_Type(Element):
1714
+ '''
1715
+ Attributes:
1716
+ - symbol (str): The chemical symbol of the element.
1717
+ - atomic_number (int): The number of protons in the element's nucleus.
1718
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1719
+ - density (float): The density of the element in g/cm³.
1720
+ - melting_point (float): The melting point of the element in Kelvin (K).
1721
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1722
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1723
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1724
+ - atomic_radius (float): The atomic radius in picometers (pm).
1725
+
1726
+ '''
1727
+ def __init__(self):
1728
+ super().__init__("Ag", 47, 107.87, 10.49, 1235.08, 1.93, 63.1, 6.3e7, 162)
1729
+
1730
+
1731
+
1732
+ class Cd_Type(Element):
1733
+ '''
1734
+ Attributes:
1735
+ - symbol (str): The chemical symbol of the element.
1736
+ - atomic_number (int): The number of protons in the element's nucleus.
1737
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1738
+ - density (float): The density of the element in g/cm³.
1739
+ - melting_point (float): The melting point of the element in Kelvin (K).
1740
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1741
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1742
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1743
+ - atomic_radius (float): The atomic radius in picometers (pm).
1744
+
1745
+ '''
1746
+ def __init__(self):
1747
+ super().__init__("Cd", 48, 112.41, 8.69, 594.22, 1.69, 62, 1.8e7, 158)
1748
+
1749
+
1750
+
1751
+ class In_Type(Element):
1752
+ '''
1753
+ Attributes:
1754
+ - symbol (str): The chemical symbol of the element.
1755
+ - atomic_number (int): The number of protons in the element's nucleus.
1756
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1757
+ - density (float): The density of the element in g/cm³.
1758
+ - melting_point (float): The melting point of the element in Kelvin (K).
1759
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1760
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1761
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1762
+ - atomic_radius (float): The atomic radius in picometers (pm).
1763
+
1764
+ '''
1765
+ def __init__(self):
1766
+ super().__init__("In", 49, 114.82, 7.31, 156.6, 1.78, 82, 3.5e7, 156)
1767
+
1768
+
1769
+
1770
+ class Sn_Type(Element):
1771
+ '''
1772
+ Attributes:
1773
+ - symbol (str): The chemical symbol of the element.
1774
+ - atomic_number (int): The number of protons in the element's nucleus.
1775
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1776
+ - density (float): The density of the element in g/cm³.
1777
+ - melting_point (float): The melting point of the element in Kelvin (K).
1778
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1779
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1780
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1781
+ - atomic_radius (float): The atomic radius in picometers (pm).
1782
+
1783
+ '''
1784
+ def __init__(self):
1785
+ super().__init__("Sn", 50, 118.71, 7.31, 231.93, 1.96, 66, 2.2e7, 145)
1786
+
1787
+
1788
+
1789
+ class Sb_Type(Element):
1790
+ '''
1791
+ Attributes:
1792
+ - symbol (str): The chemical symbol of the element.
1793
+ - atomic_number (int): The number of protons in the element's nucleus.
1794
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1795
+ - density (float): The density of the element in g/cm³.
1796
+ - melting_point (float): The melting point of the element in Kelvin (K).
1797
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1798
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1799
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1800
+ - atomic_radius (float): The atomic radius in picometers (pm).
1801
+
1802
+ '''
1803
+ def __init__(self):
1804
+ super().__init__("Sb", 51, 121.76, 6.684, 904, 2.05, 8.6, None, 138)
1805
+
1806
+
1807
+
1808
+ class I_Type(Element):
1809
+ '''
1810
+ Attributes:
1811
+ - symbol (str): The chemical symbol of the element.
1812
+ - atomic_number (int): The number of protons in the element's nucleus.
1813
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1814
+ - density (float): The density of the element in g/cm³.
1815
+ - melting_point (float): The melting point of the element in Kelvin (K).
1816
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1817
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1818
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1819
+ - atomic_radius (float): The atomic radius in picometers (pm).
1820
+
1821
+ '''
1822
+ def __init__(self):
1823
+ super().__init__("I", 53, 126.90, 4.933, 113.7, 2.66, 0.149, None, 133)
1824
+
1825
+
1826
+
1827
+ class Xe_Type(Element):
1828
+ '''
1829
+ Attributes:
1830
+ - symbol (str): The chemical symbol of the element.
1831
+ - atomic_number (int): The number of protons in the element's nucleus.
1832
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1833
+ - density (float): The density of the element in g/cm³.
1834
+ - melting_point (float): The melting point of the element in Kelvin (K).
1835
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1836
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1837
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1838
+ - atomic_radius (float): The atomic radius in picometers (pm).
1839
+
1840
+ '''
1841
+ def __init__(self):
1842
+ super().__init__("Xe", 54, 131.29, 5.894, 165.03, None, 0.0055, None, 130)
1843
+
1844
+
1845
+
1846
+ class Cs_Type(Element):
1847
+ '''
1848
+ Attributes:
1849
+ - symbol (str): The chemical symbol of the element.
1850
+ - atomic_number (int): The number of protons in the element's nucleus.
1851
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1852
+ - density (float): The density of the element in g/cm³.
1853
+ - melting_point (float): The melting point of the element in Kelvin (K).
1854
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1855
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1856
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1857
+ - atomic_radius (float): The atomic radius in picometers (pm).
1858
+
1859
+ '''
1860
+ def __init__(self):
1861
+ super().__init__("Cs", 55, 132.91, 1.93, 301.59, 0.79, 72, 1.0e7, 265)
1862
+
1863
+
1864
+
1865
+ class Ba_Type(Element):
1866
+ '''
1867
+ Attributes:
1868
+ - symbol (str): The chemical symbol of the element.
1869
+ - atomic_number (int): The number of protons in the element's nucleus.
1870
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1871
+ - density (float): The density of the element in g/cm³.
1872
+ - melting_point (float): The melting point of the element in Kelvin (K).
1873
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1874
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1875
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1876
+ - atomic_radius (float): The atomic radius in picometers (pm).
1877
+
1878
+ '''
1879
+ def __init__(self):
1880
+ super().__init__("Ba", 56, 137.33, 3.62, 1000, 0.89, 182, 1.2e7, 253)
1881
+
1882
+
1883
+
1884
+ class La_Type(Element):
1885
+ '''
1886
+ Attributes:
1887
+ - symbol (str): The chemical symbol of the element.
1888
+ - atomic_number (int): The number of protons in the element's nucleus.
1889
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1890
+ - density (float): The density of the element in g/cm³.
1891
+ - melting_point (float): The melting point of the element in Kelvin (K).
1892
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1893
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1894
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1895
+ - atomic_radius (float): The atomic radius in picometers (pm).
1896
+
1897
+ '''
1898
+ def __init__(self):
1899
+ super().__init__("La", 57, 138.91, 6.15, 1191, 1.10, 214, 2.1e7, 250)
1900
+
1901
+
1902
+
1903
+ class Ce_Type(Element):
1904
+ '''
1905
+ Attributes:
1906
+ - symbol (str): The chemical symbol of the element.
1907
+ - atomic_number (int): The number of protons in the element's nucleus.
1908
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1909
+ - density (float): The density of the element in g/cm³.
1910
+ - melting_point (float): The melting point of the element in Kelvin (K).
1911
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1912
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1913
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1914
+ - atomic_radius (float): The atomic radius in picometers (pm).
1915
+
1916
+ '''
1917
+ def __init__(self):
1918
+ super().__init__("Ce", 58, 140.12, 6.77, 1071, 1.12, 175, 2.2e7, 249)
1919
+
1920
+
1921
+
1922
+ class Pr_Type(Element):
1923
+ '''
1924
+ Attributes:
1925
+ - symbol (str): The chemical symbol of the element.
1926
+ - atomic_number (int): The number of protons in the element's nucleus.
1927
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1928
+ - density (float): The density of the element in g/cm³.
1929
+ - melting_point (float): The melting point of the element in Kelvin (K).
1930
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1931
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1932
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1933
+ - atomic_radius (float): The atomic radius in picometers (pm).
1934
+
1935
+ '''
1936
+ def __init__(self):
1937
+ super().__init__("Pr", 59, 140.91, 6.77, 1299, 1.13, 120, 2.3e7, 248)
1938
+
1939
+
1940
+
1941
+ class Nd_Type(Element):
1942
+ '''
1943
+ Attributes:
1944
+ - symbol (str): The chemical symbol of the element.
1945
+ - atomic_number (int): The number of protons in the element's nucleus.
1946
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1947
+ - density (float): The density of the element in g/cm³.
1948
+ - melting_point (float): The melting point of the element in Kelvin (K).
1949
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1950
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1951
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1952
+ - atomic_radius (float): The atomic radius in picometers (pm).
1953
+
1954
+ '''
1955
+ def __init__(self):
1956
+ super().__init__("Nd", 60, 144.24, 7.01, 1294, 1.14, 102, 2.4e7, 246)
1957
+
1958
+
1959
+
1960
+ class Pm_Type(Element):
1961
+ '''
1962
+ Attributes:
1963
+ - symbol (str): The chemical symbol of the element.
1964
+ - atomic_number (int): The number of protons in the element's nucleus.
1965
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1966
+ - density (float): The density of the element in g/cm³.
1967
+ - melting_point (float): The melting point of the element in Kelvin (K).
1968
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1969
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1970
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1971
+ - atomic_radius (float): The atomic radius in picometers (pm).
1972
+
1973
+ '''
1974
+ def __init__(self):
1975
+ super().__init__("Pm", 61, 145.0, 7.26, 1380, 1.13, 50, 2.5e7, 245)
1976
+
1977
+
1978
+
1979
+ class Sm_Type(Element):
1980
+ '''
1981
+ Attributes:
1982
+ - symbol (str): The chemical symbol of the element.
1983
+ - atomic_number (int): The number of protons in the element's nucleus.
1984
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
1985
+ - density (float): The density of the element in g/cm³.
1986
+ - melting_point (float): The melting point of the element in Kelvin (K).
1987
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
1988
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
1989
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
1990
+ - atomic_radius (float): The atomic radius in picometers (pm).
1991
+
1992
+ '''
1993
+ def __init__(self):
1994
+ super().__init__("Sm", 62, 150.36, 7.52, 1347, 1.17, 110, 2.5e7, 243)
1995
+
1996
+
1997
+
1998
+ class Eu_Type(Element):
1999
+ '''
2000
+ Attributes:
2001
+ - symbol (str): The chemical symbol of the element.
2002
+ - atomic_number (int): The number of protons in the element's nucleus.
2003
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2004
+ - density (float): The density of the element in g/cm³.
2005
+ - melting_point (float): The melting point of the element in Kelvin (K).
2006
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2007
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2008
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2009
+ - atomic_radius (float): The atomic radius in picometers (pm).
2010
+
2011
+ '''
2012
+ def __init__(self):
2013
+ super().__init__("Eu", 63, 151.98, 5.243, 1527, 1.20, 59, 2.6e7, 242)
2014
+
2015
+
2016
+
2017
+ class Gd_Type(Element):
2018
+ '''
2019
+ Attributes:
2020
+ - symbol (str): The chemical symbol of the element.
2021
+ - atomic_number (int): The number of protons in the element's nucleus.
2022
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2023
+ - density (float): The density of the element in g/cm³.
2024
+ - melting_point (float): The melting point of the element in Kelvin (K).
2025
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2026
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2027
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2028
+ - atomic_radius (float): The atomic radius in picometers (pm).
2029
+
2030
+ '''
2031
+ def __init__(self):
2032
+ super().__init__("Gd", 64, 157.25, 8.23, 1585, 1.20, 66, 2.7e7, 240)
2033
+
2034
+
2035
+
2036
+ class Tb_Type(Element):
2037
+ '''
2038
+ Attributes:
2039
+ - symbol (str): The chemical symbol of the element.
2040
+ - atomic_number (int): The number of protons in the element's nucleus.
2041
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2042
+ - density (float): The density of the element in g/cm³.
2043
+ - melting_point (float): The melting point of the element in Kelvin (K).
2044
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2045
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2046
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2047
+ - atomic_radius (float): The atomic radius in picometers (pm).
2048
+
2049
+ '''
2050
+ def __init__(self):
2051
+ super().__init__("Tb", 65, 158.93, 8.23, 1629, 1.10, 80, 2.7e7, 239)
2052
+
2053
+
2054
+
2055
+ class Dy_Type(Element):
2056
+ '''
2057
+ Attributes:
2058
+ - symbol (str): The chemical symbol of the element.
2059
+ - atomic_number (int): The number of protons in the element's nucleus.
2060
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2061
+ - density (float): The density of the element in g/cm³.
2062
+ - melting_point (float): The melting point of the element in Kelvin (K).
2063
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2064
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2065
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2066
+ - atomic_radius (float): The atomic radius in picometers (pm).
2067
+
2068
+ '''
2069
+ def __init__(self):
2070
+ super().__init__("Dy", 66, 162.50, 8.55, 1680, 1.22, 85, 2.8e7, 237)
2071
+
2072
+
2073
+ class Ho_Type(Element):
2074
+ '''
2075
+ Attributes:
2076
+ - symbol (str): The chemical symbol of the element.
2077
+ - atomic_number (int): The number of protons in the element's nucleus.
2078
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2079
+ - density (float): The density of the element in g/cm³.
2080
+ - melting_point (float): The melting point of the element in Kelvin (K).
2081
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2082
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2083
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2084
+ - atomic_radius (float): The atomic radius in picometers (pm).
2085
+
2086
+ '''
2087
+ def __init__(self):
2088
+ super().__init__("Ho", 67, 164.93, 8.79, 1734, 1.23, 90, 2.8e7, 236)
2089
+
2090
+
2091
+
2092
+ class Er_Type(Element):
2093
+ '''
2094
+ Attributes:
2095
+ - symbol (str): The chemical symbol of the element.
2096
+ - atomic_number (int): The number of protons in the element's nucleus.
2097
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2098
+ - density (float): The density of the element in g/cm³.
2099
+ - melting_point (float): The melting point of the element in Kelvin (K).
2100
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2101
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2102
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2103
+ - atomic_radius (float): The atomic radius in picometers (pm).
2104
+
2105
+ '''
2106
+ def __init__(self):
2107
+ super().__init__("Er", 68, 167.26, 9.066, 1802, 1.24, 150, 2.9e7, 234)
2108
+
2109
+
2110
+
2111
+ class Tm_Type(Element):
2112
+ '''
2113
+ Attributes:
2114
+ - symbol (str): The chemical symbol of the element.
2115
+ - atomic_number (int): The number of protons in the element's nucleus.
2116
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2117
+ - density (float): The density of the element in g/cm³.
2118
+ - melting_point (float): The melting point of the element in Kelvin (K).
2119
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2120
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2121
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2122
+ - atomic_radius (float): The atomic radius in picometers (pm).
2123
+
2124
+ '''
2125
+ def __init__(self):
2126
+ super().__init__("Tm", 69, 168.93, 9.32, 1818, 1.25, 88, 3.0e7, 233)
2127
+
2128
+
2129
+
2130
+ class Yb_Type(Element):
2131
+ '''
2132
+ Attributes:
2133
+ - symbol (str): The chemical symbol of the element.
2134
+ - atomic_number (int): The number of protons in the element's nucleus.
2135
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2136
+ - density (float): The density of the element in g/cm³.
2137
+ - melting_point (float): The melting point of the element in Kelvin (K).
2138
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2139
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2140
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2141
+ - atomic_radius (float): The atomic radius in picometers (pm).
2142
+
2143
+ '''
2144
+ def __init__(self):
2145
+ super().__init__("Yb", 70, 173.04, 6.98, 1092, 1.10, 90, 3.1e7, 231)
2146
+
2147
+
2148
+
2149
+ class Lu_Type(Element):
2150
+ '''
2151
+ Attributes:
2152
+ - symbol (str): The chemical symbol of the element.
2153
+ - atomic_number (int): The number of protons in the element's nucleus.
2154
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2155
+ - density (float): The density of the element in g/cm³.
2156
+ - melting_point (float): The melting point of the element in Kelvin (K).
2157
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2158
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2159
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2160
+ - atomic_radius (float): The atomic radius in picometers (pm).
2161
+
2162
+ '''
2163
+ def __init__(self):
2164
+ super().__init__("Lu", 71, 174.97, 9.84, 1925, 1.27, 52, 3.2e7, 229)
2165
+
2166
+
2167
+
2168
+ class Hf_Type(Element):
2169
+ '''
2170
+ Attributes:
2171
+ - symbol (str): The chemical symbol of the element.
2172
+ - atomic_number (int): The number of protons in the element's nucleus.
2173
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2174
+ - density (float): The density of the element in g/cm³.
2175
+ - melting_point (float): The melting point of the element in Kelvin (K).
2176
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2177
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2178
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2179
+ - atomic_radius (float): The atomic radius in picometers (pm).
2180
+
2181
+ '''
2182
+ def __init__(self):
2183
+ super().__init__("Hf", 72, 178.49, 13.31, 2506, 1.30, 175, 3.3e7, 227)
2184
+
2185
+
2186
+
2187
+ class Ta_Type(Element):
2188
+ '''
2189
+ Attributes:
2190
+ - symbol (str): The chemical symbol of the element.
2191
+ - atomic_number (int): The number of protons in the element's nucleus.
2192
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2193
+ - density (float): The density of the element in g/cm³.
2194
+ - melting_point (float): The melting point of the element in Kelvin (K).
2195
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2196
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2197
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2198
+ - atomic_radius (float): The atomic radius in picometers (pm).
2199
+
2200
+ '''
2201
+ def __init__(self):
2202
+ super().__init__("Ta", 73, 180.95, 16.65, 3290, 1.50, 68, 3.4e7, 225)
2203
+
2204
+
2205
+
2206
+ class W_Type(Element):
2207
+ '''
2208
+ Attributes:
2209
+ - symbol (str): The chemical symbol of the element.
2210
+ - atomic_number (int): The number of protons in the element's nucleus.
2211
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2212
+ - density (float): The density of the element in g/cm³.
2213
+ - melting_point (float): The melting point of the element in Kelvin (K).
2214
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2215
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2216
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2217
+ - atomic_radius (float): The atomic radius in picometers (pm).
2218
+
2219
+ '''
2220
+ def __init__(self):
2221
+ super().__init__("W", 74, 183.84, 19.25, 3422, 2.36, 174, 3.5e7, 223)
2222
+
2223
+
2224
+
2225
+ class Re_Type(Element):
2226
+ '''
2227
+ Attributes:
2228
+ - symbol (str): The chemical symbol of the element.
2229
+ - atomic_number (int): The number of protons in the element's nucleus.
2230
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2231
+ - density (float): The density of the element in g/cm³.
2232
+ - melting_point (float): The melting point of the element in Kelvin (K).
2233
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2234
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2235
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2236
+ - atomic_radius (float): The atomic radius in picometers (pm).
2237
+
2238
+ '''
2239
+ def __init__(self):
2240
+ super().__init__("Re", 75, 186.21, 21.02, 3186, 1.9, 130, 3.6e7, 222)
2241
+
2242
+
2243
+
2244
+ class Os_Type(Element):
2245
+ '''
2246
+ Attributes:
2247
+ - symbol (str): The chemical symbol of the element.
2248
+ - atomic_number (int): The number of protons in the element's nucleus.
2249
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2250
+ - density (float): The density of the element in g/cm³.
2251
+ - melting_point (float): The melting point of the element in Kelvin (K).
2252
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2253
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2254
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2255
+ - atomic_radius (float): The atomic radius in picometers (pm).
2256
+
2257
+ '''
2258
+ def __init__(self):
2259
+ super().__init__("Os", 76, 190.23, 22.59, 3306, 2.2, 140, 3.7e7, 220)
2260
+
2261
+
2262
+
2263
+ class Ir_Type(Element):
2264
+ '''
2265
+ Attributes:
2266
+ - symbol (str): The chemical symbol of the element.
2267
+ - atomic_number (int): The number of protons in the element's nucleus.
2268
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2269
+ - density (float): The density of the element in g/cm³.
2270
+ - melting_point (float): The melting point of the element in Kelvin (K).
2271
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2272
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2273
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2274
+ - atomic_radius (float): The atomic radius in picometers (pm).
2275
+
2276
+ '''
2277
+ def __init__(self):
2278
+ super().__init__("Ir", 77, 192.22, 22.56, 2719, 2.2, 130, 3.8e7, 218)
2279
+
2280
+
2281
+
2282
+ class Pt_Type(Element):
2283
+ '''
2284
+ Attributes:
2285
+ - symbol (str): The chemical symbol of the element.
2286
+ - atomic_number (int): The number of protons in the element's nucleus.
2287
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2288
+ - density (float): The density of the element in g/cm³.
2289
+ - melting_point (float): The melting point of the element in Kelvin (K).
2290
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2291
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2292
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2293
+ - atomic_radius (float): The atomic radius in picometers (pm).
2294
+
2295
+ '''
2296
+ def __init__(self):
2297
+ super().__init__("Pt", 78, 195.08, 21.45, 2041, 2.28, 156, 3.9e7, 216)
2298
+
2299
+
2300
+
2301
+ class Au_Type(Element):
2302
+ '''
2303
+ Attributes:
2304
+ - symbol (str): The chemical symbol of the element.
2305
+ - atomic_number (int): The number of protons in the element's nucleus.
2306
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2307
+ - density (float): The density of the element in g/cm³.
2308
+ - melting_point (float): The melting point of the element in Kelvin (K).
2309
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2310
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2311
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2312
+ - atomic_radius (float): The atomic radius in picometers (pm).
2313
+
2314
+ '''
2315
+ def __init__(self):
2316
+ super().__init__("Au", 79, 196.97, 19.32, 1337.33, 2.54, 45, 4.1e7, 214)
2317
+
2318
+
2319
+
2320
+ class Hg_Type(Element):
2321
+ '''
2322
+ Attributes:
2323
+ - symbol (str): The chemical symbol of the element.
2324
+ - atomic_number (int): The number of protons in the element's nucleus.
2325
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2326
+ - density (float): The density of the element in g/cm³.
2327
+ - melting_point (float): The melting point of the element in Kelvin (K).
2328
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2329
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2330
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2331
+ - atomic_radius (float): The atomic radius in picometers (pm).
2332
+
2333
+ '''
2334
+ def __init__(self):
2335
+ super().__init__("Hg", 80, 200.59, 13.53, 234.32, 2.00, 8.3, 4.3e7, 212)
2336
+
2337
+
2338
+
2339
+ class Tl_Type(Element):
2340
+ '''
2341
+ Attributes:
2342
+ - symbol (str): The chemical symbol of the element.
2343
+ - atomic_number (int): The number of protons in the element's nucleus.
2344
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2345
+ - density (float): The density of the element in g/cm³.
2346
+ - melting_point (float): The melting point of the element in Kelvin (K).
2347
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2348
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2349
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2350
+ - atomic_radius (float): The atomic radius in picometers (pm).
2351
+
2352
+ '''
2353
+ def __init__(self):
2354
+ super().__init__("Tl", 81, 204.38, 11.85, 577, 1.62, 0.78, 4.5e7, 210)
2355
+
2356
+
2357
+
2358
+ class Pb_Type(Element):
2359
+ '''
2360
+ Attributes:
2361
+ - symbol (str): The chemical symbol of the element.
2362
+ - atomic_number (int): The number of protons in the element's nucleus.
2363
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2364
+ - density (float): The density of the element in g/cm³.
2365
+ - melting_point (float): The melting point of the element in Kelvin (K).
2366
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2367
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2368
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2369
+ - atomic_radius (float): The atomic radius in picometers (pm).
2370
+
2371
+ '''
2372
+ def __init__(self):
2373
+ super().__init__("Pb", 82, 207.2, 11.34, 600.61, 2.33, 35, 4.6e7, 208)
2374
+
2375
+
2376
+
2377
+ class Bi_Type(Element):
2378
+ '''
2379
+ Attributes:
2380
+ - symbol (str): The chemical symbol of the element.
2381
+ - atomic_number (int): The number of protons in the element's nucleus.
2382
+ - atomic_mass (float): The atomic mass in unified atomic mass units (u).
2383
+ - density (float): The density of the element in g/cm³.
2384
+ - melting_point (float): The melting point of the element in Kelvin (K).
2385
+ - electronegativity (float): The electronegativity of the element, a measure of its ability to attract electrons.
2386
+ - thermal_conductivity (float): The thermal conductivity in W/(m·K).
2387
+ - electrical_conductivity (float): The electrical conductivity in MS/m.
2388
+ - atomic_radius (float): The atomic radius in picometers (pm).
2389
+
2390
+ '''
2391
+ def __init__(self):
2392
+ super().__init__("Bi", 83, 208.98, 9.78, 271.3, 2.02, 0.9, 4.7e7, 206)
482
2393
 
483
2394
 
484
- Universal_Gas_Constant = 8.314 #IN Ideal gases this number relates to pressure,volume and temprature
485
- Rydberg_Cpnstant = 1.097*10**7 #Relates to wavelength of spectral of hdrogen.
486
- Fine_Structure_Constant = 1.137 #Relates to strength of electromagnetic interaction beetween elementry charged particles.
487
- Permeabeability_Of_Free_Space =4*pi*10**(-7) #Relates to magnetic fields and forces.
488
- Permittivity_Of_Free_Space = 8.85*10**(-12) #Relates to electric fields and forces
489
2395
 
490
2396
 
491
- R=8.314 #in j/mol.k which constant of gases
492
- K=1.38e-23 #Boltzman constant, unit is j/kelvin
493
- h=6.626e-34 #Plank's constant j/Herz
494
- gas_molar_volume=22.4 # liters per mole in STP
495
- e=1.6e-19 #amount of charge in one electron ,unit: Coulomb
496
2397
 
497
2398