Questions
1. Of 12 possible books, you plan to take 4 with you on vacation. How many...

1. Of 12 possible books, you plan to take 4 with you on vacation. How many different collections of 4 books can you take?

2. There are 14 standbys who hope to get seats on a flight, but only 6 seats are available on the plane. How many different ways can the 6 people be selected?

3. A die is rolled. The set of equally likely outcomes is {1, 2, 3, 4, 5, 6}. Find the probability of rolling a number greater than 4.

4. A die is rolled. The set of equally likely outcomes is {1, 2, 3, 4, 5, 6}. Find the probability of rolling a number less than 20.

5. A city council consists of six Democrats and four Republicans. If a committee of three people is selected, find the probability of selecting one Democrat and two Republicans.

6. A parent-teacher committee consisting of four people is to be selected from fifteen parents and five teachers. Find the probability of selecting two parents and two teachers.

In: Statistics and Probability

java NetBeans Class Entry: Implement the class Entry that has a name (String), phoneNumber (String), and...

java NetBeans

Class Entry:

  1. Implement the class Entry that has a name (String), phoneNumber (String), and address (String).
  2. Implement the initialization constructor .
  3. Implement the setters and getters for all attributes.
  4. Implement the toString() method to display all attributes.
  5. Implement the equals (Entry other) to determine if two entries are equal to each other. Two entries are considered equal if they have the same name, phoneNumber, and address.
  6. Implement the compareTo (Entry other) method that returns 0 if the two entries have the same number, -1 if this.number is smaller than other.number, and + 1 if this.number is > other.number

Class PhoneBook

  1. Implement the class PhoneBook that has a city (String), type (String), entryList (an ArrayList of Entry).
  2. Implement the constructors to initialize the city and type.
  3. Implement the method addEntryToPhoneBook(Entry e) that adds an entry to the phone book.
  4. Implement the method toString() that displays all attributes and all enties information of the phone book.
  5. Implement the method displayAll() that displays all entries in the phone book.
  6. Implement the method checkEntryByNumber(String number) that takes a number and returns the entry with that number if it exists.
  7. Implement the method checkEntrisByName(String name) that takes a name, and returns an array list of the entries that start with this name or letters.
  8. Implement the method removeEntryFromPhoneBook (String number) that removes an entry from the arrayList of entires in the phone book.

Class TestPhoneBook

  1. Create a phone book and initialize its attributes.
  2. Add 5 entries to the phone book list using the method addEntryToPhoneBook()
  3. Display all entries in the phone book.
  4. Display the entry information for a given phone number if it exists. Give the appropriate message if it does not exist.
  5. Display all entries starting with the letters "Abd"
  6. Remove a specific entry from the phone book. Display the proper message if it was removed , or if it did not exist.
  7. Sort and display the entries of the phone book

In: Computer Science

Suppose the average number of donuts a nine-year old child eats in a month between 0.5...

Suppose the average number of donuts a nine-year old child eats in a month between 0.5 and 5 minutes, inclusive. Let X the average number of donuts a nineyear old child eats in a month. (Round probabilities to 4 decimal places) a. Then X ~ f(x) =

b. Find the probability that a randomly selected nine-year old child eats on average more than 2 donuts in month.

c. Find the 90th percentile for the average number of donuts a nine-year old child eats per month.

d. Find the probability that a different nine-year old child eats an average of more than two donuts given that his or her average is more than 1 donut per month.

In: Statistics and Probability

1) You have a device that wants to transmit many packets to a router, which is...

1) You have a device that wants to transmit many packets to a router, which is sometimes busy serving other users. At every second, your device attempts to send a packet. It succeeds with probability 1/5 and the success of any attempt is independent of the success of other attempts. What is the average number of attempts until the first success?

2)You have a device that wants to transmit many packets to a router, which is sometimes busy serving other users. At every second, your device attempts to send a packet. It succeeds with probability 1/5 and the success of any attempt is independent of the success of other attempts. Let N be the number of attempts until the first success. What is the average number of successful attempts out of 20?

In: Statistics and Probability

The “Eyland Krew”; Lola(No Waay!), Dai Lejai(Ghet Da Stat Out!), Mayra(Oh Shift!)and Leslie(Smak Dat Stat), wanted...

The “Eyland Krew”; Lola(No Waay!), Dai Lejai(Ghet Da Stat Out!), Mayra(Oh Shift!)and Leslie(Smak Dat Stat), wanted to find the number of tune-ups per month necessary for the new TSEGAsports car. They sent their top executive RandDominic(of “RejectTim,he’s Shady!”) and they came up with the following results:

Tune-ups: 0 1 2 3 4 5 6

Probability: .05 .10 .30 .16 .23 .12 .04

Find:

a.(2pts.)The probability that theTSEGAsports car needed no less than 3tune-ups in a month.

b.(6pts.)Find the variance and the standard deviation for the number of tune-ups in a month.

c.(3pts.)What was the average number of tune-ups per month?

In: Statistics and Probability

Assuming a random variate follows a binomial distribution with x "successes" in n "experiments", and the...

Assuming a random variate follows a binomial distribution with x "successes" in n "experiments", and the probability of a single success in any given experiment being p; compute:

(a) Pr(x=2, n=8, p=0.47)

(b) Pr(3 < X ≤ 5) when n = 9 and p = 0.6

(c) Pr(X ≤ 3) when n = 9 and p = 0.13

(d) The probability that the number of successes is more than 1 when n = 13 and p = 0.19

(e) The uncertainty in the number of successes when n = 11 and p = 0.14

(f) The mean number of successes when n = 10 and p = 0.07

(g) Pr(3 ≤ X ≤ 5) when n = 8 and p = 0.79

In: Statistics and Probability

   5. A new young mother has opened a cloth diaper service. She is interested in...

   5. A new young mother has opened a cloth diaper service. She is interested in simulating the number of diapers required for a one-year- old. She hopes to use this data to show the cost effectiveness of cloth diapers. The table below shows the number of diapers demanded daily and the cumulative probabilities associated with each level of demand.

   Daily Demand

Cumulative Probability

           Interval of

      Random Numbers

              5

0.30

             01-30

              6

0.80

             31-80

              7

0.85

             81-85

              8

     x

             86-00

(a)    Find the missing values x.

(b)   Find the probability of each of daily demands?

(c)    If the random number 96 were generated for a particular day, what would be the simulated demand for that day?

In: Math

The mean number of children per household in some city is 1.37, and the standard deviation...

The mean number of children per household in some city is 1.37, and the standard deviation is 1.21.

(a) If we take a random sample of 325 households, what is the probability that the mean number of children per household in the sample will be more than 1.26?

(b) {NO CALCULATION FOR THIS} To answer (a), did you assume that the number of

children in a household is normally distributed? Why or why not?

4.

In: Statistics and Probability

If you roll two six-sided dice, what is the probability of obtaining the following outcomes? a)2...

If you roll two six-sided dice, what is the probability of obtaining the following outcomes?

a)2 or 3

b) 6 and 4

c) At least one 5

d) Two of the same number (two 1s, or two 2s, or two 3s, etc.)

e) An even number on both dice

f) An even number on at least one die

In: Math

12) The percentage of people in the highest income quintile in 1987 that remained in the...

12) The percentage of people in the highest income quintile in 1987 that remained in the highest quintile by 2007 was:

a) 48.4%

b) 23.3%

c) 24.4%

d) 95%

In: Economics