Question: IN MATLAB Problem 4 (modified) in Gilat. (3 points) 4. Radioactive decay can be modeled by the equation A = A e-kt where A is

IN MATLAB

IN MATLAB Problem 4 (modified) in Gilat. (3 points) 4. Radioactive decay

Problem 4 (modified) in Gilat. (3 points) 4. Radioactive decay can be modeled by the equation A = A e-kt where A is the amount at time i, Ao is the amount at time != 0 and k is a constant. Write a MATLAB program that calculates the amount of a radio- active 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 from now for which the amount should be calculated. From this information the program first calculates the constant k and then the amount at / years. For output the program, displays the message: "The amount of the material after XX years is XX kg where XX are the corre- sponding numerical values. Use the program to determine how much pleto miem 299-thalf-life24, 110 years) will be left front 50 lb-after-500-youth tritium (half-life 12.3 years) will be left from 100 lb after 50 years Tips: To get k, use e kt - 0.5 and solve for k. Hint: In(ek) - In (0.5) -kt-In(0.5) Notes: exponent> exponent

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!