ASSIGNMENT A

1.Suppose a point is to be selected at random from the unit square. Write the sample space associated with this random experiment.

2.Let , the set of odd natural numbers, and  the set of natural numbers divisible by 5.  What is the set ?

3.A computer password consists of two lowercase letters followed by a capital letter and four digits. Find the total number of possible passwords.

4.A picture can be added to a text in nine different locations on a page.  If four different pictures are to be placed in the text, how many different designs are there?

5.In how many ways a sample containing non-defective and  defective part can be chosen from a group containing  non-defective and  defective parts?

6.How many different ways can we order the letters of the word BANANAS?

 

R Problems: For full credit, all session commands and all related results must be copied and pasted from R.

1Compute

2.If is the vector (12, -3, 0, 14, -7, 4) and is the vector (1, 0, 0.25, 7, 15, 0.6), find the vector .

3.Let be the vector (3, 7, 0, 3, 5),  be the vector (a, t, c, u, g), and  be the vector (-8, 0, -4, 0, -5).  Write the data frame whose columns are these vectors.

4.Let . Write this as a function in R and find