Product warranty and mathematical modelling