Set the sale price and watch the gain or loss against book value.
$10,000
less accumulated depreciation $5,400
$4,600
$0
Sold for $5,000 → gain $400 · Sold for $4,000 → loss $600
Touch the instrument to see what to notice.