How to find the length of a curved line in Python. An example to illustrate the problem is given below. Any inputs?
My data is given below:
xdata ydata ### xdata units = voltage, ydata units = amperes
0 2.130 10.432500
1 2.213 10.434000
2 2.279 10.437000
3 2.379 10.440000
4 2.496 10.441000
5 2.579 10.439000
6 2.612 10.441000
7 2.745 10.442000
8 2.812 10.439000
9 2.845 10.445000
10 2.912 10.445000
11 2.928 10.441000
12 2.945 10.444000
13 2.961 10.438000
14 2.995 10.443000
15 3.011 10.446000
16 3.028 10.442000
17 3.045 10.447000
18 3.061 10.440000
19 3.877 10.362000
20 4.509 10.414000
21 5.191 10.414000
22 5.790 10.419000
23 6.405 10.409000
24 6.971 10.415000
25 7.553 10.414000
26 8.136 10.411000
27 8.751 10.414000
28 9.250 10.410000
29 9.883 10.405000
I have no idea where and how to start to find the length?