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
-
SELF EXAMINATION QUESTIONS: 1. What is the prime objective of material control? It is said that in any system of material control there are always two counteracting or opposing factors. What are...
-
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 a shipment of Pilsner Urquell from the Czech Republic costs 345,628 korunas and the spot exchange rate is 33.24 korunas per euro, what should be the price of the shipment in euros?
-
Consider a tennis player who hits a serve at 140 mi/h (63 m/s). Estimate the average force exerted by the racket on the ball (m = 57 g). You will need to estimate the collision time, that is, the...
-
The following end-of-year amounts are from the financial statements of Konstan Corporation: total assets, $213,000; total liabilities, $86,000; stockholders equity, $127,000; net sales, $391,000;...
-
Mad Dog Enterprises manufactures computer game control devices like joysticks and steering wheels. Following is a list of the costs incurred by Mad Dog in 2012: Wages paid to assembly workers . . . ....
-
Oberon, Inc., has a $25 million (face value) 12-year bond issue selling for 98 percent of par that pays an annual coupon of 8.05 percent. What would be Oberon's before-tax component cost of debt?...
-
Saint Leo is developing a plan to promote their new Center in your hometown. The University's marketing director wants to use a varied and balanced approach to IMC. For each of the five IMC types...
-
Addictions Theory Some professionals believe that addictions are hereditary, others claim that addictions are learned behaviors, and some believe that people outgrow their addictions as they mature....
-
what would happen if terrorism suddenly ended what affect this would have on bond prices and perhaps the economy? I am trying to understand the relationship between the two but it's very complicated.
-
Imagine that you are a Product Development manager of one (1) Takaful operator. You have been asked by the Board of Directors to come up with a proposal to improve the current coverage, benefits and...
-
Compute the cost of capital for each of the following sources of financing: a. A new common stock issue by a firm that paid a $1.80 dividend last year. The firm's dividends are expected to continue...
-
Lerman Company has preferred stock outstanding. It pays an annual dividend of $10. If its current price is $60, what is the discount rate investors are using to value the stock?
-
You are considering opening a drive-in movie theater and running it for ten years.You have spent after-tax $10,000 researching the land that will be used for theater, but if you take the project you...
-
Your co-worker wanted the afternoon off and you graciously agreed to finish up his work for him. Use the completed joomal ene provided and post them to their accounts Assume all accounts start with a...
-
Could the owner of a business prepare a statement of financial position on 9 December or 23 June or today?
-
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...
-
Computing unit cost for department and for completed units} with beginning inventory Robert E. Lee Company has two production departments. Blending had 1,000 units in process at the beginning of the...
-
Identifying cost flows in process cost system} List in columnar form the transactions and the accounts debited and credited to reflect the flow of costs through a process cost accounting system for...
-
Departmental cost work sheet analysis; cost of production} summary, three departments, no beginning inventories Goode Manufacturing Co. has three departments and uses the process cost system of...
The Readmission Of Asylum Seekers Under International Law 1st Edition - ISBN: 1509954759 - Free Book
Study smarter with the SolutionInn App