Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tutorial 3
Intrinsic functions

Learning goals

  1. Using data stored in objects.
  2. Using the LININT, DQUAD and LEASQ functions to interpolate in datasets.
  3. Using an object as a function.
  4. Using the INTEGR function to perform numerical integration.
  5. Using the LEASQ function

Prior

knowledge

Knowledge

1    Objective


In this third tutorial, we will store the waterline data of the previous tutorial in a new object within the object Ships. We will perform linear and quadratic interpolation to obtain the relative width of unknown frames at the waterline. This will be checked with the exact solution, and the error is to be calculated. Some hydrostatic calculations will be performed: by numerical integration the waterplane area and the moment of inertia of this area are calculated. The stability GM will be calculated and compared to other ships using the least squares method.

...