end method

double end(
int index
)