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

Qestion 11 introductionmeasurements have been made of a

Question 1: 1 Introduction: Measurements have been made of a cantilever beam's deflection (stored in the file ass2q1in.csv). You must determine what type of loading has been applied and the magnitude of the load. There a ...

Algorithms assignmentthe following 3 tasks are to be

Algorithms Assignment The following 3 tasks are to be completed for Homework 1 - using the following MATLAB syntax for the script file "bike.m" 1) Write additional syntax to create an INPUT variable named time and prompt ...

1 you are testing a theory which says that the output

1. You are testing a theory which says that the output displacement of a measurement device should vary with time according to the equation: D(x) = {x 2 cos (x)} / (x +1) So far, you have measured the following set of ex ...

It is desired to design a power electronic system referred

It is desired to design a power electronic system, referred to as ‘the device' in below, which has the following specifications: - The device is supplied from a single-phase wall outlet which has a 240 V rms, 50 Hz speci ...

Assignment 1 -question 1 design a pumping system that will

Assignment 1 - Question 1: Design a pumping system that will transfer raw water from Reservoir A to Reservoirs B and C. A control valve shall be located in Line D-C next to Reservoir C to control the share of flow betwee ...

Consider the signal vt given belowwrite a matlab script to

Consider the signal v(t) given below. Write a MATLAB script to do the following (a) Display v(t) and v(2t-1) in window 1 by using subplot. (b) Display both the even component and odd component of v(t) in window 2 by usin ...

Pre-labobjectiveslearn how to use various matlab built-in

Pre-Lab Objectives ? Learn how to use various MATLAB built-in functions ? Become familiar with vector and matrix multiplication in MATLAB The input function is a MATLAB built-in function that allows a program to accept u ...

1 write a matlab script that will solve the system of

1. Write a Matlab script that will solve the system of linear equations shown below. This can be done by solving for the vector of unknowns (X) in the equation AX=B where A is the coefficient matrix and B is the vector o ...

Problem - the state estimation equation in the discrete

Problem - The state estimation equation in the discrete Kalman filter is x ^ (n|n) = A(n - 1)x ^ (n - 1|n - 1) + K(n)[y(n) - C(n)A(n - 1)x ^ (n - 1|n - 1)] Thus, given the state transition matrix A(n) and the observation ...

Question 11 introductionmeasurements have been made of a

Question 1: 1 Introduction: Measurements have been made of a cantilever beam's deflection (stored in the file ass2q1in.csv). You must determine what type of loading has been applied and the magnitude of the load. There a ...

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate