My laptop will not cut it for my online schooling. Can I write a computer purchase off as a tax expense if it is for school?

I currently have an older laptop that will not run some of the materials I will need for my course work. I would be using the PC for personal use as well.