Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

in which Error is a dimensionless SYS parameter.

  • Run a solution for this parameter, Intpol_Rel_B will be calculated by Quaestor automatically because it is required by Error. Make sure you use the Process Manager to select the Ships object as dataset. For Frame, enter 3.20 again.

The solution in two-digit format (-0.00) will be presented in the list of the Workbase. When you select this solutionvalue, more digits are shown in the Frame Viewer (figure 2a) or the Explanation window (figure 2b). Note that you .

Info

You can change the number of decimal places presented in the Workbase by changing the value Decimal places in the

...

Properties window.

 Please, realise that for

 

Note

For input values,

...

the number of

...

decimal places also defines the maximum accuracy accepted for this input. So, when you

...

define B as having two

...

decimal places, providing input with three will give a warning

...

followed by rounding the provided number

...

to two

...

decimals.

...

Figure 2a   In the Frame Viewer, more digits of the selected parameter are shown

 Image Removed

Figure 2b   In the Explanation window, more digits of the selected parameter are shown 

...

Image Added

  • Change the number of decimals to 4 for Error, Intpol_Rel_B and Rel_B to 4.
  • Change the relation (find the relation and press F2) for Intpol_Rel_

...

  • B  to

Intpol_Rel_B = DQUAD(@Hull, 2, @Frame, @Rel_B, Frame)

...

which uses the same data, but now performs a quadratic interpolation. It's not necessary to initialize existing solutions. 

Editing relations was covered in tutorial 2. Remember that the use, syntax and examples of all quaestor Quaestor functions are available in the wikidocumentationfunctionsoverview.

...

  •  Run the solution Error again with the same value of Frame.

The error now turns out to be zero. This makes sense, as DQUAD is a quadratic interpolation method and this waterline is defined by a quadratic function as well.

Image Added

4    Integration : waterplane area 

...