Simulate the repeated throwing of two random sixsided dice

Assignment Help Mechanical Engineering
Reference no: EM131113325

Submit a PDF of your homework write-up in the HW5 dropbox with all of your script files before the posted due date. The script files must be commented and run without errors. Each problem must have its own m file(s). All plots are to include complete axis labels.
Your write-up will be in a narrative form and written in a word processor (e.g. MS Word). Do not use the "publish" feature in Matlab to make your report. Explain (briefly) how you solved each problem, present the results (including all plots) and then the interpretation of the results. A plot is not the entire answer to a problem. You may include snippets of code in the write up as a reference, but do not paste the entirety of the m file in the report. The report should be self-contained and not require the reader to look at the m file to understand what you did. If a question asks you to show mathematical steps, you may use the equation editor or (neatly) scan in handwritten work and include it in the report.
1. The data contained in blood.csv contains the lifespans (in days) of human red blood cells from a clinical experiment
A. Show a relative-frequency histogram of the lifespan with the number of bins determined by Rice's formula
B. Make an assessment and justify if it is fair to treat the lifespans as a coming from normal distribution
C. Determine the median, 95th and 5th percentiles of the lifespan

2. Simulate the repeated throwing of two random six-sided dice.
A. Show a relative-frequency histogram of the sum of the dice with the number of bins set at eleven (one for each possible combination)
B. Make an assessment if it is fair to treat the sum as a normal distribution
C. Using the results of your simulation, what is the probability of rolling an 11
or 12?

3. The data contained in lobster.csv contains weights of lobsters (in ounces) caught in Massachusetts last year.
A. Show a relative-frequency histogram of the lobster weight with the number of bins determined by Sturges' formula
B. Determine the mean and standard deviation of the weights
C. Make an assessment and justify if it is fair to treat the lobster weights as normally distributed?
D. Lobstermen are able to sell lobsters that weigh over 24oz at an increased price. What percent of the shellfish they catch could they expect to fall into this category? Estimate using
i. The raw data
ii. NORMCDF assuming that the lobster weights are normally distributed


4. A shipping pallet holds ten boxes. Each box contains 255 pieces of part X and 160 pieces of part Y. The weight of part X is normally distributed with a mean of
lb and standard deviation of 0.15 lb. The weight of part Y is uniformly distributed between 1.1 lbs to 1.25 lbs. Using a Monte Carlo simulation:
A. Compute the mean and standard deviation of the weight loaded onto the
pallet.
B. Show a relative-frequency histogram of the weight on the pallet with the number of bins determined by Sturges' formula.
C. Verify that the number of simulations you are running is sufficient by graphically showing convergence in the mean of the weight on the pallet. Display in a plot with the horizontal in log-scale and the vertical in linear-scale. If you find it was not, redo parts (A) and (B).
D. Is it reasonable to treat the weight on the pallet as normally distributed? Explain.
E. A wooden pallet can safely hold a weight of up to 4950 lb. What percentage of the pallets can we expect to be overloaded based on
i. The simulation data
ii. A normal distribution using NORMCDF

5.A machine is being built out of two types of parts: A and B. Part A will work 98% of the time when turned on and part B works 90% of the time when turned on. The machine has 10 of part A and five of part B. For the machine to operate correctly when turned on, all 10 of part A must function and at least 3 of part B must function.
A. What is the probability that the machine will operate correctly when turned on
B. Verify that the number of simulations you are running is sufficient by graphically showing convergence in the probability of successful operation. Display in a plot with the horizontal in log-scale and the vertical in linear-scale. If you find it was not, redo part (A)
Hint: to simulate turning the machine on, you will want to have random numbers that determine the success or failure of each part. Then you will want to test if enough parts work for the machine to function. Repeat this simulation until convergence.

Reference no: EM131113325

Questions Cloud

Determining the current infrastructure : GAI is a new advertising firm, and they have hired staff, are established in two locations, and have a need to get their internal IT services configured. They have an IT staff, but they do not have the in-house expertise to address their current i..
How society views diabetes : Create a 350- to 700-word resource as a way to share this information. Examples include the following: A social media page, An information pamphlet and A presentation.
Calculate the new terminal voltage for same field current : If this alternator is to generate 60-Hz voltages, find the new synchronous speed, and calculate the new terminal voltage for the same field current.
What challenges are presented : What challenges are presented when different verbal communication styles are used? How can those challenges be resolved
Simulate the repeated throwing of two random sixsided dice : Submit a PDF of your homework write-up in the HW5 dropbox with all of your script files before the posted due date. The script files must be commented and run without errors. Each problem must have its own m file(s). All plots are to include complete..
How much has the bank liability changed : A foreign exchange with a U.S. bank took a short position of £5,000,000 when the $/£ exchange rate was 1.55. Subsequently, the exchange rate has changed to 1.61. Is this movement in the exchange rate good from the point of view of the position taken ..
Subsidiary total other comprehensive income : The subsidiary's total other comprehensive income is a gain of CU3,000 for the year ended 31 December 20X7 (20X6: a loss of CU2,000).
Notes receivable with unrealistic interest rate : Assume that Hurly Co. elects the fair value option for this note. Prepare the journal entry at December 31, 2010, if the fair value of the note is $320,000.
What are the patterns and channels of communication in film : What are the patterns and channels of communication in your film? What communication patterns are important? Why? What do they reveal about the issues in cultural context that you are investigating

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