Expense can only be taken on business portion (ie if you claim 80% business use, section 179 expense = 80% of the cost). 100% business use might be questioned, especially if another computer isn't available for personal use.