Question
Radioactive decay can be modeled by the equation A=A0ekt where A is the amount at time t, A0 is the amount at time t =
Radioactive decay can be modeled by the equation A=A0ekt
where A is the amount at time t, A0 is the amount at time t = 0, and k is a constant. Write a MATLAB program that calculates the amount of a radioactive material. When executed, the program asks the user to enter the half-life of the material (in years), the current amount of the material (in lb), and the number of years t from now for which the amount should be calculated. From this information the program first calculates the constant k and then the amount at t years. For output the program displays the message: The amount of the material after XX years is XX kg where XX are the corresponding numerical values. Use the program to determine how much plutonium-239 (half-life 24,110 years) will be left from 50 lb after 500 years.
where is the mort t time t, 0 s the mDrt at bme t 0, and K s constant. ite o ' program that calculates the mort radioactive material. V hen executed the rogram12sks the userto onto he ha ife ofthe material in years the current amount o t e m en n b and the number of yc s from now or nch t e mort sh d be calcua ca cm th m rmation he prcgram in calcul toz the constan and then he amountt years. For cu p the program c spla s ne messaoc he moum o he ma cr al af:er X years is X kg where X e he corresponding n marca va es Use the proram to determine how much plutonium 239 lh Flit 24.110 years wil be left from 5C lbafter 500 yearsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started