Questions
a) Identify the most important source(s) of market power in the following markets and briefly explain...

a) Identify the most important source(s) of market power in the following markets and briefly explain your answers:

i. Small town bars with liquor licenses

ii. Apple iPad

iii. Electronic commerce (Amazon)

iv. Brand-name prescription drugs

v. Netflix

b) Calculate the Lerner Index for the following profit maximizing firms:

i. Netflix: price = 10, marginal cost = 4

ii. Shell gasoline: elasticity = 0.6

c) Provide an example cross price elasticity for the following products and briefly justify your answer:

i. The price of Apple iPhone X and the quantity of Samsung Galaxy S10

ii. The price of BP gasoline and the quantity of Ford Expedition SUV’s

iii. The price of Starbuck’s latte’s and the quantity of Nike shoes

In: Economics

Treatment of a polypeptide with Tris-(2-carboxyethyl)-phosphine hydrochloride (TCEP) yields two peptides: 1. I-Q-K-H-C-R-C-A-K-M-V-S 2. F-C-R-L-K-D-C-K-N-D Treatment...

Treatment of a polypeptide with Tris-(2-carboxyethyl)-phosphine hydrochloride (TCEP) yields two peptides:

1. I-Q-K-H-C-R-C-A-K-M-V-S

2. F-C-R-L-K-D-C-K-N-D

Treatment of the intact polypeptide with Trypsin yields fragments with the following amino acid composition:
(Ser, Met, Val) (Lys, Gln, Ile) (Phe, Ala, Cys2, Arg, Lys) (Asp, Asn) (Leu, Lys)
(Lys, His, Asp, Cys2, Arg)

a) The intact (untouched) polypeptide is labeled with 1-Fluoro-2,4-dinitrobenzene (FDNB) labeling, followed by acid hydrolysis. What will be observed?

b) Name and briefly describe a method which may determine if the intact polypeptide was a monomer or a dimer

In: Biology

Horseshoe bats (genus Rhinolophus) emit sounds from their nostrils, then listen to the frequency of the...

Horseshoe bats (genus Rhinolophus) emit sounds from their nostrils, then listen to the frequency of the sound reflected from their prey to determine the prey's speed. (The "horseshoe" that gives the bat its name is a depression around the nostrils that acts like a focusing mirror, so that the bat emits sound in a narrow beam like a flashlight.) A Rhinolophus flying at speed v bat emits sound of frequency f bat; the sound it hears reflected from an insect flying toward it has a higher frequency f refl.

If the bat emits a sound at a frequency of 80.9 kHz and hears it reflected at a frequency of 83.9 kHz while traveling at a speed of 3.8 m/s , calculate the speed of the insect.

Use 344 m/s for the speed of sound in air. Express your answer using two significant figures.

In: Physics

Pycharm Complete the Place class that has the following attributes for place(name, country, priority and visited...

Pycharm

Complete the Place class that has the following attributes for place(name, country, priority and visited status) and the methods:

__init__

__str__

two methods to mark the place as unvisited\visited

Then in complete a list of Place objects in Places_Features class and the following methods.

load_places (from txt file into Place objects in the list)

save_places (from place list into output list)

add_place (add a place in the place list)

input.txt

Lima,Peru,3,n
Auckland,New Zealand,1,v
Rome,Italy,12,n

Can make the main.py give the following output

Output

* Lima in Peru priority 3
* Rome in Italy priority 12
Auckland in New Zealand priority 1
3 places. You still want to visit 2 places

In: Computer Science

A red blood cell is placed into each of the following solutions. Indicate whether crenation, hemolysis,...

A red blood cell is placed into each of the following solutions. Indicate whether crenation, hemolysis, or neither will occur.

Solution A: 3.61{\rm \\%} (m/v) NaCl

Solution B: 4.16{\rm \\%} (m/v) glucose

Solution C: distilled H2O

Solution D: 7.79{\rm \\%} (m/v) glucose

Solution E: 5.0% (m/v) glucose and 0.9% (m/v) NaCl

Drag each solution to the appropriate bin.

In: Chemistry

Upriver Parts manufactures two products, V-1 and V-2, at its River Plant. Selected data for an...

Upriver Parts manufactures two products, V-1 and V-2, at its River Plant. Selected data for an average month for the two products follow.

V-1 V-2
Units produced 10,000 1,000
Direct materials cost per unit $ 2 $ 4
Machine hours per unit 1 2
Production runs per month 80 40


Production at the plant is automated and any labor cost is included in overhead. Data on manufacturing overhead at the plant follow.

Machine depreciation $ 51,000
Setup labor 24,000
Material handling 15,600
Total $ 90,600

Required:

a. Compute the unit costs for the two products V-1 and V-2 using the current costing system at Upriver (using machine hours as the allocation basis). (Do not round intermediate calculations. Round your answers to 2 decimal places.)
b. Compute the unit costs for the two products V-1 and V-2 using the proposed ABC system at Upriver. (Do not round intermediate calculations. Round your answers to 2 decimal places.)

Unit Cost

V-1 V-2

a.Using current costing system

b.Using proposed ABC system

In: Accounting

1. Prove by contraction that    L = {0^x 1^y 0^x+y | x >= 1 and...

1. Prove by contraction that

   L = {0^x 1^y 0^x+y | x >= 1 and y >=1} is not Regular.

   Must use the Pumping Lemma.

[ HINT: Describe the language in English first. Use example 3 from the lecture notes ]

a) Choose one S from L where S is longer than N

      (Describe S in terms of N and M)

      S = **??**

b) List all places v can be in S: (i.e. all possible uvw mappings)

      (Note: v has to be in the first N chars)

      v has to be where?       ?**?

c) For each possible place for v in #2 above, is there is a way to repeat/skip v to make it

        go out of the language L?

  • Where v is:                                   ?**?
  • Repeat factor: i =                      ?**?
  • What does u v^i w look like?    ?**?
  • Is u v^i w in L?                               ?**?

   Thus, there was no way to break S into uvw and repeat or skip v

     as much as we want. We found a counter example S that does not satisfy Pumping Lemma.

d) Conclusion about L:    ?**?

In: Computer Science

Describe the experiment that tests the potential benefit of mimicry (mimicking a venomous species). State the...

Describe the experiment that tests the potential benefit of mimicry (mimicking a venomous species). State the hypothesis correctly, describe the experiment, explain the results, and state the conclusion.

In: Biology

This is the code that needs to be completed... import java.util.ArrayList; import java.util.Collections; /** * Write...

This is the code that needs to be completed...

import java.util.ArrayList;
import java.util.Collections;

/**
* Write a description of class SpellChecker here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class SpellChecker
{
private ArrayList words;
private DictReader reader;
/**
* Constructor for objects of class SpellChecker
*/
public SpellChecker()
{
reader = new DictReader("words.txt");
words = reader.getDictionary();
}

/**
* This method returns the number of words in the dictionary.
* Change this.
*/

public int numberOfWords()
{
return 0;
}

/**
* This method returns true, if (and only if) the given word is found in the dictionary.
* Complete this.
*/
public boolean isKnownWord(String word)
{
return false;
}
  
/**
* This method returns true if (and only if) all words in the given wordList are found in the dictionary.

// Complete this.

*/
public boolean allKnown(ArrayList wordList)
{
return false;
}
  
/**
* This method tests the allKnown method. You do not need to change this method.
*/
public boolean testAllKnown()
{
ArrayList testWords = new ArrayList();
testWords.add("Abu");
testWords.add("Chou");
if(allKnown(testWords))
{
return true;
}
else
{
return false;
}
  
}
  
/**
* This method returns a list of all words from the dictionary that start with the given prefix.
* Complete this.
*/
public ArrayList wordsStartingWith(String prefix)
{
return null;
}
  
/**
* This method returns a list of all words from the dictionary that include the given substring.
* Complete this.
*/
public ArrayList wordsContaining(String text)
{
return null;
}
  
/**
* Insert the given word into the dictionary.
* The word should only be inserted if it does not already exist in the dictionary.
* If it does, the method does nothing.
* Make sure that the alphabetic order of the dictionary is maintained.
* Complete this.
*/
public void insert(String newWord)
{
  
}
  
/**
* Remove the given word from the dictionary.
* If the word was successfully removed, return true.
* If not (for example it did not exist) return false.
*/ Complete this.
public boolean remove(String word)
{
return false;
}
  
  
/**
* Save the dictionary to disk.
* This is not meant to be hard – there is a method in the DictReader class that you can use.
* Complete this
*/
public void save()
{
  
  
}
  
}

And this is the other class that is completed but helps run the incomplete code above.

import java.util.ArrayList;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;


/**
* Class DictReader offers functionality to load a dictionary from a file,
* and to save it back to a file.
*
* To use this class, create an instance of this class with the file name as
* a parameter. Then call 'getDictionary' to receive the dictionary object.
*
* @author M. Kolling
* @version 2006-10-24
*/
public class DictReader
{
private ArrayList dict;
private String filename;

/**
* Create a DictReader instance from a file.
*/
public DictReader(String filename)
{
loadDictionary(filename);
this.filename = filename;
}
  
/**
* Return the dictionary as a list of words.
*/
public ArrayList getDictionary()
{
return dict;
}

/**
* Accept a new dictionary and save it under the same name. Use the new
* one as our dictionary from now on.
*/
public void save(ArrayList dictionary)
{
try {
FileWriter out = new FileWriter(filename);
for(String word : dictionary) {
out.write(word);
out.write("\n");
}
out.close();
dict = dictionary;
}
catch(IOException exc) {
System.out.println("Error writing dictionary file: " + exc);
}
}

/**
* Load the dictionary from disk and store it in the 'dict' field.
*/
private void loadDictionary(String filename)
{
dict = new ArrayList();
  
try {
BufferedReader in = new BufferedReader(new FileReader(filename));
String word = in.readLine();
while(word != null) {
dict.add(word);
word = in.readLine();
}
in.close();
}
catch(IOException exc) {
System.out.println("Error reading dictionary file: " + exc);
}
}
}

In: Computer Science

For this assignment, you will use the provided database in the Unit 5 script file. You...

For this assignment, you will use the provided database in the Unit 5 script file. You will add statements to this file to query the database tables. For your reference, below is a screenshot of the enhanced entity relationship diagram (ERD) as a reference when you write your queries. With the data types listed in the diagram, this will help you identify the types of operators that you can use for particular queries.

Use paiza.io for MySQL to execute and troubleshoot your Structured Query Language (SQL) statements. It is recommended that you use Notepad to write your SQL statements. Then, copy and paste your SQL statements to paiza.io to test your statements to ensure that they execute without errors. Save your work frequently.

The asterisk (*) indicates that a column is not null (i.e., required to have a value).

  1. If you would like to see the test SQL statements, click on “Run” to see the statements execute. You should see “Hello” appear in the Output window (see the following screenshot).
  2. Because you do not require these test SQL statements for your assignment, delete the sample SQL statements. To do this, select the text, and click on the Delete key on your keyboard. Your MySQL paiza.io screen should now be blank, as you see in the following screenshot. Note that if you ran the test statements, “Hello” will still appear in the Output window.
  3. Copy and paste the code from the provided script file into the code editor, and click on “Run” (“Ctrl + Enter”). You should see no error messages displayed in the Output area at the bottom of your paiza.io screen. After you click on “Run,” you should see a green bar with “Success” at the top. You will see this circled in the following screenshot:
  4. Next, you will write 1 query to respond to each of the following questions. Note that you can only use the information that is in the question or the enhanced ERD. Write a query to do the following:
    1. Display all of the rows in the publisher table.
    2. Display all of the books in the book table that were written by the author whose author ID is 1504192.
    3. Display all of the purchases in the shopbasket that were ordered on 2020-02-29.
    4. Display the largest quantity ordered in the shopbasket.
    5. Display the authors' first and last names sorted by their last name.
    6. Display a count of the number of orders placed via the shopbasket.
    7. Display the order date and quantity of orders in the shopbasket that have a quantity of more than 25.
    8. Display the first and last names of those authors who have a null Facebook.
    9. Display all of the customers' names, city, and state if they live in GA, FL, or CA.
    10. Display the book titles of those books that were not published by Scholastic Press.
    11. Display the first and last names of the authors and the book titles. Only display those authors who wrote a book with the word database in the title.
    12. Add a multiline comment before the first CREATE TABLE statement that includes your name, the course code (ITCO231), and the date when you are submitting your assignment.
  5. Save your script file using your last name, ITCO231, U5, and the file extension .sql, as in “Smith_ITCO231_U5.sql.”
    1. Tip: When saving a Notepad file, you can change the file extension to .sql as required for the assignment by changing the “Save as type” to “All Files” and then typing the .sql extension, as shown in the example.

I didnt understand by what you mean by SQL TEST. If what you are asking me is that an SQL TEST? Yes! It is SQL QUERY TEST!!

In: Advanced Math