1 You can use the computer now if you like. (opportunity to do something).
2 In 100 years, we will be able to go on holiday in space. (ability in the future).
3 The computer is working again. Nurislam was able to fix it in half an hour.
(ability in the past).
4 You can go out with your friends if you finish your homework now. (opportunity to do something).