Except the network can adapt by modifying the code, so calculating the cost of destroying Bitcoin is not trivial. The security of the network is not static, because it's also made of people with economic incentives, the same way any other system is also made of people, eg: When a website is under a DOS attack, their administrators will do various things to mitigate or completely stop the attack.