its a rca home theater system and i need a power cable as my last one broke is there somewere were i can buy one
Compare it with the one plugged into your computer. Most any store that carries computers or home electronics will have that kind on hand, possibly even a box full of leftovers in the back of the service department. If the cord is thick it's built to carry more power and you should get a similarly rated one to be safe.
I'd recommend going back to the place where you got the TV and see if they can sell you an exact replacement. It might not be the cheapest option, but at least you know you're getting the right cable. Especially if the TV is under warranty still. If you use a third party cable, they could try and snake out of honoring the warranty then if something goes wrong. Otherwise contact the manufacturer and see if you can buy directly from them. Again for the purposes of honoring the warranty and well just that is safer going with an exact replacement. I would guess this might cost a bit more, but it could be your only option. Lastly, I guess you could try places online like OKorder, newegg, monoprice or such. They might be able to sell an equivalent replacement for you. Just make sure you're really certain what the cable is that you're replacing.
There is a 95% chance it uses one of two standard power cord styles TVs these days come with, which is a 3 prong cord identical to what computers come with, or a polarized figure-8 cord, as some portable or bookshelf stereos come with You can get them anyplace that has A/V accessories.