You are on page 1of 1

Function NSTT(xnew, xx, yy) For i = 1 To xx.

Count If xx(i) > xnew Then Exit For End If Next i NSTT = (xnew - xx(i - 1)) / (xx(i) - xx(i - 1)) * (yy(i) - yy(i - 1)) + yy(i - 1 ) End Function

You might also like