Assignments
SUBMISSION GUIDELINES
Submit your homework by sending it as a PDF file attachment to the email address:
adiky at gradcenter.cuny.edu
The subject should specify:
CSC 21700: HW # Student name
The file name of the attached work should be following:
LastName-FirstName-HW#-CSC21700.pdf
LastName is your last name
FirstName is your first name
# is an assignment number
Work must be submitted no later then 11:59pm of an assignment due date.
LATE homeworks will NOT be accepted.
If you copy, you will receive a zero points.
Work must be submitted as a PDF formated file. No links or files in any other document format is allowed. Make sure that your file is no more the 20 Mb, so you'll be able to send it as an email attachment.
It's preferable if you use a high-quality document preparation system that allows to write formulas and convert document into PDF format, such as Latex, or WYSIWYG word processors (Microsoft Word, LibreOffice Writer or Apple Pages), or cloud editors (Google Docs).
Do not expect a reply on your email after the submission, you would be contacted if it's necessary.
There is 5% penalty if your work does not comply with above guidelines.
Assignment 1
A. We consider events $A$, $B$, and $C$, which can occur in some experiment. Is it true that the probability that only $A$ occurs (and not $B$ or $C$) is equal to $P(A \cup B \cup C) - P(B) - P(C) + P(B \cap C)$?
B. Let $A$ and $B$ be two events. Suppose that $P(A) = 0.3$, $P(B) = 0.5$, and $P(A \cap B) = 0.1$. Find the probability that A or B occurs, but not both.
C. Three events $E$, $F$, and $G$ cannot occur simultaneously. Further, it is known that $P(E \cap F ) = P(F \cap G) = P(E \cap G) = 1/3$. Can you determine $P(E)$?
D. A fair die is thrown twice. A is the event "sum of the throws equals 5", B is "at least one of the throws is a 3".
Calculate P(A | B).
Are A and B independent events?
E. Calculate
Probability $P(A \cup B)$ if it is given that $P(A) = 1/2$ and $P(B | \bar{A}) = 1/4$.
Probability $P(B)$ if it is given that $P(A \cup B) = 3/4$ and $P(\bar{A} | \bar{B} ) = 1/2$.
Calculate $P(T)$ when $P(B) = 0.1$, $P(T | B)=0.98$ and $P(T | \bar{B}) = 0.05$.
Calculate $P(B | T)$ and $P(B | \bar{T})$ if $P(B) = 0.1$, $P(T | B)=0.98$ and $P(T | \bar{B}) = 0.05$.
Assignment 2
A. An application is running on three servers $X, Y, Z$ with following availability 96%, 98%, 97%. Assume that the servers are independent. Determine the probability mass function of the server availability. Determine expected value and variance of the server availability.
B. The range of the random variable $X$ is $[0, 1, 2, 3, 4, x]$, where $x$ is unknown. If each value is equally likely and the mean of $X$ is 5, determine x.
C. Two random variables $X$ and $Y$ have the joint distribution, $P(0, 0) = 0.2$, $P(0, 2) = 0.2$, $P(1, 1) = 0.2$, $P(2, 0) = 0.3$, $P(2, 2) = 0.1$, and $P(x, y) = 0$ for all other pairs (x, y).
Find the probability mass function of $Z = X + Y$.
Find the probability mass function of $U = X - Y$.
Find the probability mass function of $V = XY$.
D. Show that for a discrete uniform random variable $X$, if each of the values in the range of X is multiplied by the constant $c$, the effect is to multiply the mean of $X$ by $c$ and the variance of $X$ by $c^2$. That is, show that $E[cX] = c E[X]$ and $Var[cX] = c^2 Var[X]$.
E. The number of requests sent to a server is a Poisson random variable with a mean of 6 requests per hour.
What is the probability that 5 requests are received in 1 hour?
What is the probability that 10 requests are received in 1.5 hours?
What is the probability that less than two requests are received in one-half hour?
F. Show that for any random variables $X, Y , Z, W$, and any non-random numbers $a, b, c, d, e, f$.
G. The probability density function $f$ of a continuous random variable $X$ is
Find $c$ and compute cdf function $F(x)$.
H. The time $X$ it takes to reboot a certain system has Gamma distribution with $\mu = 20$ min and $\sigma = 10$ min.
Compute parameters of this distribution.
What is the probability that it takes less than 15 minutes to reboot this system?
I. A random variable $Z$ follows a standard normal distribution.
Prove that pdf of $Z$ is symmetric, i.e. $F(-a) = 1 - F(a)$ for any $a$.
Use above property to compute $P(Z \leq -2)$.