Question: ( 5 0 Points ) Carbon 1 4 : Write a MATLAB program that reads the percentage of carbon - 1 4 remaining in a
Points Carbon : Write a MATLAB program that reads the percentage of carbon
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 remaining in the sample.
Read the percentage.
Convert the percentage into a ratio
Calculate the age of the sample in years using the equation Ageratio
Write out the result and stop.
Test the program using the following numbers:
lambda for crabon
Assume percent of carbon is
The CRC Handbook of Chemistry and Physics states that the halflife of carbon is years.
Does our program agrees with the reference book?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
