Dynamic simulation of calculating the purchase of equipment on credit