Is it cheaper to buy new or repair your old computer?

Now days it may be possible to replace your old faulty Laptop or Computer with a new one, as parts have become so cheap it makes replacing the whole device an option. The thing to remember here is that you get what you Pay for so the quality of the parts used on the new device may be of an inferior quality. The main thing to consider here is what is broken and the cost of that repair.
Faulty keyboard Most can be repaired for $100 or less $100
Broken DC jack Worth repairing $130 to $150 $130
Failed hard drive Most common failure in laptops $250
Broken LCD Screen Very common fault approx cost $190 but some models are expensive to repair. $190