When a certain radioactive element decays, the amount, in milligrams, that remains after t years can be approximated by the function A above. Approximately how many years would it take for an initial amount of 800 milligrams of this element to decay to 400 milligrams?