About the depreciation amount of fixed assets two algorithms do not understand

Double Declining Balance Method does not take into account the net salvage value upfront. It is depreciated at full value, but it is only in the last two years that depreciation is taken using

(full value - net salvage - depreciated)/2, so that the net salvage is reflected in the last two years.

Two different depreciation methods, of course, two different algorithms.

Example: A hospital has a piece of machinery and equipment with an original cost of $600,000, an estimated useful life of five years, and an estimated net salvage value of $24,000. Asked to calculate what is the depreciation in the third year? What is the amount of depreciation in the last year?

Annual depreciation rate = 2/5 = 40%

Depreciation due in the first year = 600000 * 40% = 240000 yuan

Depreciation due in the second year = (600000-240000) * 40% = 144000 yuan

Depreciation due in the third year = (600000-240000- 144000)*40%=86400 yuan

Depreciation due in each of the fourth and fifth years=(600000-240,000-144000-86400-24000)/2=52800 yuan