Sizing a voltage regulator for an application?

with a decent heatsink a linear 5v reg will $)do...