#Sulphur required for final rubber product
import math
#Variable Declaration
p_wt=500 # weight of final rubber product
w1= 32.0 # atomic weight of sulphur
w2= 54.0 # weight of monomer unit
#Calculation
s_req=w1/(w1+w2)
s_req= math.floor(s_req*100)/100
#Result
print('Therefore, sulphur required for %d *10^3 kg of final rubber product = %d * 10^-3 kg'%(p_wt,s_req*p_wt))
# Photon energy to break C C bond
import math
#Variable Declaration
E=370*10**3 # energy of c-c bond j/mol
lam=3200*10**-10 # wavelength of UV light
h=6.626*10**-34 # Planck's constant
c=3*10**8 # speed of light
#Calculation
E1=h*c/lam
Ec=E/(6.02*10**23)
#Result
print('\nE=%.1f*10^-19 J'%(E1*10**19))
print('\nThe Energy of c-c Bond = %.1f * 10^-19'%(Ec*10**19))
print('\n\nThe UV light photon energy is sufficient to break a C-C bond.\nTherefore, the polymer deteriorates under the influence of UV light')