






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







8-19-08 Homework 0 CS 1050 A Due: 8-21-
Every assignment will be due at the beginning of class.
Print this document, and complete Homework 0 on the printout.
The purpose of this first homework is to get to know a little bit about you, and to get a rough feeling of your current mathematical background. This Homework 0 is mandatory, but your grade will be either 100 (if you put a descent effort in either answering the questions, or explaining what background you think you are missing in the case where you cannot answer a particular question or questions), or zero (if you do not hand in the homework, or if you clearly put no time or effort). Only for this particular homework, please asnwer it without collaborating with others, and use as few external references or other resources as possible. In any case, if you use external references or other resources, please do list them. Try to complete the entire homework in no more than 2 hours. In any case, please write how long it took you to complete the homework.
.....................................................
.....................................................
.....................................................
.....................................................
.....................................................
(a) log 10 100 =? Explain.
(b) log 2 16 =? Explain.
(a) log 2 12 =? Explain.
(a) Give the definition of a prime number.
(b) How many prime numbers are there?
(c) 140 is a composite number. Give its factorization in terms of prime numbers.
You toss a fair coin 1000 times and count the number of heads.
(a) Would you be willing to bet that the number of counted heads is between 350 and 650, under the following condition: If the number of heads is indeed between 350 and 650, then you will win $100. If the number of heads is smaller than 350 or larger than 650, then you will loose $100. Explain, intuitively, if it is reasonable to accept this bet.
(b) Would you be willing to bet that the number of counted heads is larger than 900, under the following condition: If the number of heads is indeed larger than 900, then you will win $100. If the number of heads is smaller than 900 then you will loose $1. Explain, intuitively, if it is reasonable to accept this bet.
Three tourists rented a room for $30. The next morning, the manager realized that the room was only $25, so he sent his dishonest son to deliver the $5 difference. But the son only gave each of the three in the room $1, keeping $2 for himself. This means that each tourist only paid $9 each for the room, rather than $10. But 3 times $9 is $27, and the dishonest son only kept $2, making only $29 all together, not $30. Where did the remaining dollar go?
Let x and y below denote arbitrary positive integers. Which of the following statements are true and which are false?
(a) ∀x∃y : y > x.
(b) x > y , ∀x∀y.
(c) (x = y) −→ ((x > y)V (y > x)) , ∀x∀y.
(d) Write in English proposition (c) above.