   Chapter 9.4, Problem 28ES ### Discrete Mathematics With Applicat...

5th Edition
EPP + 1 other
ISBN: 9781337694193

#### Solutions

Chapter
Section ### Discrete Mathematics With Applicat...

5th Edition
EPP + 1 other
ISBN: 9781337694193
Textbook Problem
1 views

# A programmer writes 500 lines of computer code in 17 days. Must there have been at least 1 day when the programmer wrote 30 or more lines of code? Why?

To determine

To show that there have beenat least 1 day when the programmer wrote 30 or more lines code.

Explanation

Given information:

A programmer writes 500 lines of computer code in 17 days.

Calculation:

Using the pigeonhole principle- the pigeonhole principle states that there must be at least one box which will contain two or more objects if n+1 objects are put in n boxes.

The pigeonhole principle can be expressed mathematically as nk, where n is the number of pigeons and k is the number of pigeonholes.

In the above problem n=500 and k=17

### Still sussing out bartleby?

Check out a sample textbook solution.

See a sample solution

#### The Solution to Your Study Problems

Bartleby provides explanations to thousands of textbook problems written by our experts, many with advanced degrees!

Get Started 