Questions
I drive to school and am currently looking for a parking spot so I can walk...

I drive to school and am currently looking for a parking spot so I can walk to Jacob's. If I turn into a parking lot to look for a spot to park in that specific lot, the process of looking for a spot takes 1 minute of time whether I find a spot or not.  

Parking lot A is closest to Jacobs. If I get a spot here, it takes me 1 minute to walk into my class at the business school, however there is only a 10% chance I'll find a spot if I look.

Parking lot B is a 4-minute walk; if I pull in to look for a spot, there is a 30% chance I'll find a spot.

Parking lot C is an 8-minute walk; if I pull in to look for a spot, there is a 100% chance I will find a spot.  

Which strategy to find a parking spot is best for me (ie. which order should I check the parking lots for spots to park), assuming we are risk-neutral, and simply want to have the earliest expected arrival time to Jacob’s as possible? (Another way to say this is we want the smallest expected value of time spent getting to Hall).

Now, assume I am risk averse (let’s say that in this second case, my class starts in 10 minutes, and there is a large decrease in my utility if I am late for class). Is the best strategy the same as when I am risk-neutral, or has it changed?

In: Statistics and Probability

The Business School at State University currently has three parking lots, each containing 155 spaces. Two...

The Business School at State University currently has three parking lots, each containing 155 spaces. Two hundred faculty members have been assigned to each lot. On a peak day, an average of 70% of all lot 1 parking sticker holders show up, an average of 72% of all lot 2 parking sticker holders show up, and an average of 74% of all lot 3 parking sticker holders show up.

a. Given the current situation, estimate the probability that on a peak day, at least one faculty member with a sticker will be unable to find a spot. Assume that the number who show up at each lot is independent of the number who show up at the other two lots. Compare two situations: (1) each person can park only in the lot assigned to him or her, and (2) each person can park in any of the lots (pooling). (Hint: Use the RISKBINOMIAL function.) If needed, round your answer to a whole percentage and if your answer is zero, enter "0".

No pooling: %
Pooling: %

b. Now suppose the numbers of people who show up at the three lots are highly correlated (correlation 0.9). How are the results different from those in part a? If needed, round your answer to a whole percentage.

No pooling: %
Pooling:

%

NEED HELP WITH PART B

In: Math

Write a program in Java Using object Orientation Design to determine the status of Mini Van...

Write a program in Java Using object Orientation Design to determine the status of Mini Van Sliding Doors. A logical circuit receives a different binary code to allow opening different doors. The doors can be opened by a dashboard switch, inside or outside handle. The inside handle will not open the door if the child safety lock is on or the master lock is on. The gear shift must be in the park to open the door.

  1. A method must be written to indicate the gear shift status and return to main.
  2. A method to display which door is open or can be opened.
  3. A method to show the status of all doors
  4. A method to convert the code to decimal and store in the text file (Character based) as a record.

** MUST USE constructors and methods. The methods should be instantiated by an object. Use simple main. The first bit Stream must be entered by users. The program needs to be interactive

Hints & Suggestions

park

door1

door2

dashboardSwitch

inHandle

outHandle

safteyLock

p d1 d2 dw inh outh sLock desc
1 1 1 1 1 1 0 Saftey Lock Off, door 1 & 2 open
1 1 0 1 1 1 0
1 0 1 1 1 1 0
0 0 0 0 0 0 0 Car not parked, no door works
1 0 0 0 0 1 1 Saftey lock on, door only opens from outside

In: Computer Science

Java Part 2 of 4 - Amusement Park Programming Project MUST BE COMPATIBLE WITH PART 1...

Java

Part 2 of 4 - Amusement Park Programming Project

MUST BE COMPATIBLE WITH PART 1

https://www.chegg.com/homework-help/questions-and-answers/java-part-1-4-amusement-park-programming-project-requirements-use-java-selection-construct-q40170145?trackid=ERIFssNL

Requirements:

  1. Use the Java selection constructs (if and if else).
  2. Use the Java iteration constructs (while, do, for).
  3. Use Boolean variables and expressions to control iterations.
  4. Proper error handling.

Class:

Merchandise – models merchandise available in the gift shop such as t-shirts, sweatshirts, and stuffed animals.

Instance Fields:

  1. id : long – to identify the specific merchandise item.
  2. category : String – to store the specific type of merchandise.
  3. description : String – to store the description of the merchandise.
  4. price : double – to store the price of the merchandise.
  5. inStock : boolean – to indicate if the merchandise is instock or on-order.

Constructors and Methods:

  1. Merchandise(String, String, String, double, boolean) – parameterized constructor that initializes the attributes of a merchandise item.
  2. setPrice(double) – to change the price of the merchandise.
  3. getInstock() : boolean – to change the status of the merchandise item.
  4. getId() : String – Accessor method for instance field.
  5. getCategory() : String – Accessor method for instance field.
  6. getDescription() : String – Accessor method for instance field.
  7. getPrice() : double – Accessor method for instance field.
  8. toString() : String – to return a neatly formatted string that contains all the information stored in the instance fields.

In: Computer Science

Using SQL, answer the following question referring to the table below How many twins are there?...

  1. Using SQL, answer the following question referring to the table below
    1. How many twins are there? (Just having the same birthday does not make you twins.)
    1. Name the twins.

CREATE TABLE IF NOT EXISTS students (

student_id INT NOT NULL AUTO_INCREMENT,

first_name VARCHAR(16),

last_name VARCHAR(24),

birthday DATE,

street_address VARCHAR(128),

city VARCHAR(32),

PRIMARY KEY (student_id));

INSERT INTO students

(first_name, last_name, birthday, street_address, city) VALUES

('John','Jones','2000-12-17','250 Pines Blvd.','Pembroke Pines'),

('Mark','Bacon','2000-04-12','1270 Walnut St.','Prarie Bluff'),

('Bill','Carlson','1999-07-06','250 Pines Blvd.','Pembroke Pines'),

('Jean','Carlson','1999-07-06','250 Pines Blvd.','Pembroke Pines'),

('Leonard','Cook','2000-09-14','8046 Maple St.','Highland Park'),

('William','Markham','1999-07-06','1600 Sylvan Ln.','Lake Forest'),

('Sam','Cook','1998-10-13','8046 Maple St.','Highland Park'),

('Fred','Williams','1999-07-08','722 Oack Knoll','Arlington'),

('Sally','Fillmore','2000-03-25','1215 Carrington St.','Decatur'),

('Mary','Jones','1999-11-13','1940 Grant St.','Denver'),

('Phyllis','Jones','1999-11-13','1940 Grant St.','Denver');

In: Computer Science

IN C LANGUAGE You decide you want to build a skate park in your backyard, so...

IN C LANGUAGE

You decide you want to build a skate park in your backyard, so you need to buy a lot of concrete. The good news is, you can get a discount when you buy in bulk. The price of concrete for different grades of concrete per cubic yard is as follows:

  • when grade is either "low" or "cheap"
    • $100 (per cubic yard) for less than 200 cubic yards
    • $95 for between 200 and 400 (including 200 and 400) cubic yards
    • $90 for more than 400 cubic yards
  • when grade is either "high" or "expensive"
    • $150 for less than 250 cubic yards
    • $135 for 250 or more cubic yards

Write a program that calculates the price of an order of concrete when given the grade and quantity.

Notes

  • You can assume valid input.
  • The grader is checking if your output ends with the integer dollar amount (no cents or punctuation).

Examples

What grade of concrete (low/cheap, high/expensive)?
low
How many cubic yards of concrete?
75
The cost is $7500

The answer to the example above is calculated from 75 * $100 (low grade, less than 200 cubic yards) = $7500

What grade of concrete (low/cheap, high/expensive)?
cheap
How many cubic yards of concrete?
75
The cost is $7500
What grade of concrete (low/cheap, high/expensive)?
high
How many cubic yards of concrete?
75
The cost is $11250
What grade of concrete (low/cheap, high/expensive)?
expensive
How many cubic yards of concrete?
75
The cost is $11250

In: Computer Science

[PLEASE ANSWER IN EXCEL TEMPLATE BELOW (A/B ON SEPARATE PAGES) AND SHOW FORMULAS/SOLVER INFO] La Quinta...

[PLEASE ANSWER IN EXCEL TEMPLATE BELOW (A/B ON SEPARATE PAGES) AND SHOW FORMULAS/SOLVER INFO]

La Quinta Inn is staffing its receptionists in its biggest hotel in San Antonio. Receptionists work 6-hour shifts at the hotel lobby. There are two types of receptionists: those who speak English as a first language and those who are fully bilingual (English and Spanish). The requirements for the number of receptionists depend on the customer arrivals during various hours. The Inn believes that the need for receptionists between the hours of 7 A.M. and 10 P.M. are as follows:

7am to 10am 10am to 1pm 1pm to 4pm 4pm to 7pm 7pm to 10pm
Receptionist Needed 4 12 8 12 8

Receptionists begin work either at 7 A.M., 10 A.M., 1 P.M., or 4 P.M. At least half of the receptionists needed in any time period should speak English as the first language. Further, at least one-quarter of the receptionists needed in any time period should be fully bilingual.

A) How many and what type of receptionists should be hired for each shift to meet the language and staffing requirements, so that the total number of receptionists is minimized?

B) What is the optimal hiring plan from a cost perspective if English-speaking receptionists are paid $30 per hour and bilingual receptionists are paid $35 per hour?

English starts at 7 English starts at 10 English starts at 1 English starts at 4 Bilingual starts at 7 Bilingual starts at 10 Bilingual starts at 1 Bilingual starts at 4
Number assigned
Objective coeff
Constraints
7am-10am needs
10am-1pm needs
1pm-4pm needs
4pm-7pm needs
7pm-10pm needs
7am-10am English
10am-1pm English
1pm-4pm English
4pm-7pm English
7pm-10pm English
7am-10am Bilingual
10am-1pm Bilingual
1pm-4pm Bilingual
4pm-7pm Bilingual
7pm-10pm Bilingual
LHS Sign RHS
The optimal objective value is 24.

In: Finance

Sailplanes use updrafts to stay aloft for hours at a time. Near one particular airfield, a...

Sailplanes use updrafts to stay aloft for hours at a time. Near one particular airfield, a stone quarry (with very dark rocks) surrounded by a wooden area provides a particularly regular source for updrafts on hot days. With your knowledge of heat transfer, explain the processes that create the updraft

In: Mechanical Engineering

What happens to the light [energy] after it enters an eye and hits the rods and...

What happens to the light [energy] after it enters an eye and hits the rods and cones? I presume the energy becomes electrical, and it must be near 100% perfect, else our eyes would heat up? Or am I missing something?

The motivation of this question is solar panel technology.

In: Physics

Briefly discuss the main difference between the valence bond and molecular orbital treatments of electronic states...

Briefly discuss the main difference between the valence bond and molecular orbital treatments of electronic states in molecules. Which is a better representation of molecules with all bond lengths at their equilibrium separation? And which is better when one or more bond lengths are stretched near their dissociation limit? Explain.

In: Chemistry