modeled by the equation: Radioactive decay of radio active materials can be log2, A Age where...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
modeled by the equation: Radioactive decay of radio active materials can be log2, A Age where A, is the amount of the material at time t, A, is the original amount and h is the half-life. Technetium-99 is a radio isotope that is used in imaging of the brain. It has a half-life of 6 hours. Write a program that collects Ao as double input. Then have your program display the level of technetium-99 remaining after every 3 hours in a 24 hour time period. Your program should use a method, which takes in as parameters the values of As, h, and t, which then returns the result of the equation. Enter initial amount of Technetium-99: 1.0 Amount remaining at time 0: 1.0 Amount remaining at time 3: 0.7071067811865475 Amount remaining at time 6: 0.5 Amount remaining at time 9: 0.35355339059327373 Amount remaining at time 12: 0.24999999999999997 Amount remaining at time 15: 0.1767766952966369 Amount remaining at time 18: 0.125 Amount remaining at time 21: 0.08838834764831843 Amount remaining at time 24: 0.062499999999999986 When you have above part completed, write a sentinel while loop that repeats this work until the user types in "quit". Enter initial amount of Technetium-99: 1.0 Amount remaining at time 0: 1.0 Amount remaining at time 3: 0.7071067811865475 Amount remaining at time 6: 0.5 Amount remaining at time 9: 0.35355339059327373 Amount remaining at time 12: 0.24999999999999997 Amount remaining at time 15: 0.1767766952966369 Amount remaining at time 18: 0.125 Amount remaining at time 21: 0.08838834764831843 Amount remaining at time 24: 0.062499999999999986 Process another sample?: yes Enter initial amount of Technetium-99: 15.935 Amount remaining at time 0: 15.935 Amount remaining at time 3: 11.267746558207634 Amount remaining at time 6: 7.9675 Amount remaining at time 9: 5.633873279103817 Amount remaining at time 12: 3.9837499999999997 Amount remaining at time 15: 2.816936639551909 Amount remaining at time 18: 1.991875 Amount remaining at time 21: 1.4084683197759542 Amount remaining at time 24: 0.9959374999999998 Process another sample?: quit modeled by the equation: Radioactive decay of radio active materials can be log2, A Age where A, is the amount of the material at time t, A, is the original amount and h is the half-life. Technetium-99 is a radio isotope that is used in imaging of the brain. It has a half-life of 6 hours. Write a program that collects Ao as double input. Then have your program display the level of technetium-99 remaining after every 3 hours in a 24 hour time period. Your program should use a method, which takes in as parameters the values of As, h, and t, which then returns the result of the equation. Enter initial amount of Technetium-99: 1.0 Amount remaining at time 0: 1.0 Amount remaining at time 3: 0.7071067811865475 Amount remaining at time 6: 0.5 Amount remaining at time 9: 0.35355339059327373 Amount remaining at time 12: 0.24999999999999997 Amount remaining at time 15: 0.1767766952966369 Amount remaining at time 18: 0.125 Amount remaining at time 21: 0.08838834764831843 Amount remaining at time 24: 0.062499999999999986 When you have above part completed, write a sentinel while loop that repeats this work until the user types in "quit". Enter initial amount of Technetium-99: 1.0 Amount remaining at time 0: 1.0 Amount remaining at time 3: 0.7071067811865475 Amount remaining at time 6: 0.5 Amount remaining at time 9: 0.35355339059327373 Amount remaining at time 12: 0.24999999999999997 Amount remaining at time 15: 0.1767766952966369 Amount remaining at time 18: 0.125 Amount remaining at time 21: 0.08838834764831843 Amount remaining at time 24: 0.062499999999999986 Process another sample?: yes Enter initial amount of Technetium-99: 15.935 Amount remaining at time 0: 15.935 Amount remaining at time 3: 11.267746558207634 Amount remaining at time 6: 7.9675 Amount remaining at time 9: 5.633873279103817 Amount remaining at time 12: 3.9837499999999997 Amount remaining at time 15: 2.816936639551909 Amount remaining at time 18: 1.991875 Amount remaining at time 21: 1.4084683197759542 Amount remaining at time 24: 0.9959374999999998 Process another sample?: quit modeled by the equation: Radioactive decay of radio active materials can be log2, A Age where A, is the amount of the material at time t, A, is the original amount and h is the half-life. Technetium-99 is a radio isotope that is used in imaging of the brain. It has a half-life of 6 hours. Write a program that collects Ao as double input. Then have your program display the level of technetium-99 remaining after every 3 hours in a 24 hour time period. Your program should use a method, which takes in as parameters the values of As, h, and t, which then returns the result of the equation. Enter initial amount of Technetium-99: 1.0 Amount remaining at time 0: 1.0 Amount remaining at time 3: 0.7071067811865475 Amount remaining at time 6: 0.5 Amount remaining at time 9: 0.35355339059327373 Amount remaining at time 12: 0.24999999999999997 Amount remaining at time 15: 0.1767766952966369 Amount remaining at time 18: 0.125 Amount remaining at time 21: 0.08838834764831843 Amount remaining at time 24: 0.062499999999999986 When you have above part completed, write a sentinel while loop that repeats this work until the user types in "quit". Enter initial amount of Technetium-99: 1.0 Amount remaining at time 0: 1.0 Amount remaining at time 3: 0.7071067811865475 Amount remaining at time 6: 0.5 Amount remaining at time 9: 0.35355339059327373 Amount remaining at time 12: 0.24999999999999997 Amount remaining at time 15: 0.1767766952966369 Amount remaining at time 18: 0.125 Amount remaining at time 21: 0.08838834764831843 Amount remaining at time 24: 0.062499999999999986 Process another sample?: yes Enter initial amount of Technetium-99: 15.935 Amount remaining at time 0: 15.935 Amount remaining at time 3: 11.267746558207634 Amount remaining at time 6: 7.9675 Amount remaining at time 9: 5.633873279103817 Amount remaining at time 12: 3.9837499999999997 Amount remaining at time 15: 2.816936639551909 Amount remaining at time 18: 1.991875 Amount remaining at time 21: 1.4084683197759542 Amount remaining at time 24: 0.9959374999999998 Process another sample?: quit modeled by the equation: Radioactive decay of radio active materials can be log2, A Age where A, is the amount of the material at time t, A, is the original amount and h is the half-life. Technetium-99 is a radio isotope that is used in imaging of the brain. It has a half-life of 6 hours. Write a program that collects Ao as double input. Then have your program display the level of technetium-99 remaining after every 3 hours in a 24 hour time period. Your program should use a method, which takes in as parameters the values of As, h, and t, which then returns the result of the equation. Enter initial amount of Technetium-99: 1.0 Amount remaining at time 0: 1.0 Amount remaining at time 3: 0.7071067811865475 Amount remaining at time 6: 0.5 Amount remaining at time 9: 0.35355339059327373 Amount remaining at time 12: 0.24999999999999997 Amount remaining at time 15: 0.1767766952966369 Amount remaining at time 18: 0.125 Amount remaining at time 21: 0.08838834764831843 Amount remaining at time 24: 0.062499999999999986 When you have above part completed, write a sentinel while loop that repeats this work until the user types in "quit". Enter initial amount of Technetium-99: 1.0 Amount remaining at time 0: 1.0 Amount remaining at time 3: 0.7071067811865475 Amount remaining at time 6: 0.5 Amount remaining at time 9: 0.35355339059327373 Amount remaining at time 12: 0.24999999999999997 Amount remaining at time 15: 0.1767766952966369 Amount remaining at time 18: 0.125 Amount remaining at time 21: 0.08838834764831843 Amount remaining at time 24: 0.062499999999999986 Process another sample?: yes Enter initial amount of Technetium-99: 15.935 Amount remaining at time 0: 15.935 Amount remaining at time 3: 11.267746558207634 Amount remaining at time 6: 7.9675 Amount remaining at time 9: 5.633873279103817 Amount remaining at time 12: 3.9837499999999997 Amount remaining at time 15: 2.816936639551909 Amount remaining at time 18: 1.991875 Amount remaining at time 21: 1.4084683197759542 Amount remaining at time 24: 0.9959374999999998 Process another sample?: quit
Expert Answer:
Answer rating: 100% (QA)
Answer Certainly Heres a simple Python program that fulfills your requirements import math ... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
Decay of radioactive materials can be modeled by the equation A = A0ekt, where A is the amount at time t, A0 is the amount at t = 0, and k is the decay constant ( k < 0 ). Iodine-132 is a...
-
A local university is considering changes to its class structure in an effort to increase professor productivity. The old schedule had each professor teaching 5 classes per week, with each class...
-
If we find that there is a linear correlation between the concentration of carbon dioxide (CO2) in our atmosphere and the global mean temperature, does that indicate that changes in CO2 cause changes...
-
Tom Russell is a junior in the school of business administration at a large midwestern university. Tom, who is an honor student, hasnt fully decided what his major should be. He has considered...
-
A soldering gun contains a transformer that lowers the \(120 \mathrm{~V}\) from an outlet to a few volts. It's possible to have a current of \(150 \mathrm{~A}\) in the tip of the soldering iron even...
-
J. Witt and K. Torres are partners in Whole Earth Consultants. Witt and Torres share income equally. L. Jenkins will be admitted to the partnership. Prior to the admission, equipment was revalued...
-
(a) How many years will it take an investment of $1,000 to grow to $1,900 if the investment pays 5.5% p.a. compounded every four months? (b) The probabilities of returns from two assets are as...
-
If you wish to have $8000 in a saving account at the end of six years, and 5% compound interest will be paid annually, how much should you put into the saving account now ?
-
Interview an organizational leader to determine the challenges they currently encounter in their organization. From the interview, what do you think are the major factors of the identified...
-
A key element is upper management. Their focus should be on the organizational portfolio, not the individual projects. Those are the tactical side. As someone who manages the organizational...
-
List the methods of biblical criticism that we have examined this semester. 2. What are the strengths and weaknesses of each method? 3. List some of the components of the Historical Critical...
-
You have a margin account. Your initial margin is 50% and your maintenance margin is 25%. In the morning, you purchase 100 shares of Bad Investment Incorporated for $75 per share. At the close of the...
-
N.B: Please if it can be real experience, i will be grateful. I tried not to looked at solved solutions online. i want somehow real. I don't want to use chatgpt as well. Please provide references if...
-
Write an inequality that represents the x-values highlighted on each number line below. . b. -1 0 1 2 3 45 6 7 8 9 -1012 3 9. d. . -54-3 -2 -1012 3 45 -101 2 3 4 5 6 7 8 9
-
Explain the circumstances that could result in a long-term bank loan being shown in a statement of financial position as a current liability.
-
Create a vector (name it vtA) that has 10 elements of which the first is 8, the increment is 7, and the last element is 71. Then, assign elements of vtA to a new vector (call it vtB) such that vtB...
-
Plot the function f(x) = sin2(x)cos(2x) and its derivative, both on the same plot, for 0 < x < 2. Plot the function with a solid line, and the derivative with a dashed line. Add a legend and label...
-
A rocket flying straight up measures the angle e with the horizon at different heights h. Write a MATLAB program in a script file that calculates the radius of the earth R (assuming the earth is a...
-
An extremely intriguing feature of quantum entanglement is a property that has been called the "monogamy of entanglement": a particle can only be maximally entangled with precisely one other...
-
The quaternions are three quantities i, j, and k such that, along with the real number 1, they form the basis of a four-dimensional space over the real numbers. The objects i, j, and k have...
-
We had stated in this chapter that the general Rnyi entropies do not satisfy subadditivity; only the von Neumann entropy does. In Example 12.2 , we constructed an explicit counterexample for the Rnyi...
Study smarter with the SolutionInn App