The upper longitudinal profile curve of an AUV is represented by two cubic
planar parametric curves
and
, where
and

- Plot the two cubic planar parametric curves using N equally distributed points in parameter space, where N=11,101,1001.
- Plot the parametric speed of the two curves.
- Approximate the length of the two curves using the three polygonal approximations.
- Compute the tangent vectors at u=0 and 1, v=0 and 1 for the two curves.
- Find the locations where
and
become maximum.
- Plot the curvature in terms of parameter u,v for the two curves for N=101.
- Using the plot values of question (f) estimate the parametric value which
gives absolute maximum and minimum of curvature for both curves (using an
algorithm for finding the maximum and minimum of N numbers for N=101).
Write C programs to do the calculation, and use MATLAB on Athena for your plots.