Snack bars have the potential to serve as a healthy and nutritious snack alternative. One of the key factors to consider in the development of snack bars is their protein content and glycemic index. These two attributes can be predicted using the Lagrange polynomial interpolation method. In this study, predictions were carried out using Lagrange polynomial interpolation of orders 1, 2, 3, 4, and 5. The research began with the preparation of 11 snack bar formulations, followed by measurements of their protein content and glycemic index. The obtained data were then divided into two groups: the first group was used as test points for the Lagrange polynomial interpolation process, and the second group served as a benchmark for comparing the interpolation prediction results. The predicted results from the Lagrange polynomial interpolation were compared with the actual data, and the prediction accuracy was evaluated using the NRMSE value. The results showed that Lagrange polynomial interpolation of orders 1, 2, 3, 4, and 5 was effective in predicting the protein content and glycemic index of the snack bars. Furthermore, the NRMSE values indicated that second-order Lagrange interpolation provided the highest prediction accuracy, with the smallest NRMSE values: 0.08244 for protein content prediction and 0.06798 for glycemic index prediction.
Copyrights © 2025