Generally, if your computer is a necessary requirement for enrollment or attendance at an educational institution, the IRS deems it a qualifying expense. If you are using the computer simply out of convenience, it most likely does not qualify for a tax credit.
-follow this link for more information-
Can I Deduct My Computer for School on Taxes? - TurboTax ...