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

  What is the diameter of jet just downstream ofthe orifice

If the pressure in the tank is 25 psig at point A, what is the diameter of the jet just downstream ofthe orifice?

  Determine the final equilibrium pressure

An ideal gas is confined to one side of a rigid, insulated container divided into equal volumes by a partition. The other side is initially evacuated. The following data are known for initial state of the gas: p1 = 300 kPa, T1 = 380K and V1 = 0.025 m..

  Heat is slowly removed from the steam during a constant

saturated steam at 2 mpa is contained in a piston-cylinder device. the initial volume is 0.25 cubic meters. heat is

  Check moment and design single-loop stirrups

For the beam shown, check moment and design single-loop stirrups. The loads shown are factored loads. Assume the supports to be 12-in. wide.

  Determine the thermal efficiency and the rate at which

a power cycle operates between hot and cold reservoirs at 600 k and 300 k respectively. at steady state the cycle

  What is the froude number

A trapezoidal channel with a bottom width of 4.00 feet and side slopes of 2 horizontal to 1 vertical conveys a discharge of 300 cfs. If the depth of flow is 2.25 feet, what is the Froude number? Is the flow subcritical or supercritical?

  A food department is kept at -15 degrees celsius by a

a food department is kept at -15 degrees celsius by a refrigerator in an environment at 25 degrees celsius. the total

  Determine change in volume of helium from its initial volume

A balloon filled with helium, initially at 27°C, 1 bar, is released and rises in the atmosphere until the helium is at 17°C, 0.9 bar. Determine, as a percent, the change in volume of the helium from its initial volume.

  The temperature is 68 f and the velocity is 40 fts the exit

a pump steadily draws water at a mass flow rate of 20 lbms through a piping arrangement. the pressure at the inlet is

  Calculate the exiting temperature

Air flows from a tank maintained at 5 MPa absolute and 20°C. It exits a hole and reaches a pressure of 500 kPa absolute. Assuming an adiabatic, quasi-equilibrium process, calculate the exiting temperature.

  Calculate the diffusion co-efficient

The diffusion constant (Do) and activation energy (Q) of C in BCC Fe is 0.01 cm2/sec and 80kJ/mol respectively. In FCC Fe, the values are 0.21 cm2/sec and 148kJ/mol. At exactly 910oC these two phases can co-exist.

  Find the diameter given flow rate and pressure what

find the diameter given flow rate and pressure what diameter orifice hole d is needed if under ideal conditions the

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