a machine was purchased at a cost of $76,000. the equipment had an estimated useful life of 8 years and a residual value of $4,000. assuming the equipment was sold at the end of year 6 for $13,000, determine the gain or loss on the sale of the equipment. (assume the straight-line depreciation method.)