Questions
A sample of 50 night-school students' ages is obtained in order to estimate the mean age...

A sample of 50 night-school students' ages is obtained in order to estimate the mean age of night-school students. x = 24.3 years. The population variance is 16.



(b) Find the 95% confidence interval for μ. (Give your answer correct to two decimal places.)

Lower Limit

Upper Limit

(c) Find the 99% confidence interval for μ. (Give your answer correct to two decimal places.)

Lower Limit

Upper Limit

In: Math

Physical activity generally declines when students leave high school and enroll in college. This suggests that...

Physical activity generally declines when students leave high school and enroll in college. This suggests that college is an ideal setting to promote physical activity. One study examined the level of physical activity and other health-related behaviors in a sample of 1183 college students. Let's look at the data for physical activity and consumption of fruits. We categorize physical activity as low, moderate, or vigorous and fruit consumption as low, medium, or high. Here is the two-way table that summarizes the data.

Physical activity
Fruit consumption Low Moderate Vigorous Total
Low 68 207 293 568
Medium 25 126 170 321
High 14 110 170 294
Total 107 443 633 1183

The first step in performing the significance test is to calculate the expected cell counts. Let's start with the cell for students with low fruit consumption and low physical activity. Use the following formula for expected cell counts.expected count =

row total ✕ column total
n

Using the formula, we need three quantities:

(1) the corresponding row total, 568, the number of students who have low fruit consumption,
(2) the column total,  , the number of students who have low physical activity, and
(3) the total number of students, 1183.

The expected cell count is therefore the following.

  
(568)
1183

= 51.37Note that although any observed count of the number of students must be a whole number, an expected count need not be.

Calculations for the other eight cells in the 3 ✕ 3 table are performed in the same way. With these nine expected counts we are now ready to use the following formula for the  χ2 statistic.χ2 =

(observed − expected count)2
expected count

The first term in the sum comes from the cell for students with low fruit consumption and low physical activity. The observed count is  and the expected count is 51.37. Therefore, the contribution to the χ2 statistic for this cell is the following.

  − 51.37
2
51.37

= 5.38When we add the terms for each of the nine cells, the result is the following. (Round your answer to two decimal places.)

χ2 =

Because there are

r = 3

levels of fruit consumption and

c =

levels of physical activity, the degrees of freedom for this statistic are the following.df = (r − 1)(c − 1) = (3 − 1)

  − 1

= Under the null hypothesis that fruit consumption and physical activity are independent, the test statistic χ2 has a χ2

distribution. To obtain the P-value, look at the

df =

row in Table F. The calculated value

χ2 =

lies between the critical points for probabilities 0.005 and 0.01. The P-value is therefore between 0.005 and 0.01. (Software gives the value, rounded to four decimal places, as 0.0081.) There  ---Select--- is is not strong evidence at α = 0.01 that there is a relationship between fruit consumption and physical activity.

In: Statistics and Probability

Consider the following database schema: LIKE(person, sport), PRACTICE(person, sport), where person and sport are keys in...

Consider the following database schema:

LIKE(person, sport),

PRACTICE(person, sport),

where person and sport are keys in both tables. The table LIKE gives the sports a person likes, the table PRACTICE gives the sports a person practices. We assume that a person likes at least one sport and practices at least one sport. We assume also that a person does not like a sport if the sport is not listed among the sports that a person likes


Express the following queries in Calculus

List the people who practice at list one sport they like
List the people who practice at least one sport they do not like
List pairs of people who practice at least one common sport
List the people who like all the sports they practice
List the people who practice all the sports they like
List the people who practice all the sports John likes

In: Computer Science

This is all in Python. Also, the names come from a .txt file that i have...

This is all in Python. Also, the names come from a .txt file that i have created with 3 names on it(Jim,Pam,Dwight).

Main Function. Write a program where the user enters a name. Using the read function, check to see if the name is in the text document. If it is, respond back to the user the name is found within the list.

Read Function. The read function should return the contents of the text document as a list.

EXAMPLE OUTPUT
Please enter a name: Jim
Jimis found in the list.
Enter another name (Y/N): Y
Please enter a name: Andy
Sorry, Andy was not found in the list. Would you like to add it? (Y/N): Y
Andrew has been added to the list.
Enter another name (Y/N): N

Write Function. The write function should take the list and override the file with the new names list in reverse alphabetical order with a hard return after each name.

In: Computer Science

Write a recursive function, max_in_list(my_list), which takes an non-empty list, my_list, of integers as a parameter....

Write a recursive function, max_in_list(my_list), which takes an non-empty list, my_list, of integers as a parameter. This function calculates and returns the largest value in the list. The base case will probably deal with the scenario where the list has just one value. The recursive case will probably call the function recursively using the original list, but with one item removed.

Note: This function has to be recursive; you are not allowed to use loops to solve this problem!

Test Result
lst = [1, 4, 5, 9]
print(max_in_list(lst))
9

And

Write a recursive function, max_even_list(my_list), which takes a list, my_list, of integers as a parameter. This function calculates and returns the largest even number in the list. 0 is returned if there is no even number in the list.

Note: This function has to be recursive; you are not allowed to use loops to solve this problem!

Test Result
lst = [1, 4, 5, 9]
print(max_even_list(lst))
4

In: Computer Science

MICROBIOLOGY PRSENTATION Topic: streptococcus pneumonia Presentation title: you should think of a creative title for your...

MICROBIOLOGY PRSENTATION
Topic: streptococcus pneumonia
Presentation title: you should think of a creative title for your presentation

Format: PowerPoint presentation
Visual Aids: tables, figures, diagrams, graphs, photos, maps, etc… (you should have a good balance of word & figures throughout the presentation) – if you would like to use a figure from the textbook email me, and I will provide it for you. You must request the image no later than 2 days before your presentation
What you will cover:
1. Pathogen / type of microbe
a. Is your pathogen a virus or bacterium?
b. Scientific name of the pathogen
i. For a virus give the family of viruses your specific virus belongs to
ii. For a bacteria give the genus and species name
c. For bacteria:
i. Is it Gram-positive or Gram-negative?
ii. What is the morphology?
iii. What are the oxygen requirements (aerobic, anaerobic, etc…)
iiii. Does your bacterium have any special structural features? (capsule, flagella, endospore, etc…)
v. What type of cell or tissue does it infect/colonize?
d. For viruses:
i. What type of genome does it have? (DNA or RNA)
ii. Is it enveloped or naked?
iii. Does it have any proteins associated with the virion?
iiii. What type of cell does the virus infect?
v. What are the host cell receptors?
2. Diseases – list any disease(s) your pathogen causes
3. Epidemiology – (do not spend a lot of time on this portion of the talk)
a. What regions locations is pathogen typically found? (widespread or only found in a certain area?)
b. What is the mortality rate? With or without treatment?
c. Is there a particular population that is more susceptible to the pathogen?
4. Transmission
a. How is the disease transmitted?
b. Are there multiple modes of transmission?
c. What is the common reservoir for the pathogen?
d. Is transmission seasonal?
5. Symptoms
a. What are the major symptoms associated with the primary disease caused by the pathogen?
b. Explain any medical terms
c. Are any symptoms unique to the pathogen or disease?
d. Does the pathogen cause a chronic or acute illness?
e. What is the incubation period? (how long before symptoms show up)
6. Diagnosis
a. Are any clinical symptoms diagnostic for the pathogen/disease?
b. How is the disease/infection commonly diagnosed?
c. Are there any special lab tests? If so, what do they detect? DNA, protein, etc..?
7. Treatment & Prevention
a. What common drugs or therapies are used to treat the disease/infection?
b. Is drug resistance common in your pathogen?
c. Are there any actions or drugs that can be used to prevent infection or spread?
8. Major virulence factor(s) - does your pathogen have any specific proteins, structures, features, or mechanisms that it uses to cause disease? If so, state them and give a brief explanation, as time allows.
9. References – list all references used to gather information. You do not need to present the references. Just list them on the last slide of your presentation.
Information sources: Your textbook will serve as your primary reference. However, you will most likely need additional references to gather all of the required information. A couple of acceptable sources are listed below:
Centers for Disease Control and Prevention: https://www.cdc.gov/
World Health Organization: http://www.who.int/en/
MicrobeWiki: https://microbewiki.kenyon.edu/index.php/MicrobeWiki
WIKIPEDIA IS NOT AN ACCEPTABLE SOURCE!!!! You may use a source other than the two listed above if it is another textbook or a reputable scientific website. You can ask me if you are unsure!

Additional Considerations:
• The font used in your presentation should be block print. No cursive or script fonts.



In: Biology

Write a program that reads an integer, a list of words, and a character.

13.14 LAB: Contains the character

Write a program that reads an integer, a list of words, and a character. The integer signifies how many words are in the list. The output of the program is every word in the list that contains the character at least once. Assume at least one word in the list will contain the given character.

Ex: If the input is:

4 hello zoo sleep drizzle z

then the output is:

zoo
drizzle

In c++ 

In: Other

Start with the provided code for the class linkedListType. Be sure to implement search, insert, and...

Start with the provided code for the class linkedListType. Be sure to implement search, insert, and delete in support of an unordered list (that code is also provided).

Now, add a new function called insertLast that adds a new item to the END of the list, instead of to the beginning of the list. Note: the link pointer of the last element of the list is NULL.

Test your new function in main.

Submit a .zip of your entire project.
  

In: Computer Science

Using the Python program: a/ Write a program that adds all numbers from 1 to 100...

Using the Python program:

a/ Write a program that adds all numbers from 1 to 100 to a list (in order). Then remove the multiples of 3 from the list. Print the remaining values.

b/ Write a program that initializes a list with ten random integers from 1 to 100. Then remove the multiples of 3 and 5 from the list. Print the remaining values.

Please show your work and explain. Thanks

In: Computer Science

This program is about list comprehension. list1 = [2, 5, 7, 8] list2 = [1, 2]...

This program is about list comprehension.

list1 = [2, 5, 7, 8]

list2 = [1, 2]

(e) Use nested list comprehension with list1 and list2 as input sequences to generate this list:

[[3, 4], [6, 7], [8, 9], [9, 10]]

Display the list.

The following is the expected output.

Part e: [[3, 4], [6, 7], [8, 9], [9, 10]]

In: Computer Science