Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

PROBLEM 1: The two foremost aerospace companies in the USA are Lockheed and Boeing. They often compete for government contracts. A major factor in awarding a contract is the claimed reliability of the given system to be built. Suppose that a particular space shuttle system health has three levels: (i) good, (ii) bad, but fixable, and (iii) bad.

(a) Construct a 2-D random variable, call it (X, Y), where X relates to the company and Y relates to the system health. Recall that this random variable is not well-defined unless its sample space is also given.

(b) Let A denote the event that the system is bad but fixable. Give this event in (i) standard notation and (ii) as a subset of your sample space in (a).

(c) Let B denote the event that the system was built by Boeing. Give this event in (i) standard notation and (ii) as a subset of your sample space in (a).

(d) Let C denote the event that that Boeing built the system, given that it has bad, but is fixable. Give this event in (i) standard notation and (ii) as a subset of your sample space in (a).

(e) Let D denote the event that that Boeing built the system, and that it has bad, but is fixable. It should be clear that there is a difference between the events C and D. Explain this difference in relation to the concept of a sample space.

(f) Let E denote the event that that the system is not good, given that it was built by Lockheed. Give this event in (i) standard notation and (ii) as a subset of the associated constrained sample space.

PROBLEM 2: In an effort to quantify the likelihood that a given manufactured part will or will not meet a given specification, a sample of n=10 parts will be randomly selected and measured for conformance. The guiding random variable, X, is the act of noting whether or not any selected part conforms to the specification, with the events [X = 0] ∼ conforms and [X = 1] ∼ does not conforms. Let Pr[X = 1] =Δ Px. Let X = (X1, X2, · · ·, X10) denote the 10-D data collection variable associated with X.

(a) How many elements are in the sample space SX?

(b) Let Y = k-110Xk denote the act of recording the number of sampled parts that do not conform. Give SY.

Remark. Because the elements of X = (X1, X2, · · ·, X10) are data collection variables in relation to X, each element is identically distributed (id), having the same distribution as X. Furthermore, because the elements are selected randomly, it is reasonable to assume that they are mutually independent (i). In other words, the elements of X are iid random variables. It should be clear that k-110Xk =Δ Y∼ binomial (n=10, p) and1408_Figure.png.

(c) Even though the goal of the study is to estimate px, assume in this part that, in truth, Px = 0.1. Use the Matlab command 'binomd' to run nsim = 15 simulations of P^x = Y/10 = X-. Include your code in the Appendix @ 2(c), and copy/paste your results below. [Give each number to only ONE decimal place.]

(d) Even though, in truth, px = 0.1, you should have found in (c) that some of your 15 simulations yielded estimates p^x ≠ px. This should be expected, since the estimator p^x is, after all, a random variable. Use the command 'binopdf' to compute Pr[p^x  = 0]. Copy/paste the command and result HERE.

(e) In view of your answer in (d), explain why you think (or do not think) your simulation results in (c) are reasonable.

(f) Use the command 'binopdf' to search for the value of the smallest sample size, n, that would yield Pr[p^x  = 0] ≤ 0.05. Give the value of the associated probability, as well as the probability for sample size n-1.

(g) To verify your answer in (f), use the pdf expression559_Figure1.pngto solve for the numerical value of n (it will not be an integer), such that Pr[p^x  = 0] ≤ 0.05.

PROBLEM 3: Suppose that a given system has n=10 critical components. Let (X1, X2, · · ·, X10) denote the states of these components, where. Let [Xk = 0] and [Xk = 1] denote the events that the kth component is good and bad, respectively. Let k-110Xk denote the number of bad components.

(a) Assume, as is the case in most textbooks on the subject, that these ten random variables are mutually independent and identically distributed (iid), and for each k ∈{1, 2, · · · , 10} we have pk =Δ[Xk = 1] = p. It should be clear that, in this case, Y ∼ binomial (n = 10, p). For p=0.05 use the Matlab command 'binopdf' to ultimately arrive at a stem plot of fY(y) over the range y ∈ {0, 1, · · · , 10}.

(b) Use your plot in (a) to visually estimate Pr[Y ≤ 2].

(c) Use the appropriate Matlab command to obtain the value of Pr[Y > 4]. Include your command HERE.

(d) The above parts related to TRUE probabilities. However, often those probabilities are not known, and must be estimated from data. Use the Matlab command 'binornd' to simulate measurements of the data collection variables {Yk}k-15. (i) Include your command and the resulting 5 measurements {yk}k-15 HERE.

(e) (i) Use your data in (d) to estimate Pr[Y = 0]. Then (ii) discuss how your estimate compares to the true value of Pr[Y = 0].

(f) Denote your estimator in (e) as Pr^[Y = 0]. To better understand this estimator, begin by using the 'binornd' command to simulate 104 estimates of Pr^[Y = 0]. Then use the Matlab commands 'mean' and 'std' to arrive at simulation-based approximate values for the mean and standard deviation of Pr^[Y = 0]. Give these numbers here. Include your code @ 2(f) in the Appendix.

PROBLEM 4: There are many endeavors in life that must be repeated again and again, until you 'get it right'. Let [Xk = 0] and [Xk = 1] denote the events that you get it wrong, or right, respectively, on the kth attempt, and let Pr[Xk=1]=Δ pk. Let the event [Y = y] denote the event that you finally get it right on the yth attempt.

(a) Assume that the collection of random variables {Xk}k-1 are mutually independent and identically distributed (iid) random variables, and that pk = 0.1 (i.e. the endeavor is a relatively challenging one). Under these assumptions, it should be clear that Y ∼ geometrixc. Use the Matlab command 'geopdf' to arrive at a stem plot of fY(y) for the range of attempts y ∈ {1, 2, · · · , 50}. Include your code @ 4(a) in the Appendix.

(b) Use the Matlab command 'geocdf' to arrive at the value for Pr[Y > 5].

(c) Identify the equations in the book that give the mean and standard deviation for Y, and compute their numerical values.

(d) The gain some experience in simulating random variables, use the Matlab command 'geornd' to simulate a single measurement of the data collection variables {Yk}k-110. (i) Copy/paste the command and related 10 measurements {yk}k-110 HERE.

(e) Now, still assume that {Xk}k-1 are mutually independent, but that in the beginning stages, after any given failure you increase your determination such that the probability of success on the next attempt is 50% greater than that of the last attempt. Assume that p1 = 0.1. Arrive at Pr[Y > 5]. Show all equation development HERE, but give related code @ 4(e) in the Appendix.

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M91977823
  • Price:- $70

Guranteed 36 Hours Delivery, In Price:- $70

Have any Question?


Related Questions in MATLAB

Question 1 manipulate spectral imagehyperspectral images

Question 1. Manipulate spectral image Hyperspectral images can be seen as a generalisation of normal colour images such as RGB images. In a normal RGB colour image, there are 3 channels, i.e. channels for red colour, gre ...

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

Assignment details -need to write a code for connecting

Assignment Details - Need to write a code for connecting segments (Lines) a special case of TSP. The problem is to connect lines in 2d/ 3d space with path obstructions. Can you help me write the code for this? Hope you m ...

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 ...

Assignment -matlab codes and simulated model in

Assignment - Matlab codes and simulated model in simulink/matlab and truetime. 1. Matlab codes and simulink model for pid controller optimization using particle swarm optimization (PSO) my plant is integer order 1000/(s^ ...

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 ...

Discrete optimisation- solve the following two problems

Discrete Optimisation - Solve the following two problems with both exhaustive enumeration and branch and bound - Problem 1 is a mixed integer linear optimisation problem (the problem has both discrete and continuous vari ...

Question - verify the attached paper with matlab and get

Question - Verify the attached paper with matlab and get all the results in the paper and explain step by step the matlab code. Paper - Improving Massive MIMO Belief Propagation Detector with Deep Neural Network. Attachm ...

  • 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