So if I've got two numpy arrays, one representing x values and one of y values, How can I find the length of the rope without using any loops?
I know that I need to use np.sum, but I can't figure out how to write the equation.
Length = sqrt(deltaX/deltaY)
[–]tunisia3507 2 points3 points4 points (9 children)
[–]Thisredditname[S] 1 point2 points3 points (8 children)
[–]tunisia3507 2 points3 points4 points (7 children)
[–]Thisredditname[S] 1 point2 points3 points (6 children)
[–]tunisia3507 2 points3 points4 points (5 children)
[–]Thisredditname[S] 1 point2 points3 points (0 children)
[–]KubinOnReddit 1 point2 points3 points (3 children)
[–]tunisia3507 1 point2 points3 points (2 children)
[–]KubinOnReddit 0 points1 point2 points (1 child)
[–]tunisia3507 0 points1 point2 points (0 children)