Questions
Find a recent article that discusses either oligopoly and/or game theory and how it relates to...

  • Find a recent article that discusses either oligopoly and/or game theory and how it relates to a real life situation (the article should be no older than 5 years) and prepare a 1-2 page summary of the article (include in text citations and References).
  • Along with this summary, prepare 2-3 discussion questions for peers to answer

In: Economics

when you would want to use collision theory over transition state theory and when you would...

when you would want to use collision theory over transition state theory and when you would want to use transition state theory over collision theory. Provide examples for both. Use literature citations to support your information. Follow the same formatting as requested in the group project reports.

In: Chemistry

What is the relationship between motivation and emotion? Provide an example of how emotions can motivate...

What is the relationship between motivation and emotion? Provide an example of how emotions can motivate you to act in a certain way. Provide another example that illustrates how achieving something you were motivated to do (or not achieving it) provoked a particular emotion.?

(INCLUDE IN TEXT CITATIONS AND WORK CITED! MUST BE 150 WORDS)

In: Psychology

I'm generating a random number every 10 second; In arraylist I'm Storing and Updating the number...

I'm generating a random number every 10 second; In arraylist I'm Storing and Updating the number every 10 second when I generate new number. However, my goal to call the update number from arraylist in another class main method. I would apperciate any help.

//this is the class I'm generating a random number every 10 second and Storing and Updating the number in arraylist.

package com.singltondesignpattern;

import java.util.ArrayList;

import java.util.Random;

import java.util.concurrent.Executors;

import java.util.concurrent.ScheduledExecutorService;

import java.util.concurrent.TimeUnit;

public class EverySecond {

public static int genrand() {

Random number =new Random();

int rand=number.nextInt(1000);

return rand;

}

public static void getrand(int rand) {   

ArrayList <Integer> randomstorage = new ArrayList<Integer>();

randomstorage.add(rand);

System.out.println("Array value "+randomstorage);

}

public static void main(String[] args) throws Exception {

Runnable helloRunnable = new Runnable() {

public void run() {

int CurrentNum=genrand(); //create a random number

System.out.println("generate number ==== "+CurrentNum);

getrand(CurrentNum); //update it in array list

}

};

ScheduledExecutorService executor = Executors.newScheduledThreadPool(1);

executor.scheduleAtFixedRate(helloRunnable, 0, 10, TimeUnit.SECONDS);

   }

}

//this is the class I want to get the update number from the arraylist

public class getTheUpdate {

public static void main(String[] args) throws Exception {

EverySecond everySecond = new EverySecond();

everySecond.getrand(0);

}

}

In: Computer Science

The n th Triangle Problem Write a code for finding the n th triangle number of...

The n th Triangle Problem Write a code for finding the n th triangle number of triangle sequences: 1, 3, 6, 10, ..., n. That is, your code should accept an integer number, which indicates the triangle levels, and returns how many dots we need to form a triangle with respect to the given level. For example, consider the Fig 1. For n = 3 (can be also written as T3), your code should returns 6.

Provide a single program consists of the following:

• Write a function called TriangularRecursive for the recursive version that takes number of level as an int argument.

Hints:

1) Identify the base case for the TriangularRecursive function.

2) Let the TriangularRecursive function call itself, with proper arguments.

• Write a function called TriangularIterative for the non-recursive (iterative) version that takes number of level as an int argument.

• Write a main function that calls the two functions inside. You should have at least a couple of test cases included in the main function that shows the output for both functions.

After implementing the recursive and non-recursive functions, you are supposed to perform two additional tasks. The first task is to analyze both approaches as follows:

• Establish the recurrence relations for the recursive approach.

• Solve the recurrence and provide the order growth.

• Establish the sum expression for the non-recursive approach.

• Solve the sum and provide the order growth.

The second task is to plot the running time of both approaches for different input sizes (n). To do that, consider ten input size (n) values: 10, 50, 100, 200, 400, 800, 2000, 4000, 8000, 10000. For better precision, run each value ten times and take the average of all ten runs for each case.

In: Computer Science

Create a database and design an ER diagram for the given question. Must link the related...

Create a database and design an ER diagram for the given question. Must link the related tables then implement the design using MySQL.

Insert at least 5 records. Ensure that the data to be added are related to other tables.

Follow this format in creating the database and table:

Database format: databasename_yourname

Table format: tablename_yourname

QUESTION:

Company ABC has the following business rules.

  • A department employs many employees, but each employee is employed by only one department.
  • A division operates many departments
  • An employee may be assigned many projects, and a project may have many employees assigned to it.
  • Each department is identified by a department code, department name and phone number are kept in the system for every department.
  • For each division, the division name and division type (Sales, Marketing, or Research ) are kept in the system.
  • For the employee, name, contact number, address, and degree must be kept in the system.
  • For the project, project title, duration(no. of days), and status( completed, canceled, or in progress) are stored in the system.

REQUIREMENTS:

  • ERD with attributes, PK, and FK.
  • Use the "describe" command to view the structure of the tables.
  • Use the "select" command to view the contents of the tables.

In: Computer Science

Using MySQL 8.xx create a database with the following characteristics. . A. Your design MUST meet...

Using MySQL 8.xx create a database with the following characteristics. .

A. Your design MUST meet the requirements for Third Normal Form

B. Create a database (you will need multiple tables) to store employee information. This information will include:

Employee Number, First Name, Last Name, Date of birth, Address, city, state, zip, department, job title, supervisor, health insurance number, health insurance provider, dental insurance number, dental insurance provider, spouse/partner, children, children's ages.

C. Populate the table with multiple records which will cover all possible relations.

Note: Determine which fields are required and which fields are optional. Determine the correct data types and sizes for each field. Include the 'relationships' between the tables. Hint: You will need some secondary key fields to link tables together.

What to turn in:

Screen shots (only)

1. Database table metadata showing table names, column names, data types and sizes.

2. Map of relations between tables (tables with arrows between them).

3. Contents of each table with related data.

In: Computer Science

Design a database through the EER diagram to keep track of the teams and games of...

Design a database through the EER diagram to keep track of the teams and games of a sport league. Assume that the following requirements are collected (the English description of cardinal ration and partial/complete participate is NOT required, but you still need to provide the total/partial and cardino ration in your EER diagram) :

The database has a collection of TEAM. Each Team has a unique name, players, and owner.

The database also keeps the records of PLAYERS. Each player has the attributes of SSN, player_name, and team to indicate which team they belong to. PLAYERS are SPECIALIZED into either MAJOR_LEAGUE or MINOR_LEAGUE. Information captured about objects in the MAJOR_LEAGUE includes salary; Information captured about objects in the MINOR_LEAGUE includes level (such as 1A, 2A, or 3A)

GAME stores the attributes of the following: a unique game number, date, time, filed and MAJOR_LEAGUE players who participate the game. It is categorized into HOME and GUEST; Home stores the TEAM which plays in the home game and GUEST stores the team which plays as the guest TEAM. Information captured about objects in the HOME includes ticket_income. GAME also stores a calculated attribute called total_player_participate.   

In: Computer Science

Prepare the cash flow statement for the company for the year 2018 (start with NPAT) and...

Prepare the cash flow statement for the company for the year 2018 (start with NPAT) and write down your answer for each section. (Do not show the full format, just write down the balance for each section.) (Depreciation Expense for the year 2018 is 500,000 USD)

  1. Cash flow from operations: ?
  2. Cash flow from investments:?
  3. Cash flow from financing:?
  4. Cash Surplus (Deficit) :?

Z&B Company Balance Sheets (USD)

Z&B Company Income Statement for the Year 2018 (USD)

ASSETS

31.12.2017

31.12.2018

Current Assets

Cash

520.000

460.000

Net Sales

18.000.000

Accounts Receivable

480.000

490.000

Cost of Goods Sold

15.500.000

Inventories

740.000

870.000

Gross Profit

2.500.000

Fixed Assets

Tangible Fixed Assets (Net)

1.760.000

1.800.000

Operating Expenses

1.766.000

TOTAL ASSETS

   3.500.000  

   3.620.000  

Operating Profit

734.000

Non-operating Expenses

0

LIABILITIES + EQUITY

Earnings Before Interest&Taxes

734.000

Short-Term Liabilities

Interest Expense

200.000

Accounts Payable

660.000

520.000

Earnings Before Taxes

534.000

Bank Loan

550.000

1.540.000

Tax Expense (40%)

213.600

Accrued Taxes

90.000

110.000

Net Profit After Taxes

320.400

Long-Term Liabilities

Bank Loan

900.000

50.000

Owners’ Equity

Common Stocks

400.000

400.000

Retained Earnings

900.000

1.000.000

Total Liabilities

3.500.000

3.620.000

In: Finance

Garda World Security Corporation has the following shares, taken from the equity section of its balance...

Garda World Security Corporation has the following shares, taken from the equity section of its balance sheet dated December 31, 2020.

Preferred shares, $4.52 non-cumulative,
49,000 shares authorized and issued* $ 3,136,000
Common shares,
84,000 shares authorized and issued* 1,344,000

*All shares were issued during 2018.

During its first three years of operations, Garda World Security Corporation declared and paid total dividends as shown in the last column of the following schedule.

Required:

Part A
1.
Calculate the total dividends paid in each year to the preferred and to the common shareholders.

Year Preferred Dividend Common Dividend Total Dividend

2018 $164,000

2019 $404,000

2020 $564,000

Total for three years $1,132,000

2. Calculate the dividends paid per share to both the preferred and the common shares in 2020. (Round the final answers to 2 decimal places.)

Part B
1.
Calculate the total dividends paid in each year to the preferred shares and to the common shareholders assuming preferred shares are cumulative.

Year Preferred Dividend Common Dividend Total Dividend
2018 $164,000
2019 404,000
2020 564,000
Total for three years $0 $0 $1,132,000



2. Calculate the dividends paid per share to both the preferred and the common shares in 2020 assuming preferred shares are cumulative. (Round the final answers to 2 decimal places.)

In: Accounting