I would like to use the following formula, Simpson's rule for a circle, on data I have collected.
Area= [Pi((R(n)+R(n+1))/2)^2]/360+[Pi((R(n+1)+R(n+2))/2)^2]/360+...
This is a summation formula where for each iteration, one point, R(n), is added to the succeeding point,R(n+1). Once all 360 points that I have collected from my data acquisition have gone through the equation, I can add up all the iterations to get cross sectional area.
Ok, now I need to figure out how to get LV 4.0 to use this equation. I initially thought I could use the formula node, but that won't work because all of my data is being auto indexed in a while loop, then put in an array.
I was thinking about adding the calculat
ion portion to the while loop, but I figured that would slow things down too much. Unfortunately, I don't know how to get LV to do the n and n+1 for all 360 points.
Please help! Attached in my current program.