Rottino Company purchased a cutting machine for $17,000 on January 1, 2017 that was depreciated using the double-declining-balance method over 5 years with $0 salvage value. The machine was either (i) sold for $7,600 cash on October 31, 2018 or (ii) exchanged along with $1,000 cash for a new machine valued at $7,000 on that same date.