Question

In: Finance

One needs to be careful when writing formulas for simulation.   "=round( rand() * 6, 0)"  will take a...

One needs to be careful when writing formulas for simulation.   "=round( rand() * 6, 0)"  will take a value uniformly distributed between 0 and 1, multiply it by 6, and round it to the nearest integer. Using that formula, what is the probability of getting 6?  (Note: probability is a number between 0 and 1; give your answer to three decimal places.)

Hint: rand() is uniformly distributed from 0 to 1. Hence rand()*6 is uniformly distributed from 0 to 6. Only values above 5.5 will be rounded to 6. We can find the probability from this.

Alternatively, we can simulate a thousand values of "=round(rand()*6,0)", say in the range A1:A1000. Now "=COUNTIF (A1:A1000, 6)" will give us a count of the value 6 in the range A1:A1000. From this we can estimate the probability.

Solutions

Expert Solution

Using that formula, what is the probability of getting 6?
=(b-x)/(b-a)

=(6-5.5)/(6-0)
=0.083


Related Solutions

When naming and writing molecular formulas do you use the prefixes and when you name ionic...
When naming and writing molecular formulas do you use the prefixes and when you name ionic compounds and formulas you write the formula based off of their ion charges?
Use simulation to prove that when X ∼ N(0, 1), Z ∼ N(0, 1), Y =...
Use simulation to prove that when X ∼ N(0, 1), Z ∼ N(0, 1), Y = X3 + 10X +Z, we have V ar(X +Y ) = V ar(X) +V ar(Y ) + 2Cov(X, Y ) and V ar(X −Y ) = V ar(X) + V ar(Y ) − 2Cov(X, Y ).
Starting with the fatty acid 18:0, write all of the steps of one round of the...
Starting with the fatty acid 18:0, write all of the steps of one round of the process of beta oxidation. How many rounds of beta oxidation are required to completely break down an 18C saturated fatty acids. How many molecules of acetyl-coA would this produce? What step of this process resembles a step in the citric acid cycle? How do electrons in this step enter into the ETC? Why is it necessary that the thiol group of the coA is...
In a 6-brand simulation model used to evaluate the effects of price increases of one brand...
In a 6-brand simulation model used to evaluate the effects of price increases of one brand on the shares of rival brands of luxury automobiles, how many own-price and cross-price elasticities would be estimated? a. 5 own-price elasticities, 16 cross-price elasticities b. 6 own-price elasticities and 30 cross-price elasticities c. 6 own-price elasticities and 12 cross-price elasticities d. 6 own-price elasticities and 36 cross-price elasticities
discuss in an essay format the steps one needs to take to develop a management information...
discuss in an essay format the steps one needs to take to develop a management information system(MIS)give examples to support your answer
Discuss the issues that the international financial manager needs to take into account when evaluating foreign...
Discuss the issues that the international financial manager needs to take into account when evaluating foreign direct investments and set out how you believe they should be managed.
1. A firm needs to take flotation costs into account when it is raising capital from...
1. A firm needs to take flotation costs into account when it is raising capital from __?___ . 2. True or False: Taking flotation costs into account will reduce the cost of new common stock. True: Taking flotation costs into account will reduce the cost of new common stock, because you will multiply the cost of new common stock by 1 minus the flotation cost—similar to how the after-tax cost of debt is calculated. False: Flotation costs are additional costs...
Consider this case: Tangle Transcontinental Corp. needs to take out a one-year bank loan of $500,000...
Consider this case: Tangle Transcontinental Corp. needs to take out a one-year bank loan of $500,000 and has been offered several different terms. One bank has offered a loan with 9% simple interest that requires monthly payments. The loan principal will be paid back at the end of the year. Based on a 360-day year, what will be the monthly payment for June? (Hint: Remember that June has 30 days.) $3,562.50 $3,187.50 $3,750.00 $3,375.00 Another bank has offered 6% add-on...
Consider this case: Taco Large Inc. needs to take out a one-year bank loan of $550,000...
Consider this case: Taco Large Inc. needs to take out a one-year bank loan of $550,000 and has been offered loan terms by two different banks. One bank has offered a simple interest loan of 10% that requires monthly payments. The loan principal will be paid back at the end of the year. Another bank has offered 7% add-on interest to be repaid in 12 equal monthly installments. Based on a 360-day year, what will be the monthly payment for...
Three LEDs (one red, one green, one blue) turn on when a number 0–7 is passed...
Three LEDs (one red, one green, one blue) turn on when a number 0–7 is passed through. Red turns on with even numbers, green turns on with odd numbers, blue turns on with multiples of 3. Zero means they are all off, seven means they are all on. Set–up the appropriate truth table, simplify using K–maps. Implement, using LogiSim, the simplified logic circuit with optimal number of logic gates. can someone please explain how to do the logisim?? i am...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT