Calculate the initial investment from replacing an old machine with a new one using the data as shown below.
Price of the new machine = $500,000
Current market value of the old machine = $40,000
Installation and cleaning costs of the replacement project = $50,000
Accumulated depreciation of the old machine = $70,000
Original price of the old machine = $100,000
Taxes on profits = 20%