No. you can't. Depreciating the current *** book value over the next 04 years is not the correct accounting treatment. Since you say you expect the technology to be changed in 04 years, it is an indication of an impairment loss. In other words machine's carrying amount is likely to be in excess of the greater of its *** selling price and its value in use.
First you need to calculate the amount of impairment and pass the entries. For instance lets assume your *** book value/carrying value is now $38,700/= and you find that the carrying value is $10,000 more than the greater of its *** selling price and its value in use. Then an impairment loss of $10,000 should be recorded as follows:
Impairment a/c Dr $10,000 (P&L account)
Provision for Impairment a/c Cr $10,000 (balance sheet)
Now your machine's carrying amount is $ 33,000 which can be depreciated in 04 years since you know the machine can be used for another four years only.