Questions
The issue of homelessness is relevant to both Microeconomics, Econ 10 B, and Macroeconomics, Econ 10...

The issue of homelessness is relevant to both Microeconomics, Econ 10 B, and Macroeconomics, Econ 10 A. In Micro we discuss at great length the market for rental housing: supply, demand, price and quantity. Many families in America BECOME homeless as a direct result of “free market” forces: their rent rises beyond their ability to pay. In Macro, we discuss the national picture: the millions of jobs involved on a national scale in the construction and sale of residential units: homes, condos, apartments, and ADUs (accessory dwelling units). The San Jose Mercury News reported on June 17 that the city of San Jose is dismantling a temporary homeless site after spending more than $1.3 million repairing dozens of dilapidated state-owned trailers. The article states that “nearly 6,200 people in San Jose don’t have a place to call home and county health officials believe that at least 2,500 of them are at high risk of infection.” Some experts believe the total is much higher than that. San Jose has announced plans to build hundreds of ‘dorm-style’ modular and prefab housing units to serve its homeless population on three locations in the city: A site at Monterey and Bernal roads, a second at Evans Lane, and a third at Rue Ferrari and Highway 101. In EACH AND EVERY CASE, opposition from neighbors has been INTENSE. ‘NOT IN MY BACKYARD!” The city of San Francisco had been spending over $300 million PER YEAR (before March, 2020) to house homeless people and provide other services. Yet, the number of homeless keeps rising. Given the incredible drop in tax revenue---hotel taxes, sales taxes on restaurant meals-----since March, 2020, it is almost impossible to imagine that level of funding staying level. San Francisco has suffered a greater drop in tax revenue than San Jose or Oakland. Obviously, it is not a contest. So, here goes: Question 1. In early March, 2020, our state government announced tentative plans to move homeless people in to college dorm rooms. A. In your opinion, is this idea a good idea? Or a bad idea? Why? B. Would you make this program voluntary for homeless people? Or mandatory? Why? C. How vigorously would you enforce this program? Why? D. What penalties, if any, would you impose on homeless people for non-compliance? Why? E. In theory, what could ‘go wrong’ with the enforcement of this program? What other support services do homeless people require, in addition to housing? F. Moving homeless people into hotel rooms, (combined with support services), which our state has done on an unprecedented level, may be a better idea than moving them into college dorms. Why? G. In your opinion, what more should we be doing as a society to address this issue? Why?

In: Economics

Which statement best describes the difference between the charge of a polyatomic ion and the oxidation...

Which statement best describes the difference between the charge of a polyatomic ion and the oxidation states of its constituent atoms? (For example, the charge of NO−3 is 1-, and the oxidation states of its atoms are +5 for the nitrogen atom and -2 for each oxygen atom.) Which statement best describes the difference between the charge of a polyatomic ion and the oxidation states of its constituent atoms? (For example, the charge of is 1-, and the oxidation states of its atoms are +5 for the nitrogen atom and -2 for each oxygen atom.)

a.The charge of a polyatomic ion is not a real physical property, while the oxidation states of atoms are actual physical properties.

b.The oxidation state of the ion is the same as its charge.

c.The charge of a polyatomic ion is a property of the entire ion, while the oxidation states are assigned to each individual atom.

In: Chemistry

1)Which of the following are correct statements about the Bellman Equation? A) Bellman equation represents the...

1)Which of the following are correct statements about the Bellman Equation?

A) Bellman equation represents the value of a state in terms of the value of successor states.

B) Bellman equation represents the expected value of successor states.

C) Bellman equation can be written for a state or a state-action pair.

D) Bellman equation is based on an approximation of the value of the current state.

2) Which of the following describes what a backup diagram represents? (Please explain)

a)Shows the current state and all possible subsequent actions and states, and the expected value of a state can be computed by ‘backing-up’ over the values of subsequent states in the diagram.

b)Shows all possible paths to arrive at the current state, and can be used to compute the expected values of the predecessor states by ‘backing up’ over the values of these predecessor states.

c)Shows all possible paths to arrive at the current state, and can be used to compute the expected values of the current state by ‘backing up over the state values in the diagram.

d)Shows the current state and all possible subsequent actions and states, and the expected value of a predecessor state can be computed by ‘backing-up’ over the values of the states in the diagram.

In: Computer Science

Are Southern and Western states equally prone to fatal lightning strikes? Suppose the number of lightning...

Are Southern and Western states equally prone to fatal lightning strikes? Suppose the number of lightning strike fatalities over a 5-year period for Southern and Western states are shown as follows.

Southern
State
Fatalities
AL 5
AR 1
FL 17
GA 7
KY 5
LA 5
MS 4
NC 3
OK 2
SC 4
TN 0
TX 9
VA 0
Western
State
Fatalities
AZ 6
CA 1
ID 2
MT 2
NM 2
NV 0
OR 2
UT 3
WA 0
WY 4

Use α = 0.05 and test to determine whether the distribution of lightning fatalities is the same for these two regions.

State the null and alternative hypotheses.

H0: The two populations of lightning fatalities are identical.
Ha: The two populations of lightning fatalities are not identical.H0: Median number of lightning fatalities for Southern states − Median number of lightning fatalities for Western states > 0
Ha: Median number of lightning fatalities for Southern states − Median number of lightning fatalities for Western states = 0    H0: Median number of lightning fatalities for Southern states − Median number of lightning fatalities for Western states ≤ 0
Ha: Median number of lightning fatalities for Southern states − Median number of lightning fatalities for Western states > 0H0: Median number of lightning fatalities for Southern states − Median number of lightning fatalities for Western states ≥ 0
Ha: Median number of lightning fatalities for Southern states − Median number of lightning fatalities for Western states < 0H0: The two populations of lightning fatalities are not identical.
Ha: The two populations of lightning fatalities are identical.

Find the value of the test statistic.

W =

Find the p-value. (Round your answer to four decimal places.)

p-value =

What is your conclusion?

Do not reject H0. There is sufficient evidence to conclude that the distribution of lightning fatalities is different for these two regions.Reject H0. There is sufficient evidence to conclude that the distribution of lightning fatalities is different for these two regions.    Reject H0. There is not sufficient evidence to conclude that the distribution of lightning fatalities is different for these two regions.Do not reject H0. There is not sufficient evidence to conclude that the distribution of lightning fatalities is different for these two regions.

In: Statistics and Probability

Are Southern and Western states equally prone to fatal lightning strikes? Suppose the number of lightning...

Are Southern and Western states equally prone to fatal lightning strikes? Suppose the number of lightning strike fatalities over a 5-year period for Southern and Western states are shown as follows.

Southern
State
Fatalities
AL 5
AR 2
FL 17
GA 7
KY 5
LA 5
MS 1
NC 3
OK 4
SC 1
TN 0
TX 8
VA 0
Western
State
Fatalities
AZ 9
CA 2
ID 4
MT 4
NM 4
NV 0
OR 4
UT 3
WA 0
WY 1

Use α = 0.05 and test to determine whether the distribution of lightning fatalities is the same for these two regions.

State the null and alternative hypotheses.

H0: Median number of lightning fatalities for Southern states − Median number of lightning fatalities for Western states ≥ 0
Ha: Median number of lightning fatalities for Southern states − Median number of lightning fatalities for Western states < 0

H0: The two populations of lightning fatalities are identical.
Ha: The two populations of lightning fatalities are not identical.    

H0: The two populations of lightning fatalities are not identical.
Ha: The two populations of lightning fatalities are identical.

H0: Median number of lightning fatalities for Southern states − Median number of lightning fatalities for Western states ≤ 0
Ha: Median number of lightning fatalities for Southern states − Median number of lightning fatalities for Western states > 0

H0: Median number of lightning fatalities for Southern states − Median number of lightning fatalities for Western states > 0
Ha: Median number of lightning fatalities for Southern states − Median number of lightning fatalities for Western states = 0

Find the value of the test statistic.

W =

Find the p-value. (Round your answer to four decimal places.)

p-value =

What is your conclusion?

Reject H0. There is sufficient evidence to conclude that the distribution of lightning fatalities is different for these two regions.

Do not reject H0. There is not sufficient evidence to conclude that the distribution of lightning fatalities is different for these two regions.    

Reject H0. There is not sufficient evidence to conclude that the distribution of lightning fatalities is different for these two regions.

Do not reject H0. There is sufficient evidence to conclude that the distribution of lightning fatalities is different for these two regions.

In: Statistics and Probability

Java homework problem. This is my hotel reservation system. I'm trying to add a few things...

Java homework problem. This is my hotel reservation system. I'm trying to add a few things to it.

You will be changing your Hotel Reservation system to allow a user to serve more rooms and the rooms will be created as objects.

  1. For this project you will be modifying the Hotel Reservation system to allow a user to serve more rooms and the rooms will be created as objects.

    1. You will be create a Room object that will allow the user to set the type of room, if they want pets, and if they want Oceanview.

      1. OV is $50 more

      2. Pets $25 more

      3. King, Suite and Queen style rooms and you can set the prices

    2. You will have an array for username and password that hold 3 userNames and 3 passwords. These will be parallel arrays. I am allowed to enter username and password 3 times and then I get kicked out.

    3. Main

      1. The main method will keep track of information for 5 room reservations objects all for 1 night

        1. Be sure to use looping, somewhere in the main java file.

        2. Create a method that will catch the object and create it. Remember you can pass by reference or return the object back to the main.

        3. Create a method to handle printing out each of the objects to the screen and the total for each room. (You can set this total in the Room Class if you wish.)

        4. Finally Create a method that will show out the grand total.

Here is my original code to be modified:

import java.util.Scanner;
import javax.swing.JOptionPane;
import java.text.DecimalFormat;

public class hotelreservation {
  
  
      public static double roomSelection(Scanner scan)
   {

       String roomSelection;
       System.out.print("Please enter the type of room desired for your stay (King/Queen/Suite/Two doubles): ");
       roomSelection = scan.nextLine();
    
       if(roomSelection.equalsIgnoreCase("Suite"))
           return 275;
       else if(roomSelection.equalsIgnoreCase("Queen"))
           return 150;
       else if(roomSelection.equalsIgnoreCase("King"))
           return 150;
       else
           return 125;
   }

   public static double roomOceanView(Scanner scan)
   {
       String response;
       System.out.print("Would you like an oceanview room (Yes/No) ? ");
       response = scan.nextLine();
    
       if(response.equalsIgnoreCase("Yes"))
           return 45;
       else
           return 0;
   }

   public static double roomPets(Scanner scan)
   {
       String response;
       System.out.print("Do you have any pets (Yes/No) ? ");
       response = scan.nextLine();
    
       if(response.equalsIgnoreCase("Yes"))
           return 50;
       else
           return 0;
   }

   public static void main(String[] args) {
     
       DecimalFormat decFormat = new DecimalFormat("0.00");
       Scanner scan = new Scanner(System.in);
       double roomReservation[] = new double[3];
       double subTotal = 0;
    
       for(int x=0;x        {
           System.out.println("Welcome to our Hotel Room Reservation Pricing System.");
           System.out.println("Please answer the following questions regarding your reservation of room #"+(x+1)+" : ");
           roomReservation[x] = roomPets(scan);
           roomReservation[x] += roomSelection(scan);
           roomReservation[x] += roomOceanView(scan);
       }
     
       for(int x=0;x        {
           System.out.println("Total cost for room #"+(x+1)+" : $"+decFormat.format(roomReservation[x]));
           subTotal += roomReservation[x];
       }
    
       System.out.println("Subtotal: $"+decFormat.format(subTotal));
       double tax = subTotal*0.05;
       System.out.println("Total Tax (5%): $"+decFormat.format(tax));
       System.out.println("Grand Total: $"+(decFormat.format(subTotal+tax)));
       scan.close();
   }

}

In: Computer Science

Discussion Question - There is an ongoing debate about the roles of quantitative and qualitative inputs...

Discussion Question - There is an ongoing debate about the roles of quantitative and qualitative inputs in demand estimation and forecasting. Those in the qualitative camp argue that statistical analysis can only go so far. Demand estimates can be further improved by incorporating purely qualitative factors. Quantitative advocates insist that qualitative, intuitive, holistic approaches only serve to introduce errors, biases, and extraneous factors into the estimation task.

Suppose the executive for the theater chain is convinced that any number of bits of qualitative information (the identity of the director, the film’s terrific script and rock-music sound track, the Hollywood “buzz” about the film during production, even the easing of his ulcer) influence the film’s ultimate box-office revenue.

How might one test which approach—purely qualitative or statistical— provides better demand or revenue estimates? Are there ways to combine the two approaches? Provide concrete suggestions.

In: Economics

A person with a cough is a persona non grata on airplanes, elevators, or at the...

A person with a cough is a persona non grata on airplanes, elevators, or at the theater. In theaters especially, the irritation level rises with each muffled explosion. According to Dr. Brian Carlin, a Pittsburgh pulmonologist, in any large audience you'll hear about 8 coughs per minute.

(a) Let r = number of coughs in a given time interval. Explain why the Poisson distribution would be a good choice for the probability distribution of r.

Coughs are a common occurrence. It is reasonable to assume the events are dependent.Coughs are a common occurrence. It is reasonable to assume the events are independent.    Coughs are a rare occurrence. It is reasonable to assume the events are dependent.Coughs are a rare occurrence. It is reasonable to assume the events are independent.



(b) Find the probability of six or fewer coughs (in a large auditorium) in a 1-minute period. (Use 4 decimal places.)


(c) Find the probability of at least eight coughs (in a large auditorium) in a 24-second period. (Use 4 decimal places.)

In: Statistics and Probability

Suppose that the sitting​ back-to-knee length for a group of adults has a normal distribution with...

Suppose that the sitting​ back-to-knee length for a group of adults has a normal distribution with a mean of mu equals 22.7 in. and a standard deviation of sigma equals 1.2 in. These data are often used in the design of different​ seats, including aircraft​ seats, train​ seats, theater​ seats, and classroom seats. Instead of using 0.05 for identifying significant​ values, use the criteria that a value x is significantly high if​ P(x or ​greater)less than or equals0.01 and a value is significantly low if​ P(x or ​less)less than or equals0.01. Find the​ back-to-knee lengths separating significant values from those that are not significant. Using these​ criteria, is a​ back-to-knee length of 24.9 in. significantly​ high? Find the​ back-to-knee lengths separating significant values from those that are not significant. ​Back-to-knee lengths greater than nothing in. and less than nothing in. are not​ significant, and values outside that range are considered significant. ​(Round to one decimal place as​ needed.).

In: Statistics and Probability

6.2.19-E Suppose that the sitting​ back-to-knee length for a group of adults has a normal distribution...

6.2.19-E Suppose that the sitting​ back-to-knee length for a group of adults has a normal distribution with a mean of mu equals 24.1 in. and a standard deviation of sigma equals 1.1 in. These data are often used in the design of different​ seats, including aircraft​ seats, train​ seats, theater​ seats, and classroom seats. Instead of using 0.05 for identifying significant​ values, use the criteria that a value x is significantly high if​ P(x or ​greater)less than or equals0.01 and a value is significantly low if​ P(x or ​less)less than or equals0.01. Find the​ back-to-knee lengths separating significant values from those that are not significant. Using these​ criteria, is a​ back-to-knee length of 26.2 in. significantly​ high? Find the​ back-to-knee lengths separating significant values from those that are not significant. ​Back-to-knee lengths greater than nothing in. and less than nothing in. are not​ significant, and values outside that range are considered significant.

In: Statistics and Probability