Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please write detailed answers in MATLAB! Problem (1): Radioactive decay can be modeled by the equation kt A-Ae where A is the amount at time
Please write detailed answers in MATLAB!
Problem (1): Radioactive decay can be modeled by the equation kt A-Ae where A is the amount at time t, Ao 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 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 24110 years) will be left from 50 lb after 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