Corporate finance

When deciding whether to replace an existing machine, which comparison is most appropriate?