Questions
Probability 1

You have created a (random) 5-digit password for your computer. A hacker tries to break in to your computer. What is the probability that he is successful on the first attempt?

In: Statistics and Probability

What is the probability of:


What is the probability of:
a) randomly selecting a four-person committee consisting entirely of Americans from a pool of 12 british people and 18 Americans.
b) discovering your three best friends all have birthdays in April
c) getting a sum of 2,3, or 4 on a roll of two dice
d) randomly selecting a three-child family with either one or two girl children.

In: Statistics and Probability

PROBLEM A machine that costs $ 40,000 has a useful life of 8 years and it...

PROBLEM
A machine that costs $ 40,000 has a useful life of 8 years and it is estimated that the residual value at the end of its useful life is $ 5,000. This machine, which will be used to make pieces of complex geometry and will have an annual operation and maintenance cost of $ 8,000. The operator of this machine receives $ 15.00 per hour and the machine consumes power at a rate of $ 1.15 per hour. It has also been estimated that each piece needs an average of 48 minutes of machine time to be manufactured.
Note: Although the operator must remain with the machine for as long as the machine is processing parts, he or she can perform other functions the rest of the time.
1. If the annual production has been forecast close to two thousand pieces (2,000), calculate the total unit cost (per piece) considering the value of the money over time if the company uses an annual MARR of 15%.
2. If the pieces can be sold for $ 30 each and we can presume that this price will remain fixed for the length of the study period (8 years),
a) Determine the number of pieces that must be produced and sold so that the company that invests in this alternative neither wins nor loses money.
b) under the presumption of an annual volume of 2,000 pieces, determine the number of years that must elapse before the company recovers its investment if we consider the value of money over time ("discounted payback").

In: Finance

Lie Detector: Suppose a lie detector allows 20% of all lies to go undetected. (a) If...

Lie Detector: Suppose a lie detector allows 20% of all lies to go undetected.

(a) If you take the test and tell 10 lies, what is the probability of having 5 or more go undetected? Round your answer to 3 decimal places.

(b) Would 5 undetected lies be an unusually high number* of undetected lies? Use the criteria that a number (x) is unusually large if P(x or more) ≤ 0.05.
-Yes, that is an unusually high number of undetected lies.
-No, that is not an unusually high number of undetected lies.

...............................................

*Unusually low and high number of successes: x successes among n trials is an unusually high number of successes if P(x or more) ≤ 0.05. x successes among n trials is an unusually low number of successes if P(x or fewer) ≤ 0.05.

In: Statistics and Probability

(Using Matlab) and "while" function 1.   Write a program that prompts the User for if they...

(Using Matlab) and "while" function

1.   Write a program that prompts the User for if they would like to enter a real number. If yes, prompt the User for the real number. Continue to do this until the User enters “no” to the first question. After the User enters “no”, display the average of all the numbers entered.

(Using Matlab) and "while" function

2.   Write a program that prompts the User for if they would like to enter a real number. If yes, prompt the User for the real number. Continue to do this until the User enters “no” to the first question. After the User enters “no”, display the lowest and the highest number of all the numbers entered.

(Using Matlab) and "while" function

3.   Write a program that calculates how many years it will take to accumulate at least $10,000 in an account if the account starts with $500, and at the end of each year you deposit $500, and the current total earns 5% each year. Report on the number of years it will take, and what the total will be.

(Using Matlab) and "while" function

3.2. above to prompt for the ending amount (instead of $10,000.)

(Using Matlab) and "while" function

3.3. above to also prompt the User for the initial starting value for the account.

(Using Matlab) and "while" function

3.4. above to also prompt the User for the amount to deposit each year.

(Using Matlab) and "while" function

3.5. above to also prompt the User for the interest rate.
(Using Matlab) and "while" function

In: Computer Science

Check My Work (1 remaining) Click here to read the eBook: Uneven Cash Flows PV OF...

Check My Work (1 remaining) Click here to read the eBook: Uneven Cash Flows PV OF CASH FLOW STREAM A rookie quarterback is negotiating his first NFL contract. His opportunity cost is 6%. He has been offered three possible 4-year contracts. Payments are guaranteed, and they would be made at the end of each year. Terms of each contract are as follows: 1 2 3 4 Contract 1 $2,500,000 $2,500,000 $2,500,000 $2,500,000 Contract 2 $2,500,000 $3,500,000 $4,500,000 $5,000,000 Contract 3 $7,000,000 $1,500,000 $1,500,000 $1,500,000 As his adviser, which contract would you recommend that he accept? Select the correct answer. a. Contract 1 gives the quarterback the highest present value; therefore, he should accept Contract 1. b. Contract 2 gives the quarterback the highest present value; therefore, he should accept Contract 2. c. Contract 1 gives the quarterback the highest future value; therefore, he should accept Contract 1. d. Contract 3 gives the quarterback the highest future value; therefore, he should accept Contract 3. e. Contract 3 gives the quarterback the highest present value; therefore, he should accept Contract 3.

In: Finance

For your summary statement try to explain in a paragraph for each variable, in statistical terms,...

For your summary statement try to explain in a paragraph for each variable, in statistical terms,

what the 90% confidence interval means for each of these variables.

In other words, how do we interpret these numbers in our SPSS

output?

HRSRELAX (hours per day respondents have to relax)

Mean:                            90% confidence interval lower and upper

Lower class 4.20                2.89/5.51

Working class 3.10           2.87/3.33

Middle class 3.75              3.43/4.08

Upper class 3.36                2.51/4.20

EDUC (highest year of school completed)

Mean:                            90% confidence interval lower and upper

Lower 12.04        11.05/13.03

Working 13.03   12.68/13.37

Middle 15.36      15.03/15.69

Upper 16.86        15.69/18.03

HRS1 (number of hours worked last week)

Mean:                            90% confidence interval lower and upper

Lower 35.72        31.48/39.96

Working 41.80   40.32/43.29        

Middle 42.85      40.98/44.72

Upper 42.86        34.66/51.05

MAEDUC (highest year of school completed, mother)

Mean:                            90% confidence interval lower and upper

Lower 9.48          7.89/11.07

Working 11.31   10.84/11.79

Middle 13.06      12.06/13.52

Upper   14.50     12.38/16.62

In: Statistics and Probability

1.When probabilities are assigned based on the assumption that all the possible outcomes are equally likely,...

1.When probabilities are assigned based on the assumption that all the possible outcomes are equally likely, the method used to assign the probabilities is called the

A.conditional method B.relative frequency method C.subjective method D.Venn diagram method E.classical method

2.You study the number of cups of coffee consumer per day by students and discover that it follows a discrete uniform probability distribution with possible values for x of 0, 1, 2 and 3. What is the standard deviation of the random variable x? (You can round your final answer to two decimals, but do not do any rounding when you are doing the intermediate calculations.)

3. The number of gallons of gasoline sold at your gas station on any one day has a (continuous) uniform distribution with a minimum of 500 and a maximum of 1500. What is the probability that you will sell more than 1300 gallons of gasoline on any particular day? You may round your answer to two decimal places.

4. Assume that the mean debt for credit cards at your bank is $12,000. The population standard deviation is $4000 and the debt amounts have a normal distribution. What is the probability that the debt for one of your credit card holders is between $10,000 and $15,000? You should provide four numbers past the decimal point in your answer.

5. You run an experiment where you weigh shipments of boxes from a warehouse. The random variable, x, is the number of pounds in the shipment. Identify the possible values that the random variable can assume. Give your answer as a mathematical expression based on x.

6. A florist looks at his sales and discovers that the probability that a randomly selected flower sold is a rose is 0.40. The probability that a randomly selected flower sold is white is 0.10. The probability that a randomly selected flower sold is a white rose is 0.03. Given that a randomly selected flower sold is white, what is the probability that it is also a rose? You can round your answer to two decimal places.

7. Based on historical statistics, a climatologist has determined that the probability of rain on Feb. 1 in San Francisco is 0.4. Use the normal approximate to the binomial to calculate the probability that it will rain in San Francisco on exactly 40 of the next 100 Feb. 1 dates. Round your answer to four decimal places.

8. Customers arrive at your store based on a Poisson process with a mean of 4 arrivals per hour.It is currently 3:00 pm and the last customer came in at 2:15 pm.What is the probability that no new customers will arrive before 3:15 pm? Include 4 places past the decimal in your answer.

9. I flip three fair coins, each with a 50-50 probability of getting heads or tails. I do not show you the results, but I tell you that at least one of the three coins shows heads. Given this information, calculate the conditional probability that exactly two of the three coins show heads.You can round your answer to two decimal places.

10. A deck of 52 playing cards consists of four suits, each with thirteen cards.In the game called bridge, a hand consists of thirteen cards selected randomly without replacement.What is the probability that a bridge hand will have exactly 7 cards in the same suit?Round your answer to three decimal places.

I need help with questions 1-10 please!!!


In: Statistics and Probability

Write a Java program that plays the game Rock, Paper, Scissors. The program should generate a...

Write a Java program that plays the game Rock, Paper, Scissors.

The program should generate a random choice (Rock, Paper or Scissors) then ask the user to choose Rock, Paper or Scissors. After that the program will display its choice and a message showing if the player won, lost or tied.

Next, the program should prompt the user to play again or not. Once the player selects to stop playing the game, the program should print the number of wins, losses and ties by the player.

Run your program and show at least 2 examples of playing the game before quitting. For example, the output might look like:

Choose: (0=Rock, 1=Paper, 2=Scissors): 1

You chose Paper

Computer chose Rock

You win

Play again? (y/n): y

Choose: (0=Rock, 1=Paper, 2=Scissors): 0

You chose Rock

Computer chose Scissors

You win

Play again? (y/n): n

You won 2 times

You lost 0 times

You tied 0 times

In: Computer Science

Please generate code in PYTHON: In the game of Lucky Sevens, the player rolls a pair...

Please generate code in PYTHON:

In the game of Lucky Sevens, the player rolls a pair of dice. If the dots add up to 7, the player wins $4; otherwise, the player loses $1.

Suppose that, to entice the gullible, a casino tells players that there are lots of ways to win: (1, 6), (2, 5), and so on. A little mathematical analysis reveals that there are not enough ways to win to make the game worthwhile; however, because many people’s eyes glaze over at the first mention of mathematics, your challenge is to write a program that demonstrates the futility of playing the game.

Your program should take as input the amount of money that the player wants to put into the pot, and play the game until the pot is empty. At that point, the program should print:

  1. The number of rolls it took to break the player
  2. The maximum amount of money in the pot.

An example of the program input and output is shown below:

How many dollars do you have? 50

You are broke after 220 rolls.
You should have quit after 6 rolls when you had $59

In: Computer Science