Question: Problem 3 ( 6 points ) Element 1 1 2 is Livermorium, which has a half - life of 5 3 m s . This

Problem 3(6 points)
Element 112 is Livermorium, which has a half-life of 53ms. This means that every 53ms, half
of the atoms of the element present decay. (For example, if there are 400 atoms of the element
now, in 53ms there will be 200 atoms of the element, and in 106ms there will be 100 atoms.)
Write MATLAB code consisting of a main script and a function that will calculate the amount of
Livermorium present after a certain amount of time has passed and will graph the amount of
Livermorium as a function of time. Follow these criteria in organizing your code:
The main script will
prompt the user for the initial amount of Livermorium in grams
prompt the user for the length of time over which to calculate the decays.
call the decay function
print a statement to the screen with the elapsed time in seconds and the
amount of Livermorium remaining in grams
The decay function will
accept the initial grams of Livermorium and the time elapsed as input
arguments
calculate the number of grams remaining after each half-life
plot the amount of Livermorium vs time elapsed in seconds. Use data
markers and no connecting line.
return the amount of Livermorium remaining in grams after the elapsed
time. The function does not have to consider any fractional half lives at
the end of the requested time.
 Problem 3(6 points) Element 112 is Livermorium, which has a half-life

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!