In an emergency stop, a shoulder- strap seat belt holds a 60 kg passenger firmly in...

In an emergency stop, a shoulder- strap seat belt holds a 60 kg passenger firmly in place. The car was initially traveling at 30 m/s and came to a stop in 6.0 seconds along a straight, level road. What was the average force applied to the passenger by the seatbelt?

In: Physics

def compare_elevations_within_row(elevation_map: List[List[int]], map_row: int, level: int) -> List[int]: """Return a new list containing the three...

def compare_elevations_within_row(elevation_map: List[List[int]], map_row: int, level: int) -> List[int]:
"""Return a new list containing the three counts: the number of
elevations from row number map_row of elevation map elevation_map
that are less than, equal to, and greater than elevation level.

Precondition: elevation_map is a valid elevation map.
0 <= map_row < len(elevation_map).

>>> compare_elevations_within_row(THREE_BY_THREE, 1, 5)
[1, 1, 1]
>>> compare_elevations_within_row(FOUR_BY_FOUR, 1, 2)
[0, 1, 3]

"""
for i in elevation_map[map_row]:
differences=[0,0,0]
if i<level:
differences[0] += 1
elif i==level:
differences[1] += 1
else:
differences[2] += 1
return differences

This was written in python, I am wondering why does the header of the function shows syntax error starting from List. (List[List[int]], map_row: int, level: int) -> List[int]:)these are all underedline

In: Computer Science

You are the manager of Door-to-Door Vacuum Cleaners, Inc. Each salesperson is paid a base salary...

You are the manager of Door-to-Door Vacuum Cleaners, Inc. Each salesperson is paid a base salary plus a percentage of the revenues she or he generates. In addition, each salesperson drives his or her car to and from each sales call and is reimbursed $0.40 per mile driven. On average, each salesperson drives about 150 miles per day and 240 days per year. As manager of Door-to-Door, how might you restructure the compensation of your sales force to enhance your profits? Are there any potential disadvantages of your plan? Explain.

In: Economics

Assume the following for a paired-samples t test: N = 19, Mdifference = 13.19, s =...

Assume the following for a paired-samples t test: N = 19, Mdifference = 13.19, s = 22.3. What is the 95 percent confidence interval for a two-tailed test?

A.

[8.07, 18.31]

B.

[11.09, 15.29]

C.

[–10.76, 10.76]

D.

[2.44, 23.94]

In: Math

Microeconomic question: Discuss relatively low level of maximum interest rates which banks are allowed to charge...

Microeconomic question: Discuss relatively low level of maximum interest rates which banks are allowed to charge their customers.(200 words)

In: Economics

Which of these statements is true? Cost-push inflation causes a decline in output, an increase in...

Which of these statements is true?
Cost-push inflation causes a decline in output, an increase in price level, and an increase in unemployment.
During cost-push inflation, output increases and the price level decreases making it hard for producers to make money.
Cost-push inflation is easier to correct than demand-pull inflation.

Policymakers only have to increase aggregate demand to reduce inflation.

All of these explain a change in long-run aggregate supply EXCEPT:
increases in productivity.
changes in government spending.
increases in business taxes.
changes in resource prices.
In late 2015, Congressional House Speaker Paul Ryan helped pass a major budget bill signed by President Obama that eliminated many of the “sequester” provisions, or automatic spending cuts, that were implemented in 2013 after a significant political gridlock. Many economists applauded the elimination of the spending cuts because they felt the cuts increased the risk of another recession. Using the AD/AS model and what you know about the spending multiplier, explain why economists would come to this conclusion.
Government spending represents a large portion of spending in the economy. A decrease in spending shifts the aggregate demand curve to the left and causes a large change in the multiplier.
Government spending represents a large portion of spending in the economy. A decrease in spending shifts the aggregate demand curve to the right and causes a large change in the multiplier.
Government spending represents a small portion of spending in the economy. A decrease in spending shifts the aggregate demand curve to the right and causes a small change in the multiplier.
Government spending represents a small portion of spending in the economy. A decrease in spending shifts the aggregate demand curve to the left and causes a small change in the multiplier.
When the economy is hit with a supply shock, such as higher prices for energy, food, or raw materials, is this doubly disruptive and harmful to the economy?
It is not doubly disruptive; it only causes unemployment.
It is not doubly disruptive; it only causes inflation.
It is doubly disruptive; it results in a leftward shift in the short-run aggregate supply (SRAS) curve leading to increased unemployment and a higher price level.
It is doubly disruptive; it results in a rightward shift in the short-run aggregate supply (SRAS) curve leading to increased unemployment and a higher price level.

In: Economics

QUESTION 5 Phoebe has gone to the local mobile phone store to purchase a new phone...

QUESTION 5

  1. Phoebe has gone to the local mobile phone store to purchase a new phone plan. She has no real intention of getting a new phone – the recent COVID-19 events have left her with no spare cash. She can afford a $40 a month plan at the moment on her budget.

QUESTION 6

  1. Natalie has decided that she wants to build her own bicycle as a project to help her cope with the social isolation measures in place. She looks around on-line and decides to source her bicycle components from the famous bicycle parts store “Wally’s Private Parts”.

    Natalie makes a special trip out to Wally’s (as it is colloquially known) to pick up the bike frame, wheels and handle bars. As she enters the store, she sees a helmet on display for $10. Because she has been searching on-line, she knows that this model helmet is worth at least $90.

    She goes up to the counter and speaks with Kristin, the bike maintenance technician about the parts she is here to pick up. “Are you sure these handlebars are OK for the mountain biking I am looking to do?”

    “I’m pretty sure,” says Kristin. “In fact, I’ll stress test them myself out the back before you go so that you can be sure.”

    Just as she is about to go up to the counter a new customer, Ryan, enters the store. He grabs the last helmet on display and brusquely pushes in front of Natalie. “I’ll take the helmet – here’s my $10” he states.

    Kristin, obviously annoyed at his behaviour, says “Oh, that’s a mistake. I’ve been meaning to change that sign for some time. Wally made a mistake when he made that sign - it’s meant to be $100 – I can’t sell it to you at that price.”

    Ryan starts arguing for the next five minutes before leaving – without the helmet and very annoyed.

    Kristin apologises to Natalie and goes out the back to get her parts. Unfortunately the argument with Ryan distracted her and she forgets to stress test the handle bars.

    “Here you go,” she says. “Hope you enjoy the project and riding the finished product!”

    Natalie goes home and carefully completes the project. On the first ride on a trail, the handlebars start coming loose and bending – they were not designed for such rough terrain. It causes Natalie to come off the bike, badly breaking her arm and she is off work for 4 weeks.

    Write a memo to Wally the owner ofWally’s Private Parts outlining if the store is vicariously liable for negligence. To do this, your memo should apply the ILAC method, where possible, and it should cover:

    • all the steps required to show if Kristin is negligent ; and
    • why or why not Wally would liable for her acts or omissions .

    You do NOT need to cover defences.

In: Operations Management

Price the following option using the binomial method. Show all work Stock price = 10 Strike...

Price the following option using the binomial method. Show all work

Stock price = 10

Strike price = 15

Volatility = 0.4

T = 1

r = 0.3

Type : Put

In: Finance

1-) Please submit the solution of your final as Ms-word or PDF document 2-) Complete THREE...



1-) Please submit the solution of your final as Ms-word or PDF document

2-) Complete THREE QUESTIONS out of the four exam questions below.

3-) FOR EACH QUESTION, IT IS REQUIRED to include Ms-Word or Pdf file contains the following

A. Source file and sample of your output screen shots.

B. Up to one page of your program discussion. In the discussion, state the issues that you may have problem with if there is any. Why your program is not running (if it is not)? What was your approach (Your process to the solution)? How did you overcome the issues while writing the program?

C. Write your conclusion as what you have learned from this program.

Not including this report will result of losing 30% because I would not know if you really the one who did it or not.

YOUR REPORT WILL VERIFY THE UNDERSTANDING OF YOUR WORK, AND THAT YOU REALLY DID IT.


Question One: Write an assembly language program that allows a user to enter any 5 numbers then display the sum of the entered 5 numbers.

For example:

Enter: 1, 2, 3, 4, 5

Output First Line: Display: Sum of the Entered is: 15

Output Second Line: Display: Division of entered digit number 4 by entered digit number two 2 so (4/( 2 = 2)

Question Two: Write an assembly language program that allows a user to enter any 6 numbers in any order then display the largest and smallest entered number and the order from small to large and then large to small

For example

Enter: 4, , 2, 7, 9, 6, 1

Display:

Largest entered number is: 9

Smallest entered number is: 1

Large to Small: 9, 7, 6, 4, 2, 1

Small to Large: 1, 2, 4, 6, 7, 9


Question Three: Write an assembly language program to count number of vowels in any given string.

Question Four: Write a procedure named Get_frequencies that constructs a character frequency table. Input to the procedure should be a pointer to a string, and a pointer to an array of 256 doublewords. Each array position is indexed by its corresponding ASCII code. When the procedure returns, each entry in the array contains a count of how many times that character occurred in the string. Include the source code only.

In: Computer Science

Determine the magnitude of the force between two parallel wires. Express your answer to two significant...

Determine the magnitude of the force between two parallel wires.

Express your answer to two significant figures and include the appropriate units.

In: Physics

How many hours would be required to make a 3900 km trip across the United States...

How many hours would be required to make a 3900 km trip across the United States if you average 100 km/h? ______h

At an average speed of 145 mph, how long would it take a race car to complete a 680 mile race? ____h

A certain car can accelerate from 0 to 60 mph in 7.5 s. What is the car's average acceleration in mph/s? _____ mph/s

You throw a ball straight up at 20 m/s. How many seconds elapse before it is traveling downward at 12 m/s? _____s

A rock is dropped into an abandoned mine and a splash is heard 8 s later. Assuming that it takes a negligible time for the sound to travel up the mine shaft, determine the depth of the shaft and how fast the rock was falling when it hit the water. depth of well ________ m velocity of rock __________ m/s

In: Physics

Using the following schema, write a SQL query to satisfy the question: What are the names...

Using the following schema, write a SQL query to satisfy the question: What are the names of the suppliers of 'Pith_helmet' sold in a department managed by 'Andrew'?

Schema:

Sale (saleno, saleqty, itemno, dname)

Supplier (splno, splname)

Item (itemno, itemname, itemtype, itemcolor)

Department (deptname, deptfloor, deptphone, empno)

Delivery (delno, delqty, itemnum, dptname, splno)

Employee (empno, empfname, empsalary, departname, bossno)

In: Computer Science

When glutamate binds to it's ionotropic receptors, including __, it can also cause an __ in...

When glutamate binds to it's ionotropic receptors, including __, it can also cause an __ in the post-synaptic neuron by letting __ into the cell.

a) AMPA; excitatory post-synaptic potential (EPSP); Ca++

b) NMDA; inhibitory post-synaptic potential (IPSP); Cl-

c) G-protein coupled receptors; inhibitory post-synaptic potential (IPSP); K+

d) Kainate; excitatory post-synaptic potential (EPSP); Na+

e) NMDA; excitatory post-synaptic potential (EPSP); Ca++

In: Biology

Question 2: Create a class Fract fraction with two private integer data members: num (Numerator) and...

Question 2: Create a class Fract fraction with two private integer data members: num (Numerator) and den (denominator). write code for:

Part A) class declaration header file

Part b) constructor that validates input (prevent 0 on the denominator in a fraction simplified fraction that is not reduced, avoids negative denominators) with default arguments 0 and 1.

Part c)Two fractions with prototype Fract add (fract) and Fract multiply (fract) completing the usual addition and multiplication

Part d) Just all fractions by writing a short test driver that creates two fractions with the values 3/6 and ⅔ and prints there sum and product

C++ language

In: Computer Science

S2(n-1) / σ² is distributed X2(n-1) when ........?

S2(n-1) / σ² is distributed X2(n-1) when ........?

In: Math