- 1250 college freshmen register for a popular seminar class but only 50 spaces are available, what is the probability that a particular student will randomly be selected by lottery to take the class
250 college freshmen register for a popular seminar class but only 50 spaces are available, what is the probability that a particular student will randomly be selected by lottery to take the class?

- 2Service Class:LotteryWrite a Lottery class that simulates a lottery
Service Class:LotteryWrite a Lottery class that simulates a lottery. The class should define an array of five integers named lotteryNumbers. The constructor should use the Random class (see the Java API) to generate a random number in the range of 0 to 50 for each element on the array such that each element contains a unique value. The class's match method should accept an array of five integers that represents a person's lottery picks and compares the array elements to the lotteryNumbers array. The method is to return the number of matching digits. For example, the following shows a randomly generated lotteryNumbers array and the user's array with sample numbers stored in each. lotteryNumbers array 17 24 19 21 33 When the user's picks are 24 20 19 17 6 the match method returns 3 since 24, 19, and 17 are found within the lotteryNumbers array. When the user's picks are 33 17 5 2 8 the match method returns 2 since 33 and 17 are found within the lotteryNumbers array. When the user's picks are 11 6 15 24 0 the match method returns 1 since only the number 24 was found within the lotteryNumbers array.In addition, the class should define a toString method which returns a copy of the lotteryNumbers array in an easy to understand String format. Class UML diagram:Lottery - lotteryNumbers : int[] + match(int []) : int+ toString() : String Client Application:Demonstrate the Lottery class in an application that generates an instance of the Lottery class and then allows the end user to check one or more tickets against the generated lottery numbers. The client application should allow the end user to enter five numbers, which are stored in an array; there is no need to verify the input values. The program should display the lottery numbers and the number of digits of the end user's ticket that matched. If all of the digits match, display a message proclaiming the user a grand prize winner. Any number of lottery tickets may be checked. Sample run of the application:Enter your lottery ticket numbers: 24 2019 17 6 The lottery numbers were 17, 24, 19, 21 and 33.You matched 3 numbers!Do you have another ticket to check? (Y or N): YEnter your lottery ticket numbers: 11 615 24 0 The lottery numbers were 17, 24, 19, 21 and 33.You matched 1 numbers!Do you have another ticket to check? (Y or N): YEnter your lottery ticket numbers: 21 1924 33 17 The lottery numbers were 17, 24, 19, 21 and 33.You matched all 5 numbers! You're the winner of the Grand Prize ... An exclusive, all expense paid trip to AACC. This trip includes a walking tour from east campus to west campus, a tour of the CALT building, and a front row parking space for an entire day!!! Congratulations!Do you have another ticket to check? (Y or N): N NOTES:1.You will be developing TWO classes: the Lottery class and the Client class. The Client class contains the main method and should be named Lab1.2.There should be no I/O performed in the Lottery class. All interaction with the end user should be done in the Client class.3.Since the data of the Lottery class is generated by the constructor and can not be changed, accessor and mutator methods for lotteryNumbers are not defined.4.The Lottery class should be documented using Javadocs. Javadocs are not needed for the client class, although your name should be included within comments at the top of the program.5.Adhere to the Style Guide for both classes. 6.The grand prize exists in your imagination only (have fun!)7.Use an initial range of 0 - 9 for the lottery numbers while testing. You'll feel better while debugging! Evaluation:Classes must compile without syntax errors or will not be evaluated. This lab is worth 25 points. Points will be distributed as follows:•Lottery class (18 points) ◦Use of an array of integers◦Use of the Random class◦Definition of methods that support the objectives of the class, including a match and toString method◦Methods produce correct results◦Methods contain no end-user I/O◦Code aheres to the style guide•Client class (6 points) ◦Supports communication with the end-user◦Main method utilizes the Lottery service class to meet the objectives of the application◦Code aheres to the style guide

- 3Each day Mr. Samms randomly chooses 2 students from his class to serve as helpers. If there are 15 boys and 10 girls in the class, what is the probability that the two students chosen will be female?
- 4What is the estimated probability that a randomly selected student from the sample has a score that is 110 or more
What is the estimated probability that a randomly selected student from the sample has a score that is 110 or more? What is the estimated probability that a randomly selected student from the sample has a score that is 105 or less? What is the estimated probability that a randomly selected student from the sample has a score that is less than 115?

- 5If the hourly sales at a certain register in a supermarket are normally distributed with a mean of $650 and a standard deviation of $60, find the probability that the sales during a randomly selected hour are greater than $800
If the hourly sales at a certain register in a supermarket are normally distributed with a mean of $650 and a standard deviation of $60, find the probability that the sales during a randomly selected hour are greater than $800.

- 6there are 9 boys and 11 girls in a class.What is the probablity that a student selected at...
I need help and plz help me now!:)

- 7Well I'm curently taking this class as a sophmore and have taken geometry freshmen year of high school and also I am taking physics at the same time and in math class when I'm asked to factor i go absolutley nuts because guessing numbers is just no my thi
Well I'm curently taking this class as a sophmore and have taken geometry freshmen year of high school and also I am taking physics at the same time and in math class when I'm asked to factor i go absolutley nuts because guessing numbers is just no my thing... I need solve for X rearange formulas and so forth...with that said is this legal?X^2 + 3X + 4factor that...(X^2 + 3X + 4)^(1/2)factored form(X + (3X)^(1/2) + 2)^2I believe this is perfectly acceptable for factoring but I'm not sure...my textbook says that the agreement for completely factored from is..A polynomial is completely factored when it is written as a product of tow or more polynomilas with integers for their coefficients.So I believe I can leave that as a factored form correct?

- 8Well I'm curently taking this class as a sophmore and have taken geometry freshmen year of high school and also I am taking physics at the same time and in math class when I'm asked to factor i go absolutley nuts because guessing numbers is just no my thi
Well I'm curently taking this class as a sophmore and have taken geometry freshmen year of high school and also I am taking physics at the same time and in math class when I'm asked to factor i go absolutley nuts because guessing numbers is just no my thing... I need solve for X rearange formulas and so forth...with that said is this legal?X^2 + 3X + 4factor that...(X^2 + 3X + 4)^(1/2)factored form(X + (3X)^(1/2) + 2)^2I believe this is perfectly acceptable for factoring but I'm not sure...my textbook says that the agreement for completely factored from is..A polynomial is completely factored when it is written as a product of tow or more polynomilas with integers for their coefficients.So I believe I can leave that as a factored form correct?

- 9in a survey of 24 college student,it was found that 16 were taking and english class,17 were taking math class,and 10 were takin both english nad math
in a survey of 24 college student,it was found that 16 were taking and english class,17 were taking math class,and 10 were takin both english nad math.how many student were taking a math class only.

- 10SAT mean score is 520 with st dev of 120, what is probability that a randomly selected student will score:
a
SAT mean score is 520 with st dev of 120, what is probability that a randomly selected student will score: a. more than 630 b. less than 425? c. between 425 and 630? This is what I have a. z = 0.92 ((630-520)/120), p = 0.821, 1-0.821 = 0.179 b. z = -0.792((425-520)/120), p= 0.215 c. 0.831-0.215=0.606 Thanks for your help!

- 11In 2008 ACT,Inc reported that 74% of 1500 randomly selected college freshman rerurned to college the next year
In 2008 ACT,Inc reported that 74% of 1500 randomly selected college freshman rerurned to college the next year. Estimate the national freshman to sophomore retention rate. a) Verify below the two condition are met for constructing a confidence interval for the population proportion. b) What is the value of t a/2or z a/2 for 99% confidence interval c) What is value of the margin of errorfor your interval?

- 12Class width
Class midpoints
Class boundaries
Tree Height:
Class: Frequency:
16-20 100
21-25 122
26-30 900
31-35 207
36-40 795
41-45 568
46-50 322
Class width Class midpoints Class boundaries Tree Height: Class: Frequency: 16-20 100 21-25 122 26-30 900 31-35 207 36-40 795 41-45 568 46-50 322