Quiz Unit 11B

# Quiz Unit 11B - grams of a radioactive material whose...

This preview shows pages 1–2. Sign up to view the full content.

Student File Submission Assignment Unit11_LabB_miniquiz 1. Lucy currently has \$15,000 in her savings account with a 6 percent interest rate. At the end of each year from now, she does the following: 1. She deposits \$10,000 in the account 2. If the balance, after the new deposit and the interest earned, is greater than or equal to \$100,000, she withdraws 40 percent of the balance to invest elsewhere. We need to find the balance remaining after any given number of years. Write a MATLAB function, called Quiz1 , that will input the number of years, and output the balance in Lucy’s account at the end of that many years. You do not have to write comments in your function. Possible Points: 5 Grade for part 1:3.5 Comments: 2. The half-life of a radioisotope is the time required for half of the radioactive material in a sample to undergo radioactive decay. For example, if we have 20

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the 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.

### Page1 / 2

Quiz Unit 11B - grams of a radioactive material whose...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online