A deterministic model for optimal scrapping decisions under taxation and inflation