This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: grams of a radioactive material whose half-life is 2 years, then after 2 years 10 grams of it will be left. After two half-lives, that is after 4 years, 5 grams will be left. After three half-lives, 2.5 grams will be left, and so on. Write a MATLAB function, called Quiz2 , that determines how many years it would take for a certain amount of radioactive material to be reduced to a level at or below a target threshold amount. Specifically, the function will input the following: 1. The starting amount of the radioactive material (in grams) 2. The length of the half-life (in years) 3. The target threshold amount of the radioactive material (in grams) and output the number of years required for the radioactive material to be reduced to an amount less than or equal to the threshold amount. You do not have to write comments in your function. Possible Points: 5...
View Full Document
This homework help was uploaded on 03/30/2008 for the course CSE 131 taught by Professor Sticklen during the Spring '08 term at Michigan State University.
- Spring '08