#Variable declaration
m=301;#mass of gold, g
v=15.6;# volume of gold, cm**3
#Calculation
d=m/v;#density of gold, g/cm**3
#Result
print"The density of gold is : ",round(d,1)," g/cm**3"
#Variable declaration
d=13.6;#density of mercury, g/ml
v=5.50;# volume of mercury, ml
#Calculation
m=d*v;#mass of mercury, g
#Result
print"The mass of mercury is : ",round(m,1)," g"
#Variable declaration
C1=224.0#melting point of solder, C
F=-452.0#boiling point of helium, F
C3=-38.9#meltiing point of mercury, C
#Calculation
#(a)
F1=(C1*(9.0/5.0)+32.0) #melting point of solder, F
#(b)
C2=(F-32.0)*5.0/9.0 #boiling point of helium, C
#(c)
K=C3+273.15#meltiing point of mercury, K
#Result
print"(a) The melting point of solder is : ",round(F1)," F"
print"(b) The boiling point of helium is :",round(C2),"C"
print"(c) The meltiing point of mercury is :",round(K,1),"K"
#Variable declaration
A1=11254.1;#g
B1=0.1983;#g
A2=66.59;#L
B2=3.113;#L
A3=8.16;#m
B3=5.1355;
A4=0.0154;#kg
B4=88.3;#mL
A5=2.64*10**3;#cm
B5=3.27*10**2;#cm
#Calculation
#(a)
C1=A1+B1;#g
#(b)
C2=A2-B2;#L
#(c)
C3=A3*B3;#m
#(d)
C4=A4/B4;#kg/mL
#(e)
C5=A5+B5;#cm
print"(a) (",round(A1,1),"+",round(B1,4),")g=",round(C1,1),"g\n"
print"(b) (",A2," -",B2,")L=",round(C2,2),"L\n"
print"(c) ",A3,"m*",B3,"=",C3,"m =",round(C3,1),"m\n"
print"(d) ",A4," kg /",B4," mL =",C4,"=",round(C4,6),"kg/mL=%.2e"%round(C4,6),"kg/mL\n"
print"(e) (",(A5*10**-3),"*10**3 + %.2f"%(B5*10**-2),"*10**2 )cm =",(C5*10**-3),"*10**3 cm\n"
#Variable declaration
lb=0.0833;#pound mass, lb
#Calculation
g=lb*453.6;#pound mass to gram mass, 1lb=453.6g
mg=1000*g;#gram to milligram
#Result
print"The mass of glucose is :%.2e"%mg,"mg"
#Variable declaration
L=5.2;#volume in litres
#Calculation
cc=1000*L;#litre to cm**3
mc=cc/10**6;#cm**3 to m**3
#Result
print"The volume of blood is %.1e"%mc,"m**3"
#Variable declaration
gpcc=0.808;#density in gram per cm**3
#Calculation
kgpmc=1000*gpcc;#g/cm**3 to kg/m**3, as 1000g=1kg and 1cm=10**-2 m
#Result
print"The density of liquid nitrogen is :",kgpmc,"kg/m**3"