Well, if the answer to the problem had been "Shoot the (expletive deleted) thing with torpedoes!" We wouldn't have had much of a show to watch.
Well thats not true. The writers would've plot armored the Enterprise in standard fashion. Can't be killing the heroes now, can we?
Though many redshirts may have had to give their lives to see it happen.