Computer-aided modeling and manufacturing requires precise control…

Question Computer-aided modeling and manufacturing requires precise control… Computer-aided modeling and manufacturing requires precise control of spatial position along a prescribed motion path. We will illustrate the use of quadrature to solve a fundamental piece of the problem: equipartition, or the division of an arbitrary path into equal-length subpaths. In numerical machining problems, it is preferable to maintain constant speed along the path. During each second, progress should be made along an equal length of the machine-material interface. In other motion planning applications, including computer animation, more complicated progress curves may be required: A hand reaching for a doorknob might begin and end with low velocity and have higher velocity in between. Robotics and virtual reality applications require the construction of parameterized curves and surfaces to be navigated. Building a table of small equal increments in path distance is often a necessary first step.Only rarely does the integral yield a closed-form expression and normally a quadrature technique is used to control the parameterization of the path. Problem 1 design a Python function that implements the composite Simpson’s rule. The interface of the function should be: def compositeSimpson(f, a, b, m): “”” Compute definite integrals by composite Simpson’s Rule    f: a function whose integral will be found   a: the left end of the integral   b: the right end of the integral   m: the number of intervals/panels “”” Apply the function to Example 1.3 in Lecture 12 and make sure you get the same result. 3 Problem 2 Use the composite Simpson’s rule to compute the arc length from t = 0 to t = T for a given T1. Report the result for T = 1. Image transcription textNormal No Spacing Heading 1 Heading 2 Assume that a parametric path P = {x(t), y(t)|0 < t < 1} is given.The following figure shows the example path P = x(1) = 0.5 + 0.3t + 3.912 - 4.713 y(t) = 1.5 + 0.3t + 0.912 - 2.7132 1 = 1/4 1 = 1/2 1 =0 1 1 = 3/4 Points defined by evenly spaced parameter values t = 0, 1/4, 1/2, 3/4... Show more... Show more Computer Science Engineering & Technology Python Programming CS 124 Share QuestionEmailCopy link Comments (0)