Ask Question, Ask an Expert

+61-413 786 465

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

Suppose that a student has the option of enrolling for a

Suppose that a student has the option of enrolling for a single elective during a term. The student must select a course from a limited list of options: "English, " "History, " "Biology, " "Computer, " or "Math." Constru ...

Assignment -we have daily gridded rainfall data of 40 years

Assignment - We have daily gridded rainfall data of 40 years and structure of the dataset is like below; Lat = [6.5:0.25:38.5]; Lon = [66.5:0.25:100]; Rainfall (135x129x365x40) (Lon, Lat, days, years). Now, we looking fo ...

Lab assignment - matlab matrix relationallogical operators

Lab Assignment - MATLAB Matrix, Relational/Logical Operators and Plotting This laboratory exercise/assignment will involve you 1) practicing multiplication operators in MATLAB; 2) practicing relational and logical operat ...

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

What comparison of means test was used to answer the

What comparison of means test was used to answer the question

Assignmentq1 find the laplace transforms of the following

Assignment Q.1 Find the Laplace transforms of the following functions: (a) t 2 + at + b and (b) sin(2nΠt/T) Q.2 Find f (t) for the following F(s) = α[ f (t)]. (i) 5/(s + 3), (ii) 1/s 2 + 25, (iii) 1/s(s+1) Q.3 Find the L ...

Assignmentafter the success of your robo-advice venture you

Assignment After the success of your robo-advice venture you decide to explore alternative sources of profitability for your company. You realize that Australian investors are often forced to chose between expensive acti ...

Assignment matlab programmingusing appropriate matlab

Assignment: MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Prepare a 3 - 10 pages long reportprepare a presentation

Prepare a 3 - 10 pages long report Prepare a presentation with 5 - 9 slides. The slides will include introduction (need and similar work), theoretical background (tested neural networks), Data, Results (Comparison of the ...

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

  • 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

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As