The attached Mathcad 15 worksheet (hopefully more folks can open this instead of Prime 3.1 format) is being created to determine the shear, moment, slope, and deflection of a simply supported beam. Towards the end of the worksheet I am attempting to create a vector that includes the point loads (y), distributed load start points (zs), and distributed load end points (ze). Is it possible to write a function that creates a vector with a total length of the sum of these smaller vectors and sorts the values by increasing length? The points in this vector give the points where the moment function is discontinuous .The total length of the vector will change as the number of point loads and distributed loads change.
Once this vector is created I'd like to use it as integral bounds to determine the centroid of the moment function between discontinuous points. Is it possible to set the vector and the vector +1 as integral bounds?
As always, thank you for your help.