The number of pizzas consumed per month by university students is normally distributed with a mean of 8 and a standard deviation of 2. Use Excel to answer the following questions:
A. What proportion of students consume more than 11 pizzas per month?
Probability =
B. What is the probability that in a random sample of size 8, a total of more than 80 pizzas are consumed? (Hint: What is the mean number of pizzas consumed by the sample of 8 students?)
Probability =
In: Statistics and Probability
The number of pizzas consumed per month by university students is normally distributed with a mean of 8 and a standard deviation of 4. Use Excel to answer the following questions:
A. What proportion of students consume more than 9 pizzas per month?
Probability =
B. What is the probability that in a random sample of size 9, a total of more than 81 pizzas are consumed? (Hint: What is the mean number of pizzas consumed by the sample of 9 students?)
Probability =
In: Statistics and Probability
A number is selected at random from the set {1,2,...,20}. Then a second number is selected randomly between 1 and the first number selected. What is the probability that the second number is 5?
In: Statistics and Probability
According to a Yale program on climate change communication survey, 71% of Americans think global warming is happening.†
(a) For a sample of 16 Americans, what is the probability that at least 13 believe global warming is occurring? Use the binomial distribution probability function discussed in Section 5.5 to answer this question. (Round your answer to four decimal places.)
(b)For a sample of 170 Americans, what is the probability that at least 120 believe global warming is occurring? Use the normal approximation of the binomial distribution to answer this question. (Round your answer to four decimal places.)
(c)As the number of trials in a binomial distribution application becomes large, what is the advantage of using the normal approximation of the binomial distribution to compute probabilities?
As the number of trials becomes large, the normal approximation gives a more accurate answer than the binomial probability function.As the number of trials becomes large, the normal approximation simplifies the calculations required to obtain the desired probability.
(d)When the number of trials for a binomial distribution application becomes large, would developers of statistical software packages prefer to use the binomial distribution probability function shown in Section 5.5 or the normal approximation of the binomial distribution discussed in Section 6.3? Explain.
In: Statistics and Probability
An American company Pete Inc. sold its inventory to Ping Pte. ltd for $20,000 Singapore dollars (SGD). and to satriaTbk. For 300,000,000 rupiah on December 1,2014 when the spot rate for SGD is $0.798 baht, when the spot rate for baht is $0.031. Pete closed its books on December 31,2014 and collected the total sale and settlement amount on January 15,2015. Spot rates are given as follows:
Dec 31,2014 Jan 15,2015
Singaporean Dollars $0.76 $0.802
Indonesian Rupiah $0.0000911 $0.0000805
Thai Baht $0.029 $0.0318
Required: prepare the required journal entries to account for the transaction above .
In: Accounting
In: Computer Science
Challenge Lab 8-1: Configure Network Settings in Hyper-V
Your Windows Server 2012 R2 server is installed in a VM named VMTest1 that you created in the hands-on projects. You are ready to perform post-installation tasks. One of the things you will need to do is configure the virtual network. Do a little research on configuring the virtual network in Hyper-V. Open Hyper-V Manager and study the configuration tasks you can perform in the Actions pane.
You should configure the virtual network so that VMs you are running in Hyper-V can communicate with each other and with the host computer. You will need to perform two steps to configure the virtual network. You will also need to configure the Windows Server 2012 R2 VM with an appropriate IP address to communicate with the host computer. You should test communication between the physical computer and the host computer using the Ping utility. When you are finished, answer the following questions:
Discussion Questions
a. What setting in Hyper-V did you access to configure the virtual
network?
b. What type of virtual network did you configure?
c. After you configured the virtual network, what did you have to
do to make sure your VM used the virtual network?
d. What IP address did you configure on your VM? What command did
you use to ping the host computer?
In: Computer Science
source: /** * A class to model an item (or set of items) in an * auction: a batch. */ public class BeerBatch { // A unique identifying number. private final int number; // A description of the batch. private String description; // The current highest offer for this batch. private Offer highestOffer; /** * Construct a BeerBatch, setting its number and description. * @param number The batch number. * @param description A description of this batch. */ public BeerBatch(int number, String description) { this.number = number; this.description = description; this.highestOffer = null; } /** * Attempt an offer for this batch. A successful offer * must have a value higher than any existing offer. * @param offer A new offer. * @return true if successful, false otherwise */ public boolean bidFor(Offer offer) { if(highestOffer == null) { // There is no previous bid. highestOffer = offer; return true; } else if(offer.getAmount() > highestOffer.getAmount()) { // The bid is better than the previous one. highestOffer = offer; return true; } else { // The bid is not better. return false; } } /** * @return A string representation of this batch's details. */ public String batchDetail() { return "TO DO"; } /** * @return The batch's number. */ public int getNumber() { return number; } /** * @return The batch's description. */ public String getDescription() { return description; } /** * @return The highest offer for this lot. * This could be null if there is * no current bid. */ public Offer getHighestOffer() { return highestOffer; } } Question: Implement the method batchDetail() in the BeerBatch class. Below you see the details of the first three batches created in the BearAuction constructor. For your string use the same format as below! 1: 1892 Traditional Bid: 14 by Juliet (female, 27) 2: Iceberg Lager No bid 3: Rhinegold Altbier Bid: 17 by William (male, 22).
In: Computer Science
in java code
In the class Hw2, write a method removeDuplicates that given a sorted array, (1) removes the duplicates so that each distinct element appears exactly once in the sorted order at beginning of the original array, and (2) returns the number of distinct elements in the array. The following is the header of the method:
public static int removeDuplicates(int[ ] A)
For example, on input A=0, 0, 1, 1, 1, 2, 2, 3, 3, 4, your method should:
Your method must have time complexity On and space complexity O1, where n is the length of the input array.
Hint: Use two pointers.
In: Computer Science
Visual Basic
This assessment will cover the Programming fundamentals of the Integrated Development Environment(IDE) found in Chapters 1-7 of the assigned text. In this assignment, you will demonstrate the use of tools explored so far within the course. It is the High Totals Game activity found in the Case Projects section of your book. Requirements: Copy/paste the VB code into a Microsoft Word document. You are also required to submit enough screenshots of the output to show that all work has been completed.
Create an application that can be used to practice adding, subtracting, multiplying, and dividing numbers. The application should display a math problem on the screen and then allow the student to enter the answer and also verify that the answer is correct. The application should give the student as many chances as necessary to answer the problem correctly. The math problems should use random integers from 1 through 20, inclusive. The subtraction problems should never ask the student to subtract a larger number from a smaller one. The division problems should never ask the student to divide a smaller number by a larger number. Also, the answer to the division problems should always result in a whole number. The application should keep track of the number of correct and incorrect responses made by the student. The interface should include a button that allows the user to reset the counters for a different student.
The High Total game requires two players. The application’s interface should allow the user to enter each player’s name. When the user clicks a button, the button’s Click event procedure should generate two random numbers for player 1 and two random numbers for player 2. The random numbers should be in the range of 1 through 20, inclusive. The procedure should display the four numbers in the interface. It should also total the numbers for each player and then display both totals in the interface. If both totals are the same, the application should display the message “Tie”. If player 1’s total is greater than player 2’s total, it should display the message “player 1’s name won”. If player 2’s total is greater than player 1’s total, it should display the message “player 2’s name won”. The application should keep track of the number of times player 1 wins, the number of times player 2 wins, and the number of ties. The interface should also include a button that allows the user to reset the counters and interface for a new game.
In: Computer Science