Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Statistics and Probability Expert

Part I: Set Theory

Look up a roulette wheel diagram. The following sets are defined:

• A = the set of red numbers
• B = the set of black numbers
• C = the set of green numbers
• D = the set of even numbers
• E = the set of odd numbers
• F = {1,2,3,4,5,6,7,8,9,10,11,12}

From these, determine each of the following:

• A∪B
• A∩D
• B∩C
• C∪E
• B∩F
• E∩F

Part II: Relations, Functions, and Sequences

The implementation of the program that runs the game involves testing. One of the necessary tests is to see if the simulated spins are random. Create an n-ary relation, in table form, that depicts possible results of 10 trials of the game. Include the following results of the game:

• Number

• Color

• Odd or even (note: 0 and 00 are considered neither even nor odd.)

Also include a primary key. What is the value of n in this n-ary relation?

Part III: Graphs and Trees

Create a tree that models the following scenario. A player decides to play a maximum of 4 times, betting on red each time. The player will quit after losing twice. In the tree, any possible last plays will be an ending point of the tree. Branches of the tree should indicate the winning or losing, and how that affects whether a new play is made.

Part IV: Automata Theory, Grammars and Languages (There are 2 questions for this part)

(1) A gate with three rotating arms at waist height is used to control access to a subway in New York city. Initially, the arms of the gate are locked preventing customers from passing through. Unlocking the arms requires depositing a token in a slot, which allows the arms to rotate to a complete turn which allows one customer to push through and enter. Once the customer passes through the arms are then locked again until another customer deposits another token in the slot.

The gate has two states: LOCKED and UNLOCKED. It also has two inputs: TOKEN and PUSH. When the gate is locked, pushing the arm of the gate has no effect regardless of how many times it is pushed. The input TOKEN changes the state from LOCKED to UNLOCKED.

When the gate is in the UNLOCKED state, inserting additional tokens has no effect on the state. But when in the UNLOCKED state, a PUSH input changes the state to LOCKED.

(i). Provide a transition table showing each state, the inputs, and the resulting new states for each input

(ii). Represent your transition table into a digraph (transition diagram)

(2) Here is a context-free grammar that can be used to generate algebraic expressions via the arithmetic operators (addition, subtraction, multiplication, and division), in the variables p, q, and r. The letter E stands for expression:

Rule 1: E -› p
Rule 2: E -› q
Rule 3: E -› r
Rule 4: E -› E + E
Rule 5: E -› E - E
Rule 6: E -› E X E
Rule 7: E -› E/E
Rule 8: E -›(E)

(i). Use the above grammar to derive the string given by the mathematical expression E =  (p + q) X p - r X p/(q + q)

(ii). Provide a parse tree for this derivation.

Please submit your assignment.

Statistics and Probability, Statistics

  • Category:- Statistics and Probability
  • Reference No.:- M91599629
  • Price:- $15

Priced at Now at $15, Verified Solution

Have any Question?


Related Questions in Statistics and Probability

A survey is conducted from a population of people of whom

A survey is conducted from a population of people of whom 65?% have a college degree. The following sample data were recorded for a question asked of each person? sampled, "Do you have a college? degree?" Complete parts ...

Suppose x is a normal random variable with mean mu 54 and

Suppose X is a normal random variable with mean μ = 54 and standard deviation σ =8.? Compute P(X > 42). (Round to four decimal places.)

Industries recently commissioned management consultants to

Industries recently commissioned management consultants to estimate an appropriate rate for investment projects with the same risk as the firm. Unfortunately, part of the report was lost, and you have been asked to calcu ...

Use the information below to answer the questions that

Use the information below to answer the questions that follow : While the Mars candy company no longer reports the percentages of each color M&M that are produced, they had previously reported the following: 13% brown  1 ...

Many raleigh north carolinians owns one or more tvs below

Many Raleigh, north Carolinian's owns one or more TVs. Below is a distribution of the number of TVs per house hold in Raleigh. Fill in the missing probability to make a valid discrete probability distribution or explain ...

Answer as thourough as possibleconsider an airline whose

Answer as thourough as possible. Consider an airline whose bottom line is sensitive to volatile jet fuel prices. To reduce the volatility, management decides to use derivatives to hedge the cost of jet fuel. The risk man ...

It has been argued that although there may be more claims

It has been argued that although there may be more claims when road conditions are slippery in the winter, this should not affect the average claim. Malpeque took a sample of 50 claims from the winter of 2018 and found t ...

Anbspgovernments department of transportation reported that

A? government's department of transportation reported that in? 2009, airline A led all domestic airlines in? on-time arrivals for domestic? flights, with a rate of 82.9?%. Complete parts a through e below. a.  What is th ...

A test of the null A test of the null hypothesis  H 0 :  μ  =  μ 0  gives test statistic 

A test of the null hypothesis  H 0 :  μ  =  μ 0  gives test statistic  z  = -0.58  (Round your answers to four decimal places.) a) What is the  P -value if the alternative is  H a :  μ  >  μ 0 ? b) What is the  P -value ...

A package contains 12 resistors 2 of which are defective if

A package contains 12 resistors, 2 of which are defective. If 4 are selected, find the probability of getting the following results. Round your answer to six decimal places. 0 defective resistors P(0 defective)=

  • 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