Welcome to AssignmentCache!

PRG/211 Week 1 Lab 3.4: Caffeine levels

Availability: In stock

$8.00

Quick Overview

PRG/211 Week 1 Lab 3.4.1: Caffeine levels


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.

PRG211 LAB 3.4.1 Caffeine levels Program

Double click on above image to view full picture

Zoom Out
Zoom In

More Views

  • PRG211 LAB 3.4.1 Caffeine levels Program
  • PRG211 LAB 3.4.1 Caffeine levels Flowchart
$8.00

Details

PRG/211 Week 1 Lab 3.4.1: Caffeine levels

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.

Additional Information

Special Price $3.00

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.

[profiler]
Memory usage: real: 18350080, emalloc: 18028328
Code ProfilerTimeCntEmallocRealMem