Many products today are fabricated using polymers (long strings of building-block molecules). Their properties depend on both molecular composition and…