Can I write off computer and software?

I was a freelance writer in 2013 and received a 1099-MISC. Can I write off the computer I bought for the job? What about the antivirus and office software? If so, do these fall under office expenses?