# HAVSIN

Given a specific $x$ value, the Havsin function evaluates the $y$ value of a Haversine function that smoothly transitions from $\left({x}_{0},{y}_{0}\right)$ to $\left({x}_{1},{y}_{1}\right)$ .

## Format

$\text{Havsin}\left(x,{x}_{0},{y}_{0},{x}_{1},{y}_{1}\right)$

## Arguments

$x$
The independent variable. For example, to specify time as the independent variable, specify $x$ as TIME.
${x}_{0}$
The $x$ value at which the Haversine function begins.
${y}_{0}$
The value of the Haversine function desired at ${x}_{0}$ .
${x}_{1}$
The $x$ value at which the Haversine function ends.
${y}_{1}$
The value of the Haversine function desired at ${x}_{1}$ .

(1)

## Example

<Post_Request
comment             = "WM-WDTM-HAVSIN-FORSIN-DIM-ACOS"
id                  = "3"
type                = "EXPRESSION"
expr1               = "NULL"
expr2               = "WM(30102010)"
expr3               = "WDTM(30102010)"
expr4               = "HAVSIN(TIME,1.,0.,4.,1.)"
expr5               = "NULL"
expr6               = "FORSIN(TIME,0.1,6.28,0.1,0.2)"
expr7               = "DIM(TIME,1.0)"
expr8               = "ACOS(COS(TIME))"
/>