Versions Compared

Key

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

...

Example 1

The expression

EVALUATE#(3, TEXTITEM$(1), TEXTITEM$(2), "V", "P-_P":"DeltaP")

containining the following data in its data slot:

TEXTITEM1=

...

 

...

...

TEXTITEM2=

...

 

...

returns:

...

...

 

Example 2

Let Telitab1$ contain the dataset:

...

...

and Telitab2$ contain the dataset:

...

 

...

...

RTot in kN, V in knots.

We can compare these two speed/resistance curves on the basis of speed in m/s as follows:

EVALUATE#(3, Telitab1$, Telitab2$, "V*0.51444":"Vs", "RTot/_RTot":"ResRatio", "RTot*V*0.51444":"PE1", "_RTot*V*0.51444":"PE2")

returns (values rounded):

...

...

 

Example 3

Create a dataset on an equidistant axis "V" on the basis of an axis definition in Teltab1$ and a non-equidistant set V-RTot in Telitab2$.

Let Telitab1$ contain:

...

...

Let Telitab2$ contain:

...

...

The expression:

EVALUATE#(3, Telitab1$, Telitab2$, "V", "RTot")

returns (values rounded):

...

...

 

Example 4

If Telitab1$="NullString" (and if Telitab2$="NullString" as in this example), you can pass table information in the firstInpVar$:Label$ combination, e.g.:

EVALUATE#(3,"NullString", "NullString", "2(1)6":"X", "X^2":"Y")

returns:

...

This construction allows you to provide the equidistant range of a table to be normalised as in example 5.

...

If Telitab1$="NullString" and if Telitab2$ contains a table to be normalised:

...

you can pass table information in the first InpVar$:Label$ combination, e.g.:

...