import numpy as np
# première série de points
x1 = [194184.81,194286.47,194289.02,195292.21,196502.49]
x2 = [194186.12,194283.64,194288.34,195294.12,196501.84]
# deuxième série de points
y1 = [469054.43,469550.98,469945.65,470539.12,470941.38]
y2 = [469053.24,469549.89,469943.46,470542.21,470942.73]
# calcul de des erreurs types (RMSE) sur x et y
RMSEx = np.sqrt(np.sum([(x1[i] - x2[i])**2 for i in range(len(x1))])/float(len(x1)))
RMSEy = np.sqrt(np.sum([(y1[i] - y2[i])**2 for i in range(len(y1))])/float(len(y1)))
#calcul du RMSE planaire
RMSEplanaire = np.sqrt((a1*a1)+(b1*b1))
# résultat avec 3 chiffres significatifs
print("%.2f" % RMSEplanaire)
2.57