Introduction A nanometer (nm) is a unit of length in the metric system that is equal to one billionth of…