Questions
Suppose x has a normal distribution with a mean of 79 and a variance of 441.00....

Suppose x has a normal distribution with a mean of 79 and a variance of 441.00. If a sample of 15 were randomly drawn from the population, find the probability of   mu hat   for each of the following situations.

a) less than 77: probability =

b) greater than 83: probability =

c) in between 65 and 76: probability =

d) in between 76 and 94: probability =

In: Math

The probability that a certain kind of flower seed will germinate is .80. (a) If 194...

The probability that a certain kind of flower seed will germinate is .80.

(a)
If 194 seeds are planted, what is the probability that fewer than 141 will germinate? (Round standard deviation and your final answer to 4 decimal places.)

Probability()

(b) What is the probability that at least 141 will germinate? (Round standard deviation and your final answer to 4 decimal places.)

Probability ()

In: Math

Assume that a randomly selected subject is given a bone density test. Those test scores are...

Assume that a randomly selected subject is given a bone density test. Those test scores are normally distributed with a mean of 0 and a standard deviation of 1. In each case find the probability of the given scores.
*Round your answers to four decimal places.

1. Find the probability of a score less than -2.04

2. Find the probability of a score less than 2.33

3. Find the probability of a score greater than 0.82

4. Find the probability of a score greater than -1.50

5. Find the probability of a score between -2.75 and -2.00

6. Find the probability of a score between -2.20 and 2.50

In: Statistics and Probability

STAT 13_2: Each of the individuals in a particular population are: -Mature man in probability 3.0...

STAT 13_2:

Each of the individuals in a particular population are:
-Mature man in probability 3.0
-Mature woman in probability 0.3
-Youth child in probability 0.3

It is known that the probability that an individual has an iPhone is:
-Of the adult men 0.4
- Of the older women 0.3
-Also, the probability that an individual in the population has an iPhone is 0.25.

1. A Youth is randomly selected from the population. What is the probability of having an iPhone?
2. A randomly selected individual from the population and found to have an iPhone and not a youth. What is the probability that this individual is a mature woman?
3. Are the events "Selected Mature Woman" and "Selected iPhone Owner" independent events? Explain

In: Statistics and Probability

Write a program that creates a two-dimensional array initialized with test data. The program should have...

Write a program that creates a two-dimensional array initialized with test data. The program should have the following functions:

Hi There I really appreciate your help with this project.

  • getTotal . This function should accept a two-dimensional array as its argument and return the total of all the values in the array.

  • getAverage . This function should accept a two-dimensional array as its argument and return the average of all the values in the array.

  • getRowTotal . This function should accept a two-dimensional array as its first argument and an integer as its second argument. The second argument should

be the subscript of a row in the array. The function should return the total of

the values in the specified row.

  • getColumnTotal . This function should accept a two-dimensional array as its

    first argument and an integer as its second argument. The second argument should be the subscript of a column in the array. The function should return the total of the values in the specified column.

  • getHighestInRow . This function should accept a two-dimensional array as its first argument and an integer as its second argument. The second argument should be the subscript of a row in the array. The function should return the highest value in the specified row of the array.

getLowestInRow . This function should accept a two-dimensional array as its first argument and an integer as its second argument. The second argument should be the subscript of a row in the array. The function should return the lowest value in the specified row of the array.

Demonstrate each of the functions in this program.

Sample run:

DocViewer

Page

of 3Zoom

Pages

#include <iostream>

using namespace std;

// Constant for the number of columns

const int COLS = 5;

// Function prototypes

int getTotal(int [][COLS], int);

double getAverage(int [][COLS], int);

int getRowTotal(int [][COLS], int);

int getColumnTotal(int [][COLS], int, int);

int getHighestInRow(int [][COLS], int);

int getLowestInRow(int [][COLS], int);

int main()

{

const int ROWS = 4; // Constant for the number of rows

// Array with test data

int testArray[ROWS][COLS] =

{ { 1, 2, 3, 4, 5 },

{ 6, 7, 8, 9, 10 },

{ 11, 12, 13, 14, 15 },

{ 16, 17, 18, 19, 20 } };

// Display the total of the array elements.

cout << "The total of the array elements is "

<< getTotal(testArray, ROWS)

<< endl;

// Display the average of the array elements.

cout << "The average value of an element is "

<< getAverage(testArray, ROWS)

<< endl;

// Display the total of row 0.

cout << "The total of row 0 is "

<< getRowTotal(testArray, 0)

<< endl;

// Display the total of column 2.

cout << "The total of col 2 is "

<< getColumnTotal(testArray, 2, ROWS)

<< endl;

// Display the highest value in row 2.

cout << "The highest value in row 2 is "

<< getHighestInRow(testArray, 2)

<< endl;

// Display the lowest value in row 2.

cout << "The lowest value in row 2 is "

<< getLowestInRow(testArray, 2)

<< endl;

system("PAUSE");

return 0;

}

// ********************************************************

// The getTotal function returns the total of all *

// the elements in the array. *

// ********************************************************

int getTotal(int array[][COLS], int rows)

{

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

}

// ********************************************************

// The getAverage function returns the averave value *

// of the elements in the array. *

// ********************************************************

double getAverage(int array[][COLS], int rows)

{

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

}

// ********************************************************

// The getRowTotal function returns the total of the *

// the elements in the specified row of the array. *

// ********************************************************

int getRowTotal(int array[][COLS], int rowToTotal)

{

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

}

// ********************************************************

// The getColTotal function returns the total of the *

// the elements in the specified column of the array. *

// ********************************************************

int getColumnTotal(int array[][COLS], int colToTotal, int rows)

{

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

}

// ********************************************************

// The getHighestInRow function returns the highest *

// value in the specified row. *

// ********************************************************

int getHighestInRow(int array[][COLS], int rowToSearch)

{

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

}

// ********************************************************

// The getLowestInRow function returns the lowest *

// value in the specified row. *

// ********************************************************

int getLowestInRow(int array[][COLS], int rowToSearch)

{

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

// IMPLEMENT THIS FUNCTION

}

Annotations

In: Computer Science

The owner of a moving company typically has his most experienced manager predict the total number...

The owner of a moving company typically has his most experienced manager predict the total number of labor hours that will be required to complete an upcoming move. This approach has proved useful in the past, but the owner has the business objective of developing a more accurate method of predicting labor hours. In a preliminary effort to provide a more accurate method, the owner has decided to use the number of cubic feet moved as the independent variable and has collected data for 36 moves in which the origin and destination were within the borough of Manhattan in New York City and in which the travel time was an insignificant portion of the hours worked.

A B C D
1 Hours Feet Large Elevator
2 24 545 3 yes
3 13.5 400 2 yes
4 26.25 562 2 no
5 25 540 2 no
6 9 220 1 yes
7 20 344 3 yes
8 22 569 2 yes
9 11.25 340 1 yes
10 50 900 6 yes
11 12 285 1 yes
12 38.75 865 4 yes
13 40 831 4 yes
14 19.5 344 3 yes
15 18 360 2 yes
16 28 750 3 yes
17 27 650 2 yes
18 21 415 2 no
19 15 275 2 yes
20 25 557 2 yes
21 45 1028 5 yes
22 29 793 4 yes
23 21 523 3 yes
24 22 564 3 yes
25 16.5 312 2 yes
26 37 575 3 no
27 32 600 3 no
28 34 796 3 yes
29 25 577 3 yes
30 31 500 4 yes
31 24 695 3 yes
32 40 1054 4 yes
33 27 486 3 yes
34 18 442 2 yes
35 62.5 1249 5 no
36 53.75 995 6 yes
37 79.5 1397 7 no

A) Construct a scatter plot.

B) Assuming a linear relationship, use the least-squares method to determine the regression coefficients b0 and b1.

C) Interpret the meaning of the slope, b1, in this problem.

D) Predict the mean labor hours for moving 500 cubic feet.

E) What should you tell the owner of the moving company about the relationship between cubic feet moved and labor hours?

Please show all work in detail.

In: Statistics and Probability

A conventional activated-sludge plant treats 10.0 MGD of municipal wastewater with a BOD concentration of 240...

A conventional activated-sludge plant treats 10.0 MGD of municipal wastewater with a BOD concentration of 240 mg/l and suspended solids of 200 mg/l. The sludge flow pattern is shown in Figure 11-1 of the textbook with a gravity belt thickener to concentrate the excess activated sludge. Primary and thickened activated sludge are pumped separately to the anaerobic digester. The primary clarifier removes 50% of the suspended solids and 35% of the BOD. The primary sludge solids content is 4.0%. The operating F/M ratio for the activated-sludge process is 0.3 lb BOD per day per pound of MLSS. The solids content of the waste sludge removed from the secondary clarifier is 16,000 mg/l; the gravity belt thickening captures 95% of the solids in the sludge and increases the solids content of the thickened sludge to 7%. Calculate: a) Flow rate of primary sludge, in gals/day b) Flow rate of thickened secondary sludge, gals/day. c) Flow rate and solids concentration of the blended sludge

In: Physics

A conventional activated-sludge plant treats 10.0 MGD of municipal wastewater with a BOD concentration of 240...

A conventional activated-sludge plant treats 10.0 MGD of municipal wastewater with a BOD concentration of 240 mg/l and suspended solids of 200 mg/l. The sludge flow pattern is shown in Figure 11-1 of the textbook with a gravity belt thickener to concentrate the excess activated sludge. Primary and thickened activated sludge are pumped separately to the anaerobic digester. The primary clarifier removes 50% of the suspended solids and 35% of the BOD. The primary sludge solids content is 4.0%. The operating F/M ratio for the activated-sludge process is 0.3 lb BOD per day per pound of MLSS. The solids content of the waste sludge removed from the secondary clarifier is 16,000 mg/l; the gravity belt thickening captures 95% of the solids in the sludge and increases the solids content of the thickened sludge to 7%. Calculate: a) Flow rate of primary sludge, in gals/day b) Flow rate of thickened secondary sludge, gals/day. c) Flow rate and solids concentration of the blended sludge

In: Physics

A facility has a waste storage tank with a capacity of 40 cubic feet. Each week...

A facility has a waste storage tank with a capacity of 40 cubic feet. Each week the tank produces either 0, 10, 20, or 30 cubic feet of waste with respective probabilities of 0.1, 0.4, 0.3, and 0.2. If the amount of waste produced in a week creates a situation where the tank would overflow, the amount exceeding the tank’s capacity can be removed at a cost of $3 per cubic foot. At the end of each week, a contracted service is available to remove waste. The service costs $40 for each visit plus $1 per cubic foot of waste removed. The facility manager decides to adopt a policy where, if the tank contains more than 20 cubic feet of waste, the contract service comes at the end of the week and removes all of the waste in the tank. Otherwise, the service does not come, and no waste is removed. Model the amount of waste in the tank as a Markov chain. Pay particular attention to when (at what point in the week) the amount of waste is measured or recorded

In: Math

C++ Project 6-2: Pig Latin Translator Create a program that translates English to Pig Latin. Console...

C++

Project 6-2: Pig Latin Translator

Create a program that translates English to Pig Latin.

Console

Pig Latin Translator

This program translates a sentence

and removes all punctuation from it.

Enter a sentence: 'Tis but a scratch.

Translation:      Istay utbay away atchscray

Specifications

  • Convert the English to lowercase before translating.
  • Remove all punctuation characters before translating.
  • Assume that words are separated from each other by a single space.
  • If the word starts with a vowel, just add way to the end of the word.
  • If the word starts with a consonant, move all of the consonants that appear before the first vowel to the end of the word, then add ay to the end of the word.
  • If a word starts with the letter y, the y should be treated as a consonant. If the y appears anywhere else in the word, it should be treated as a vowel.

Note

  • There are no official rules for Pig Latin. Most people agree on how words that begin with consonants are translated, but there are many different ways to handle words that begin with vowels.

In: Computer Science