subject

In coral programming: a half-life is the amount of time it takes for a substance or entity to fall to half its original value. caffeine has a half-life of about 6 hours in humans. given caffeine amount (in mg) as input, output the caffeine level after 6, 12, and 18 hours.

ex: if the input is 100, the output is:

after 6 hours: 50.0 mg
after 12 hours: 25.0 mg
after 18 hours: 12.5 mg
note: a cup of coffee has about 100 mg. a soda has about 40 mg. an "energy" drink (a misnomer) has between 100 mg and 200 mg.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:30
Auniversity wants to install a client-server network. which feature do you think is important for them as they set up the network? sending email blocking multiple people to use the same file low security low set up cost limited access to files
Answers: 1
question
Computers and Technology, 23.06.2019 01:30
For a typical middle-income family, what is the estimated cost of raising a child to the age of 18? $145,500 $245,340 $304,340 $455,500
Answers: 2
question
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
What is a programming method that provides for interactive modules to a website?
Answers: 1
You know the right answer?
In coral programming: a half-life is the amount of time it takes for a substance or entity to fall...
Questions
Questions on the website: 13722361