What are the theoretical values of the mean and variance

Assignment Help Mechanical Engineering
Reference no: EM131342955

A die with an arbitrary number of sides

Suppose we have a die with S sides, where S is an integer, but not necessarily equal to 6. The set of possible outcomes is then {n|n = 1,...,S} (or {n|n = 0,...,S - 1}, your choice). Assume that all sides of the die are equally probable, so that P(n)=1/S. Since this is partly a computational problem, be sure to support your answers with data from your computer simulations.

1. What are the theoretical values of the mean, variance, and standard deviation as functions of S? The answers should be in closed form, rather than expressed as a sum

2. Modify the program you used for an earlier problem to simulate rolling a die with S sides, and print out the mean, variance, and standard deviation for a number of trials. Have the program print out the theoretical predictions in each case, as well as the deviations from theory to facilitate comparisons.

3. Run your program for two different values of S. Are the results for the mean, variance, and standard deviation consistent with your predictions? (Do not use such long runs that the program takes more than about a second to run. It would be a waste of your time to wait for the program to finish.)

4. Experiment with different numbers of trials. How many trials do you need to obtain a rough estimate for the values of the mean and standard deviation? How many trials do you need to obtain an error of less than 1%? Do you need the same number of trials to obtain 1% accuracy for the mean and standard deviation?

Reference no: EM131342955

Questions Cloud

Does that imply that x and y are independent : We have shown that if the random variables A and B were independent and F(A) and G(B) were numerical functions defined on A and B
Additional data provided by anne research : Based on the additional data provided by Anne's research, explain how males that appear physically arrested in development might have mature, functional sperm. What is the signifi cance of theirhormone profi le (growth hormone, testosterone, LH, F..
Type of reproduction uses part of a plant body : What type of reproduction uses part of a plant body becomes separated off to give rise to new individuals.
Overview of how sense works : Choose one of the five senses and provide an overview of how this sense works.
What are the theoretical values of the mean and variance : Run your program for two different values of S. Are the results for the mean, variance, and standard deviation consistent with your predictions? (Do not use such long runs that the program takes more than about a second to run. It would be a waste..
Sympathetic and parasympathetic nervous systems : What are the primary differences between the sympathetic and parasympathetic nervous systems?
Complete the understanding medical wordrs : Complete the Understanding Medical Wordrs: A Tutorial from the National Library of Medicine tutorial on the U.S. National Library of Medicine, MedlinePlus website.To access the resources, select the chapter(s) referenced this week from the Welcome..
Coral bleaching problem in australia : 1) In your own words find 5 solutions for the coral bleaching problem in Australia. 2) Also in your own words find 2 solutions for coral bleaching across the planet.
Effects of watching video games on escalation of violence : Write a paper essay about Effects of Watching Video Games on Escalation of Violence. The essay should be minimum six pages.

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  Find technical journal for current or planned field of ork

Find a technical journal for your current or planned field of work, and look for an article that has graphs, charts, or tables in it. Select two of the graphic presentations and represent them in a different format. (If something is presented as a..

  Air modeled as an ideal gas enters a combustion chamber

Air modeled as an ideal gas enters a combustion chamber at 20 lbf/in^2 and 70F through a rectangular duct, 5 ft by 4 ft. If the mass flow rate of the air is 830,000 lb/h, determine the velocity, in ft/s.

  Question regarding the piston-cylinder system

1. Four (4.0) lbm of CO2 are contained in a piston-cylinder system. The CO2 is initially at a temperature T1=500°R and pressure p1=20 psia. The CO2 undergoes the following two processes:

  Determine the temperature of the ball after 10 seconds

an alluminum ball 0.5 cm in diameter initially at 250 c is dropped into a large tank of fluid with tsat100 c which is

  Determine the cutoff ratio rc find the temperature at the

at the beginning of the compression process of an air-standard diesel cycle operating with the compression ratio r 18

  How many gallons of prime will be required

An asphalt distributor having an 8-ft-Iong spray bar will be used to apply a prime coat at a rate of 0.3 gal/sy. - How many gallons of prime will be required?

  Make a list of all assumptions and the reasonableness

a new bathroom 7 feet x 11 feet x 8 feet high with two 2 adjacent exterior walls that are insulated with 3.5 inches of

  Calculate the new volume of the gas

Calculate the new volume of the gas.

  Assume a labor rate and burden rate

Assume a labor rate of $50.00/hr and a burden rate of $25/hr.   Assume a surface speed of 2000 ft/min. The number of teeth on the cutter is 4. The feed is 0.005 in/tooth.  The depth of cut is 0.020”. The width of cut is equal to the diameter of the t..

  What are the inputs to the crp process

What are the inputs to the CRP process? Where is this information obtained?

  Determine the final pressure and volume

Based on the given information determine the final pressure and volume (kPa, m3 ).

  Find the radiation resistance of the monopole

Application: λ/2 monopole. A half-wavelength monopole antenna is used for FM transmission at 100 MHz. The antenna is placed vertically above a conducting surface.

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