Questions
Question 2: Pocket Politics (any resemblance to recent events is purely coincidental) Long time ago, in...

Question 2: Pocket Politics (any resemblance to recent events is purely coincidental) Long time ago, in a country far far away, a Totally Racist Unqualified Malicious President ruled the land with an iron fist. His rivals had to do everything in their power to free the people from his terrible regime and make the country great again. Many people offered to take the TRUMP down, but six wise and brave men and women stood out from the rest:
1. Joe “Busy Hands” Bye-then (J) 2. Bernie “Crazy Eyes” Slanders (B) 3. Elizabeth “Pocahontas” Warden (E) 4. Tulsi “Go Land Crabs!” Globbard (T) 5. Mike “Mini Me” Broomfield (M) 6. Pete “Father-of-Chickens” Boot-a-Judge (P)
In order for the good people to make the right choice, the candidates have to gather in the town hall for a night of sword fights and verbal altercations. You are in charge of organizing the grand event.

Q1. Since no clear ranking could be established at the previous fights, the candidates are now paired up tournament style and each pair fights it out until someone gives up. How many ways do you have to divide the six candidates into three pairs? (Hint: How many ways can you select one pair? How many ways does it leave you to select the second pair? Then the third? Don’t forget to eliminate redundancy due to order).

In: Advanced Math

Approximately 45% of Baby Boomers—those born between 1946 and 1964—are still in the workforce (www.pewresearch.org, May...

Approximately 45% of Baby Boomers—those born between 1946 and 1964—are still in the workforce (www.pewresearch.org, May 11, 2015). Six Baby Boomers are selected at random.

a.What is the probability that exactly one of the Baby Boomers is still in the workforce?

b.What is the probability that at least five of the Baby Boomers are still in the workforce?

c.What is the probability that less than two of the Baby Boomers are still in the workforce?

Page 184

d.What is the probability that more than the expected number of the Baby Boomers are still in the workforce?

what is the standard deviation?

a.

1.485

b.

2.7

c.

1.643

d.

1.218

what is the mean?

a.

3.3

b.

2.7

c.

6

d.

1.485

Which one is the parameter of a binomial distribution? Choose all applied.

a.

mean of the process

b.

population size

c.

probability of sucess

d.

sample size

Which one is the characteristics of Bernoulli process? Choose all applied.

a.

There are only two outcomes, success or failure.

b.

Probability of success remains the same from trial to trial.

c.

Probability of success is based on size.

d.

The number of successes within a specified time or space interval equals any

integer.

Which one is the binomial process? Choose all applied.

a.

Checking how many accidents per day in a town.

b.

Tossing a coin 10 times and see the number of heads showed up.

c.

Survey 100 students to see how many of them has the student loans.

d.

Checking 200 pencils to see how many of them are defected.

In: Statistics and Probability

A 27-year old white female presented her self at her local physician on August 15. On...

A 27-year old white female presented her self at her local physician on August 15. On physical exam, the patient had a fever of 38.5C. She appeared fatigued, had tender abdomen and complained of headache, stiff neck and backache with diarrhea. The physician noted an irregular heartbeat. The patient complained of lack of ability to concentrate. The patient gave the following history: She is a graduate student in the wildlife program at the University in her town. She was in the field for three weeks in Wisconsin during the months of May and June. She tracks small mammals in the field and studies their behavior. It had been a warm, wet spring and she complained of a large number of flies in the area. She felt sick the last day there after eating some canned food, as there was no cooler there. You had no time for culturing, as you need to take action fast. 1. What type of disease she could have based on the symptoms and why? You are not required to name a specific disease but a general type of disease. Naming a disease means you have answered the question wrong. 2. What features are not critical to your diagnosis from the case & why? 3. What further steps should be taken to precisely identify the case & why? What microbes you will not consider and why [name 4]. 4. What steps would you take to ensure that the patient is stable till diagnosis is confirmed; explain why would you do this?

In: Biology

PROBLEM 3. In Torp, there are 200 people who want to sell their used cars. Everybody...

PROBLEM 3.

In Torp, there are 200 people who want to sell their used cars. Everybody knows that 100 of these cars are "lemons" and 100 of these cars are "good." The problem is that nobody except the original owners know which are which. Owners of lemons will be happy to get rid of their cars for any price greater than $200. Owners of good used cars will be willing to sell them for any price greater than $1,500, but will keep them if they can't get $1,500. There are a large number of buyers who would be willing to pay $2,500 for a good used car but would pay only $300 for a lemon. When these buyers are not sure of the quality of the car they buy, they are willing to pay the expected value of the car, given the knowledge they have.

A. If all 200 used cars in Torp were for sale, how much would buyers be willing to pay for a used car? Would owners of good used cars be willing to sell their used cars at this price? Would there be an equilibrium in which all used cars are sold? Describe the equilibrium that would take place in Torp.

B. Suppose that instead of there being 100 cars of each kind, everyone in town is aware that there are 120 good cars and 80 lemons. How much would buyers be willing to pay for a used car? Would owners of good used cars be willing to sell their used cars at this price? Would there be an equilibrium in which all used cars are sold? Would there be an equilibrium in which only the lemons were sold? Describe the possible equilibrium or equilibria that would take place in Torp.

In: Economics

1. Mary is aware of the many ways the body adapts to training at high altitude....

1. Mary is aware of the many ways the body adapts to training at high altitude. She is a competitive runner and wonders if training in high-altitude environments will help her performance at sea level. She wants to implement a "live high, train low" strategy. How could she achieve this?

a. Live and train at high altitude for one month and then compete at sea level.

b. Move to a town with higher elevation and train in her neighborhood.

c. Sleep in a simulated high altitude environment and train at sea level.

d. Sleep in a simulated sea-level environment and train in a high altitude environment.

2. Jim lives at sea level and is planning to hike Pikes Peak at an altitude of 14,000 feet. As you know, there are environmental differences between locations at sea level and locations at higher elevations.

Which of the following statements are true about the environmental differences between sea level and high-altitude environments? Select all of the true statements.

Select one or more:

a. Reduced barometric pressure increases oxygen availability in the blood.

b. Regardless of elevation, the Earth's atmosphere is always comprised of 20.93% oxygen.

c. As altitude increases, air temperature tends to decrease.

d. Cities at sea level tend to have an average barometric pressure of 430 mmHg.

e. As altitude increases, barometric pressure decreases.

3.

f. At higher altitudes, the atmosphere has a reduced ratio of oxygen to carbon dioxide.

g. As partial pressure of oxygen decreases, it becomes more difficult for the body to deliver adequate oxygen throughout the body.

In: Anatomy and Physiology

Case Study Team Discussion (Patient Case #5) - Case Study Team 8 From BIOL&242 DE 9772/9774...

Case Study Team Discussion (Patient Case #5) - Case Study Team 8

From BIOL&242 DE 9772/9774

No unread replies.No replies.

Below are symptoms of a patient related to the Renal System. Each person needs to answer all of these and then reply substantially to their teammates. As a team you should come to a final conclusion on all 3 questions in regards to the Patient and the symptoms. *Only the people in your group/team can see your discussions. Based on the symptoms answer the following questions:

  1. Identify all anatomical structures related to and/or that are being affected based on the patient case information. (i.e. tissues, organs, vessels, brain components, membranes)
  2. Explain how the anatomical structures and their physiological function/dysfunction are interrelated normally and what is going wrong with the structures in this current patient case information.
  3. Identify and explain possible a diagnosis and what can be done to fix or reverse the current situation described in the patient case information. Please be specific and detailed.

Patient Case (Initial Review): (More information may be coming on June 8th)

You are an ER Doc in a rural town and you just walked in to a room with a patient named Frank. Frank is in serious condition. Upon entering the room and performing a quick physical evaluation you identify the following physical symptoms:

  • Cough
  • Mucus
  • Cyanosis
  • Swollen Liver
  • Edema
  • sPO2 of 70%

You ask for lab tests and get the following lab results:

  • pH 7.32
  • PaO2 35 mmHg
  • PaCO2 80 mmHg
  • HCO3- 40 mM

In: Anatomy and Physiology

Question 1 options: Below is a table of times for Taxis (A to H) to reach...

Question 1 options:

Below is a table of times for Taxis (A to H) to reach Customers (1 to 8) who need a ride home after a night on the town. The goal is to Minimize the time it takes for all of the Taxis to reach their Customers. Only one Taxi will be sent to each Customer and each Customer needs only one Taxi.

Taxi / Cust

1

2

3

4

5

6

7

8

A

15

6

19

15

17

15

8

17

B

4

7

9

17

3

17

3

12

C

5

17

18

3

15

5

13

11

D

14

2

10

13

11

16

11

2

E

19

17

18

11

8

11

13

16

F

11

19

2

14

9

17

3

8

G

16

10

4

7

2

10

19

3

H

10

19

4

7

15

10

18

15





The optimal solution to this problem requires the following:


Taxi A picks up Customer


Taxi B picks up Customer


Taxi C picks up Customer


Taxi D picks up Customer


Taxi E picks up Customer


Taxi F picks up Customer


Taxi G picks up Customer


Taxi H picks up Customer




Minimum Cost =

Hint: Your cost should be between 33 and 39

In: Operations Management

●A traditional manufacturing process has produced millions of TV tubes with a mean life 1200h and...

●A traditional manufacturing process has produced millions of TV tubes with a mean life 1200h and st. deviation 300h. The engineering department of the company introduced a new process. A sample of 100 tubes from new process gives sample mean 1265h. Assuming the st. deviation of new process is same as traditional process, test the following 66 deviation of new process is same as traditional process, test the following hypothesisat5%significantlevel.

1. Traditional method and new method gives same mean life

2. New method is better than the traditional method

3. Traditional method is better than the new method

In: Statistics and Probability

In this PYTHON 3 program assignment, you will find a text file named WorldSeries.txt. This file...

In this PYTHON 3 program assignment, you will find a text file named WorldSeries.txt. This file contains a chronological list of the World Series' winning teams from 1903 through 2018. The first line in the file is the name of the team that won in 1903, and the last line is the name of the team that won in 2018. (Note the World Series was not played in 1904 and 1994. There are entries in the file indicating this.)

Write a program that reads this file and creates TWO dictionaries. The keys of the first dictionary are the names of the teams, and each key's associated value is the number of times the team has won the World Series. The keys of the second dictionary are the years, and each key's associated value is the name of the team that won that year.

Then display the first dictionary in a sorted one with the team won the most of times the 1st row. A sample looking could be as:

List of World Series champions:

New York Yankees : 26 Times

St. Louis Cardinals : 11 Times

Boston Red Sox : 7 Times

New York Giants : 5 Times

Pittsburgh Pirates : 5 Times

Philadelphia Athletics : 5 Times

Cincinnati Reds : 5 Times

Los Angeles Dodgers : 5 Times

Detroit Tigers : 4 Times

Oakland Athletics : 4 Times

Chicago White Sox : 3 Times

The program should then prompt the user to enter a year in the range of 1903 through 2018. It should then display the name of the team that won the World Series that year, and the number of times that team has won the World Series. The program should allow a user to play multiple times. Remind user how to terminate the program.

Tips:

  • Must have at least one function created by you in the program
  • Document/comment your program
  • Be user friendly
  • Design your interface
  • Format your output

Text file titled: WorldSeries_1903_2018.txt

contents include:

Boston Americans
World Series Not Played in 1904
New York Giants
Chicago White Sox
Chicago Cubs
Chicago Cubs
Pittsburgh Pirates
Philadelphia Athletics
Philadelphia Athletics
Boston Red Sox
Philadelphia Athletics
Boston Braves
Boston Red Sox
Boston Red Sox
Chicago White Sox
Boston Red Sox
Cincinnati Reds
Cleveland Indians
New York Giants
New York Giants
New York Yankees
Washington Senators
Pittsburgh Pirates
St. Louis Cardinals
New York Yankees
New York Yankees
Philadelphia Athletics
Philadelphia Athletics
St. Louis Cardinals
New York Yankees
New York Giants
St. Louis Cardinals
Detroit Tigers
New York Yankees
New York Yankees
New York Yankees
New York Yankees
Cincinnati Reds
New York Yankees
St. Louis Cardinals
New York Yankees
St. Louis Cardinals
Detroit Tigers
St. Louis Cardinals
New York Yankees
Cleveland Indians
New York Yankees
New York Yankees
New York Yankees
New York Yankees
New York Yankees
New York Giants
Brooklyn Dodgers
New York Yankees
Milwaukee Braves
New York Yankees
Los Angeles Dodgers
Pittsburgh Pirates
New York Yankees
New York Yankees
Los Angeles Dodgers
St. Louis Cardinals
Los Angeles Dodgers
Baltimore Orioles
St. Louis Cardinals
Detroit Tigers
New York Mets
Baltimore Orioles
Pittsburgh Pirates
Oakland Athletics
Oakland Athletics
Oakland Athletics
Cincinnati Reds
Cincinnati Reds
New York Yankees
New York Yankees
Pittsburgh Pirates
Philadelphia Phillies
Los Angeles Dodgers
St. Louis Cardinals
Baltimore Orioles
Detroit Tigers
Kansas City Royals
New York Mets
Minnesota Twins
Los Angeles Dodgers
Oakland Athletics
Cincinnati Reds
Minnesota Twins
Toronto Blue Jays
Toronto Blue Jays
World Series Not Played in 1994
Atlanta Braves
New York Yankees
Florida Marlins
New York Yankees
New York Yankees
New York Yankees
Arizona Diamondbacks
Anaheim Angels
Florida Marlins
Boston Red Sox
Chicago White Sox
St. Louis Cardinals
Boston Red Sox
Philadelphia Phillies
New York Yankees
San Francisco Giants
St. Louis Cardinals
San Francisco Giants
Boston Red Sox
San Francisco Giants
Kansas City Royals
Chicago Cubs
Houston Astros
Boston Red Sox

In: Computer Science

Programming language: Java If any more information is needed please let me know exactly what you...

Programming language: Java

If any more information is needed please let me know exactly what you need.

Though there are a bunch of files they are small and already done. Modify the driver file ,Starbuzz coffee, to be able to order each blend and be able to add each condiment to each of the blends. The price should be set accordingly. Be able to: order 1 of each type of beverage, add multiple toppings to each ordered beverage and use each condiment at least once.

Beverage.java:

public abstract class Beverage {
   String description = "Unknown Beverage";
  
   public String getDescription() {
       return description;
   }

   public abstract double cost();
}

CondimentDecorator.java:

public abstract class CondimentDecorator extends Beverage {
   public abstract String getDescription();
}

DarkRoast.java:

public class DarkRoast extends Beverage {
   public DarkRoast() {
       description = "Dark Roast Coffee";
   }

   public double cost() {
       return .99;
   }
}

Decaf.java:

public class Decaf extends Beverage {
   public Decaf() {
       description = "Decaf Coffee";
   }

   public double cost() {
       return 1.05;
   }
}

Espresso.java:

public class Espresso extends Beverage {
  
   public Espresso() {
       description = "Espresso";
   }
  
   public double cost() {
       return 1.99;
   }
}

HouseBlend.java:

public class HouseBlend extends Beverage {
   public HouseBlend() {
       description = "House Blend Coffee";
   }

   public double cost() {
       return .89;
   }
}

Caramel.java:

public class Caramel extends Beverage {
   public Caramel() {
       description = "Caramel Coffee";
   }

   public double cost() {
       return 1.35;
   }
}

Chocolate.java:

public class Chocolate extends CondimentDecorator {
   Beverage beverage;

   public Chocolate(Beverage beverage) {
       this.beverage = beverage;
   }

   public String getDescription() {
       return beverage.getDescription() + ", Chocolate";
   }

   public double cost() {
       return .20 + beverage.cost();
   }
}

Cinnamon.java:

public class Cinnamon extends CondimentDecorator {
   Beverage beverage;

   public Cinnamon(Beverage beverage) {
       this.beverage = beverage;
   }

   public String getDescription() {
       return beverage.getDescription() + ", Cinnamon";
   }

   public double cost() {
       return .15 + beverage.cost();
   }
}

Milk.java:

public class Milk extends CondimentDecorator {
   Beverage beverage;

   public Milk(Beverage beverage) {
       this.beverage = beverage;
   }

   public String getDescription() {
       return beverage.getDescription() + ", Milk";
   }

   public double cost() {
       return .10 + beverage.cost();
   }
}

Mint.java:

public class Mint extends CondimentDecorator {
   Beverage beverage;

   public Mint(Beverage beverage) {
       this.beverage = beverage;
   }

   public String getDescription() {
       return beverage.getDescription() + ", Mint";
   }

   public double cost() {
       return .15 + beverage.cost();
   }
}

Mocha.java:

public class Mocha extends CondimentDecorator {
   Beverage beverage;

   public Mocha(Beverage beverage) {
       this.beverage = beverage;
   }

   public String getDescription() {
       return beverage.getDescription() + ", Mocha";
   }

   public double cost() {
       return .20 + beverage.cost();
   }
}

Soy.java:

public class Soy extends CondimentDecorator {
   Beverage beverage;

   public Soy(Beverage beverage) {
       this.beverage = beverage;
   }

   public String getDescription() {
       return beverage.getDescription() + ", Soy";
   }

   public double cost() {
       return .15 + beverage.cost();
   }
}

Whip.java:

public class Whip extends CondimentDecorator {
   Beverage beverage;

   public Whip(Beverage beverage) {
       this.beverage = beverage;
   }

   public String getDescription() {
       return beverage.getDescription() + ", Whip";
   }

   public double cost() {
       return .10 + beverage.cost();
   }
}

StarbuzzCoffee.java:

public class StarbuzzCoffee {

   public static void main(String args[]) {
       Beverage beverage = new Espresso();
       System.out.println(beverage.getDescription()
               + " $" + beverage.cost());
              
       Beverage beverage1 = new Decaf();
       beverage1 = new Soy(beverage1);
       beverage1 = new Mocha(beverage1);
       beverage1 = new Whip(beverage1);
       beverage1 = new Cinnamon(beverage1);
       beverage1 = new Mint(beverage1);
       beverage1 = new Chocolate(beverage1);
       System.out.println(beverage1.getDescription()
               + " $" + beverage1.cost());

       Beverage beverage2 = new DarkRoast();
       beverage2 = new Soy(beverage2);
       beverage2 = new Mocha(beverage2);
       beverage2 = new Whip(beverage2);
       beverage2 = new Cinnamon(beverage2);
       beverage2 = new Mint(beverage2);
       beverage2 = new Chocolate(beverage2);
       System.out.println(beverage2.getDescription()
               + " $" + beverage2.cost());

       Beverage beverage3 = new HouseBlend();
       beverage3 = new Soy(beverage3);
       beverage3 = new Mocha(beverage3);
       beverage3 = new Whip(beverage3);
       beverage3 = new Cinnamon(beverage3);
       beverage3 = new Mint(beverage3);
       beverage3 = new Chocolate(beverage3);
       System.out.println(beverage3.getDescription()
               + " $" + beverage3.cost());
      
       Beverage beverage4 = new Hazelnut();
       beverage4 = new Soy(beverage4);
       beverage4 = new Mocha(beverage4);
       beverage4 = new Whip(beverage4);
       beverage4 = new Cinnamon(beverage4);
       beverage4 = new Mint(beverage4);
       beverage4 = new Chocolate(beverage4);
       System.out.println(beverage4.getDescription()
               + " $" + beverage4.cost());  

       Beverage beverage5 = new Caramel();
       beverage5 = new Soy(beverage5);
       beverage5 = new Mocha(beverage5);
       beverage5 = new Whip(beverage5);
       beverage2 = new Cinnamon(beverage5);
       beverage2 = new Mint(beverage5);
       beverage2 = new Chocolate(beverage5);
       System.out.println(beverage5.getDescription()
               + " $" + beverage5.cost());
   }
}

In: Computer Science