Write a program which simulates both cases

Assignment Help Basic Statistics
Reference no: EM13970150

You proved the following: If you take a stick of unit length and break it into three pieces, choosing the breaks at random (i.e., choosing two real numbers independently and uniformly from [0, 1]), then the probability that the three pieces form a triangle is 1/4. Consider now a similar experiment: First break the stick at random, then break the longer piece at random. Show that the two experiments are actually quite different, as follows:

(a) Write a program which simulates both cases for a run of 1000 trials, prints out the proportion of successes for each run, and repeats this process ten times. (Call a trial a success if the three pieces do form a triangle.) Have your program pick (x, y) at random in the unit square, and in each case use x and y to find the two breaks. For each experiment, have it plot (x, y) if (x, y) gives a success.

(b) Show that in the second experiment the theoretical probability of success is actually 2 log 2 - 1.

Reference no: EM13970150

Questions Cloud

Identify the range of healthcare facilities that exist in us : The healthcare system and the public health system mutually co-exist. They work in tandem to identify health threats, treat these health occurances, and to educate individuals on how to remain healthy. Identify the range of healthcare facilities th..
What is the probability that the drug will be successful : The drug is used on ten subjects and found to be successful in four out of the ten patients. What density should we now assign to the probability p? What is the probability that the drug will be successful the next time it is used?
Can medical research on animals be justified : If you are against the research would your opinion change if you knew the animals were treated with care while they were used for experiments? If you are pro-animal research does how they are treated matter to you?
Write an essay about the intro about the humanist : Write an essay about The intro about the humanist. The essay is about 3 parghraps ecah phargragh about different story the stories are: The first story is: Guy de Maupassant (moonlight).
Write a program which simulates both cases : Write a program which simulates both cases for a run of 1000 trials, prints out the proportion of successes for each run, and repeats this process ten times.
What are the consequences of inflection point or conflict : What are the consequences of the inflection point or conflict? How are the characters or setting affected? Choose a technology you are worried or excited about. What happens in the story that causes that same concern or excitement
Write an essay paper on buddhism or shinto : Write an essay paper on Buddhism or Shinto. Length: 3-5 pages, MLA format.
Andi qualifies for a home deduction the amount of space : Andi qualifies for a home deduction. The amount of space devoted to business use is 400 square feet of the total 2,000 square feet of her home. Randi's mortgage interest and property taxes in total are $1,600. Other deductions properly allocated to t..
Analyze the effectiveness of seasonal flu vaccinations : Analyze the effectiveness of seasonal flu vaccinations and the cost-saving benefits to the U.S. working environment in your home state

Reviews

Write a Review

Basic Statistics Questions & Answers

  A new york state license plate contains 3 capital letters

a new york state license plate contains 3 capital letters followed by 4 digits. there are 26 capital letters in the

  Find the probability that ball transferred from urn is red

A ball is then selected at random from urn 2. if the ball selected from urn 2 is red, what is the probability that the ball transferred from urn 1 was...(i)red?

  Is there evidence that the population mean amount is less

in a recent year the federal communications commission reported that the mean wait for repairs for verizon customers

  What can you conclude about smoking and depression

Calculate the chi-square statistic and degrees of freedom for the following set of data for 180 people undergoing a knee replacement treatment with a drug supplement - Kruskall-Wallis test c. Independent groups t-test.

  Find chance of element being included in the sample

Simple random sample of 100 elements is taken: (a) What is the chance of an element being included in the sample? (b) What is this chance called (hint: not probability)?

  Suppose you have an investment a whose return is normally

question suppose you have an investment a whose return is normally distributed with mean 8 and standard deviation of

  Completing a chi square test

A study regarding the relationship between age and the amount of pressure sales personnel feel in relation to their jobs revealed the following sample information.

  Describe the types of probability

Describe the types of probability  -example of classical probability, empirical probability, or subjective probability.

  Determine the point estimate

Determine the point estimate, then construct the 95%con?dence interval for µ7 = the average attitude toward Springdale Mall. What is the maximum likely error in the point estimate of the population mean?

  Major flaws of the situation

It was reported that 20 readers responded and 87% said "no" whiles 13% said "yes". Identify four major flaws of the situation. Explain why you chose them.

  What is probability that tourist visited at least one place

Thirty percent of the tourists went to both Beijing and Xi'an. What is the probability that a tourist visited at least one of these places?

  What is probability that second one selected is defective

What is the probability that the second one selected is defective given that the first one was defective? (c) What is the probability that both are defective?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd