Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

VISUAL BASIC PROGRAMMING: Program 3. Caffeine After caffeine is absorbed into the body, 13% is eliminated from the body each hour. Assume a person drinks

VISUAL BASIC PROGRAMMING: Program 3. Caffeine

After caffeine is absorbed into the body, 13% is eliminated from the body each hour. Assume a person drinks an 8-ounce cup of brewed coffee containing 130 mg of caffeine, and the caffeine is absorbed immediately into the body. Write a program to calculate the following:

The number of hours required until 65 mg (one-half of the original amount) remain in the body.

The amount of caffeine in the body 24 hours after the person drinks the coffee.

Suppose the person drinks a cup of coffee at 7 AM and then drinks a cup of coffee at the end of each hour until 7 AM the next day. How much caffeine will be in the body at the end of 24 hours?

image text in transcribed

aCaffeine Caffeine Calculate Values Calculate Values One cup: When will 65 mg. remain? 5 Hours One cup: When will 65 mg. remain? One cup: Quantity after 24 hours: One cup: Quantity after 24 hours: 4.60 mg Hourly cups: Quantity after 24 hours Hourty cups: Quantity after 24 hours 969.24 mg

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

The Database Experts Guide To SQL

Authors: Frank Lusardi

1st Edition

0070390029, 978-0070390027

More Books

Students also viewed these Databases questions

Question

=+development and make the product, should you go ahead and do so?

Answered: 1 week ago