Question: ( 5 0 Points ) Carbon 1 4 : Write a MATLAB program that reads the percentage of carbon - 1 4 remaining in a

(50 Points) Carbon 14: Write a MATLAB program that reads the percentage of carbon-14
remaining in a sample, calculates the age of the sample from it, and prints out the result with
proper units. The program must perform the following steps:
Prompt the use to enter the percentage of carbon-14 remaining in the sample.
Read the percentage.
Convert the percentage into a ratio =Percentage100
Calculate the age of the sample in years using the equation Age=-1**ln(ratio)
Write out the result and stop.
Test the program using the following numbers:
-lambda =0.00012097 for crabon -14
Assume percent of carbon-14 is 50%
The CRC Handbook of Chemistry and Physics states that the half-life of carbon-14 is 5,730 years.
Does our program agrees with the reference book?
( 5 0 Points ) Carbon 1 4 : Write a MATLAB

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 Programming Questions!