The polynomial function will be the function that will include only non-negative integer powers and only positive integers will be…