how much do solar panel batteries cost

A solar panel ever pay for itself in electricity savings, at market prices? ?
I bought a solar panel costs about $ 400, when the sun is shining for about 50 watts, then I have to buy the inverter and batteries, at market prices, never pay for itself same? They say it will last about 10 years. How about a windmill?
You need on average 30 years to recoup the investment a solar energy system, this makes it economically unviable in the solar system most likely not cases.The past, either. The only case that solar energy is economically viable is where you do not have network access, for example, remote location. In some countries where the government wants to promote a political green, provides Low cost hardware (benefit green), this makes it economically feasible for the end user. Another way to make it economically viable to start from scratch thinking about solar for example, before building his house. If you purchase and construction of all, appliances, walls, heating systems and so on, think about how to best use of solar energy, which can be obtained almost viable economic system.