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

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING MODELS

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