Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MATLAB. Decay of radioactive materials can be modeled by the equation A=Ao e^(kt) where A is the amount of time t, Ao is the amount

MATLAB. Decay of radioactive materials can be modeled by the equation A=Ao e^(kt) where A is the amount of time t, Ao is the amount at t=0, and k is the decay constant (k<=0). Iodine-132 is a radioisotope that is used in thyroid function tests. Its half-life (A/Ao = 1/2) time is 13.3 hours. Set up the equations to calculate the relative amount of Iodine-132 (A/Ao) in a patient's body at a given number of hours after receiving a dose. Start by determining the value of k from the half-life, then create a relationship for the output of C. Keep in mind that a vector for time=0, 4, 8, ..., 48 will be sent to the code that you generate.

Hint: there are tests built to handle the different time scenarios, you do not need to define t = 0:4:48, etc.*

function C = radioactive(time,halflife) %Use the input half-life to determine the value of k in the radioactive decay problem %then use the vector time to build the concentration "C" based on the calculated k constant %keep the end statement end

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Programming questions

Question

What do you need to know about your students to motivate them?

Answered: 1 week ago