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

  Package design

Package Design Brief: Assume you are the packaging engineer for a large consumer products company. In this company, the Packaging Design Briefs are initiated by the marketing group and forwarded to the Package Engineering group.

  Mechanical engineering questions

Define dynamic viscosity, Determine the centroid, Pressure due to the height of liquid, Advantage of changing the liquid, Calculate the total moment about the hinge of the seal gate.

  Automatic control

DOF system and Find the differential equation describing the system

  Write a paper on boyle''s law

Write a paper on Boyle's law and describe Compression and Combustion stroke . Also explain Charles's law and illustrate SI engine and CI engine.

  Verify the law for parallelogram of forces

To Verify the law for parallelogram of forces, law for triangle of forces and law of polygon of forces. These laws are very useful to calculate unknown forces in very short time.

  Discharge pressure of the compressor

What is the discharge revised discharge pressure of the compressor.

  The Case for Global Accounting Standards

The role of IFRS in both developing and developed capital markets.

  Wind turbine

Wind turbines are becoming more and more common as a method of energy production, wind turbines by their very nature are dynamic and are subject to and create their own internal and external kinematics and kinetics.

  Advanced design methodologies

8 x product engineering and design review (week 2 – 12), ~3 pages per item which must contain a brief description of the product then delve into concepts such as materials selection, manufacturing methods, life cycle analysis, recyclability and overa..

  Design of absorption column and the cooler

Design of absorption column and the cooler. Process design of other units should be completed along with pipe sizes.

  Determine the maximum total bending moment

Determine maximum total bending moment (static plus dynamic) of the beam under steady-state conditions.

  Force of the water on the gate

Determine the magnitude of the horizontal and vertical components of the force of the water on the gate.

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