
import math
def picture():
    

    
    x1 = [0]*18
    y1 = [0]*18
    x2 = [0]*18
    y2 = [0]*18
    z1 = [0]*18
    z2 = [0]*18
    v1 = [0]*18
    v2 = [0]*18
    
    for i in range (18):
        x1[i] = 295.2+i
        x2[i] = 295.2+i

    
    y1[0], y1[1], y1[2], y1[3], y1[4], y1[5], y1[6], y1[7], y1[8], y1[9], y1[10], y1[11], y1[12], y1[13], y1[14], y1[15], y1[16], y1[17] = 6.1, 6.5, 6.9, 7.2, 7.7, 8.3, 8.8, 9.2, 10.0, 10.4, 10.7, 11.5, 12.1, 12.9, 13.6, 14.7, 15.1, 16.0
    y2[0], y2[1], y2[2], y2[3], y2[4], y2[5], y2[6], y2[7], y2[8], y2[9], y2[10], y2[11], y2[12], y2[13], y2[14], y2[15], y2[16], y2[17] = 6.5, 6.8, 7.2, 7.6, 8.0, 8.7, 8.9, 9.5, 10.1, 10.8, 11.3, 11.9, 12.4, 13.2, 14.3, 14.9, 16.0, 16.4
    

    for i in range (18):
        if ((i>0) and (i<17)):
            z1[i] = 2*14.599*x1[i]-8292.33
            print(z1[i])
    print('\n')
    
    for i in range (18):
        if ((i>0) and (i<17)):
            z2[i] = 2*14.6506*x1[i]-8315.65
            print(z2[i])
    print('\n')
    
    for i in range (18):
        if ((i>0) and (i<17)):
            v1[i] = (1*8.31*x1[i]*x1[i]*z1[i]/y1[i])/46*1000
            print(v1[i])
    print('\n')
    
    for i in range (18):
        if ((i>0) and (i<17)):
            v2[i] = (1*8.31*x2[i]*x2[i]*z2[i]/y2[i])/46*1000
            print(v2[i])
    print('\n')
    
    L1 = 0
    L2 = 0
    for i in range (18):
        if ((i>0) and (i<17)):
            L1 = L1 + v1[i]
            L2 = L2 + v2[i]
    L1 = L1/16
    L2 = L2/16
    print('L1 = ', L1)
    print('\n')
    print('L2 = ', L2)
    print('\n')
    
    s1 = 0
    s2 = 0
    
    for i in range (18):
        if ((i>0) and (i<17)):
            s1 = s1 + (L1-v1[i])**2
            s2 = s2 + (L2-v2[i])**2
            
    
    s1 = s1**(0.5)/16
    s2 = s2**(0.5)/16
    
    print(s1)
    print('\n')
    print(s2)
    
picture()


import math
def picture():
    

    
    x1 = [0]*18
    y1 = [0]*18
    x2 = [0]*18
    y2 = [0]*18
    z1 = [0]*18
    z2 = [0]*18
    v1 = [0]*18
    v2 = [0]*18
    
    for i in range (18):
        x1[i] = 295.2+i
        x2[i] = 295.2+i

    
    y1[0], y1[1], y1[2], y1[3], y1[4], y1[5], y1[6], y1[7], y1[8], y1[9], y1[10], y1[11], y1[12], y1[13], y1[14], y1[15], y1[16], y1[17] = 6.1, 6.5, 6.9, 7.2, 7.7, 8.3, 8.8, 9.2, 10.0, 10.4, 10.7, 11.5, 12.1, 12.9, 13.6, 14.7, 15.1, 16.0
    y2[0], y2[1], y2[2], y2[3], y2[4], y2[5], y2[6], y2[7], y2[8], y2[9], y2[10], y2[11], y2[12], y2[13], y2[14], y2[15], y2[16], y2[17] = 6.5, 6.8, 7.2, 7.6, 8.0, 8.7, 8.9, 9.5, 10.1, 10.8, 11.3, 11.9, 12.4, 13.2, 14.3, 14.9, 16.0, 16.4
    

    for i in range (18):
        if ((i>0) and (i<17)):
            z1[i] = 2*14.599*x1[i]-8292.33
            print(z1[i])
    print('\n')
    
    for i in range (18):
        if ((i>0) and (i<17)):
            z2[i] = 2*14.6506*x1[i]-8315.65
            print(z2[i])
    print('\n')
    
    for i in range (18):
        if ((i>0) and (i<17)):
            v1[i] = (1*8.31*x1[i]*x1[i]*z1[i]/y1[i])/46*1000
            print(v1[i])
    print('\n')
    
    for i in range (18):
        if ((i>0) and (i<17)):
            v2[i] = (1*8.31*x2[i]*x2[i]*z2[i]/y2[i])/46*1000
            print(v2[i])
    print('\n')
    
    L1 = 0
    L2 = 0
    for i in range (18):
        if ((i>0) and (i<17)):
            L1 = L1 + v1[i]
            L2 = L2 + v2[i]
    L1 = L1/16
    L2 = L2/16
    print('L1 = ', L1)
    print('\n')
    print('L2 = ', L2)
    print('\n')
    
    s1 = 0
    s2 = 0
    
    for i in range (18):
        if ((i>0) and (i<17)):
            s1 = s1 + (L1-v1[i])**2
            s2 = s2 + (L2-v2[i])**2
            
    
    s1 = s1**(0.5)/16
    s2 = s2**(0.5)/16
    
    print(s1)
    print('\n')
    print(s2)
    
picture()
