End of the day settlement price is given by the Stock Exchange which is the last traded price of the underlying. In this case, Cash Nifty has closing price of 4835 on 29-May.
The same price is also used to calculate the Mark-to-market profit/loss on futures position.
Happy Trading.