Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask MATLAB Expert

General Instructions:

•  Make sure results are clearly laid out and easy to understand
•  Clearly label all output values, and indicate answers to problems
•  Graphs should have titles and appropriate labels for their respective axes
•  Units for all values should be indicated

problem:

Suppose that x and y are independent and normally distributed random variables. The mean and variance of x are µx = 9 and σ2
x= 3.  The mean and variance of y are µy = 8 and σ2y = 4.

a)  The mean of the sum (or difference) of two independent random variables equals the sum (or difference) of their means, but the variance is always the sum of the two variances.

Use random number generation to verify this for the case z = x + y. Find the mean and variance of z by simulation, and compare the results with the theoretical prediction.  Do this with simulations of 100, 1000 and 10000 samples.

b)  If z = xy, find the mean and variance of z by simulation. Does µz = µxµy?  Simulate with 100, 1000, 10000 and 100000 samples.

c)  If z = x2, find the mean and variance of z by simulation.  Does µz = µx2? Simulate with 100, 1000, 10000 and 100000 samples.

problem:

Many board games require the player to roll two dice. The number on each dice can vary from 1 to 6.

a) Use the rand function to combinations with a rounding function to create a user defined function which returns a simulation of one roll of a dice.

b) Use the function developed in a) to create a simulation which returns the value obtained by roll two dice.

c) Run the simulation 100 times, and determine the mean and standard deviation of the 100 simulations. Plot a histogram of the 100 roll results.

problem:

The analysis of breaking strength of a certain material shows that It is normally distributed with a mean of 250 kg, and a standard deviation of 4.3 kg.

a) Estimate the percentage of material samples that will have a breaking strength of at least 247 kg.

b) Estimate the percentage of material samples that will have a breaking strength less than 245 kg.

c) Estimate the percentage of material samples that will have a breaking strength with 3.5 kg of the mean breaking strength.

problem:

Consider a gas in a piston-cylinder device in which the temperature is held constant. As the volume of the device is changed, the pressure was measured. The volume and pressure measurements are given in the following table, for two different temperatures:

876_voliume pressure table.jpg

a) Use both linear and cubic spline interpolation to estimate the pressure when the volume is 3.8 m3 (T = 300 K).

b) Use both linear and cubic spline interpolation to estimate the volume when the pressure is measured as 1000 kPa (T = 300 K).

c) Use both linear and cubic spline interpolation to create an expanded volume-pressure table with volume increments every 0.2 m3 (T = 300 K). Create two graphs (one for linear values, one for cubic spline values) and plot the find outd values on the same graph with the measured data.  Show the measured data as circles with no line, and the  find outd values as a solid line.

d) Use the interp2 function and the data in the table to approximate a pressure value when the volume is 5.2 m3 and the temperature is 425 K.

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M9211

Have any Question? 


Related Questions in MATLAB

Plotting and computer animation in matlabinstructions for

Plotting and computer animation in MATLAB Instructions: For each of the following exercise, create an M-file to store the MATLAB commands. Copy and paste the M-file into a text document. For problems 1 and 2, include in ...

Instructions for each of the following exercise create an

Instructions: For each of the following exercise, create an M-file to store the MATLAB commands. Copy and paste the M-file into a text document. Include in the text document the pictures produced by MATLAB. Resize and cr ...

Question 1backgroundyou have been asked to manage a project

QUESTION 1 Background You have been asked to manage a project to install a pipeline from an offshore gas platform to an onshore gas processing plant, and to find the cheapest design that is possible. The platform is Q km ...

Reports of projectproblem design a fourbar grashof

REPORTS OF PROJECT PROBLEM: Design a fourbar Grashof crank-rocker to give? (Everyone will determine the terms given by professor) of rocker rotation with equal time forward and back, from a constant speed motor input. 1- ...

Car parking systema building of 10 floors is used for

CAR PARKING SYSTEM A building of 10 floors is used for parking cars. The area of each floor can be used for parking 100 cars. An automatic parking system is used to detect which parking slot is free at each moment. So, t ...

Problem 1 10pts the csu-chill radar made observations of

Problem 1 [10pts.]: The CSU-CHILL radar made observations of the Ponnequin Wind Farm located on the boarder of Wyoming and Colorado near I-25. The wind farm is approximately 62 km away from the radar. Complex valued digi ...

Problem -tom cat is chasing jerry mouse the initial

Problem - Tom cat is chasing Jerry mouse the initial distance between them is S 0 = 100m. Tom runs V c = 4-at m/s (negative accident) Jerry's velocity depends on the distance between Tom& Jerry V = Vmax - Ks (3-0.025 m/s ...

Matlabproject descriptionwrite a mileage per gallons and

MATLAB Project description: Write a mileage per Gallons and miles per dollar calculator program using two functions, one to calculate MPG and one to calculate MPD. The application will prompt the user to type the odm rea ...

Use matlab to solve the following equations please i plot

Use Matlab to solve the following equations. Please (i) plot the solution as a function of t for t  ∈ [0, 100]. (ii) draw the phase diagram of the ODE. 1. dy/dt = y 2 + y with y(0) = 1         dy 1 /dt = y 2 2.           ...

Question 1backgroundclimate change is a change in global or

QUESTION 1 Background Climate change is a change in global or regional climate patterns, in particular a change apparent from the mid to late 20th century onwards and attributed largely to the increased levels of atmosph ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen