Category Archives: Research Papers

bubble sort

/* Bubble sort code */

#include <stdio.h>

int main()
{
int array[100], n, c, d, swap;

printf(“Enter number of elements\n“);
scanf(“%d”, &n);

printf(“Enter %d integers\n“, n);

for (c = 0; c < n; c++)
scanf(“%d”, &array[c]);

for (c = 0 ; c < n – 1; c++)
{
for (d = 0 ; d < n – c – 1; d++)
{
if (array[d] > array[d+1]) /* For decreasing order use ‘<‘ instead of ‘>’ */
{
swap = array[d];
array[d] = array[d+1];
array[d+1] = swap;
}
}
}

printf(“Sorted list in ascending order:\n“);

for (c = 0; c < n; c++)
printf(“%d\n“, array[c]);

 

return 0;

Greendale Stadium Case

The G&E Company is preparing a bid to build the new 47,000 seat Greendale baseball stadium.

The construction must start July 1, 2011 and be completed in time for the start of the 2014 season. A penalty clause of $100,000 per day of delay beyond May 20, 2014, is written into the contract. Ben Keith, the president of the company, expressed optimism at obtaining the contract and revealed that the company could net as much as $2 million on the project. He also said if they are successful, the prospects for future projects are quite good since there is a projected renaissance in building classic ball parks with modern luxury boxes.

Further details

The baseball stadium is an outdoor structure with a retractable roof. The project begins with clearing the site, an activity that lasts 70 days. Once the site is clear, work can start simultaneously on the structure itself and demolishing an adjacent building site. This demolition is necessary to create a construction stage for storing materials and equipment. It will take 30 days to demolish the buildings and another 70 days to set up the construction site.

The work on the stadium begins by driving 160 support pilings, which will take 120 days. Next comes the pouring of the lower concrete bowl (120 days). Once this is done and the construction site has been set up, then the pouring of the main concourse (120 days), the installation of the playing field (90 days), and the construction of the upper steel bowl can occur (120 days).

 

Once the concourse and upper bowl are completed, work can start simultaneously on building the luxury boxes (90 days), installing the seats (140 days), installing the jumbotron (30 days), and installing stadium infrastructure (120 days) which includes: bathrooms, lockers, restaurants, etc. Once the seats are installed then the steel canopy can be constructed (75 days) followed by the installation of the lights (30 days).

 

The retractable roof represents the most significant technical challenge to the project. Building the roof track supports (90 days) can begin after the lower concrete bowl is constructed. At this time the dimensions of the roof can be finalized and the construction of the roof at a separate site can begin (180 days). After the roof supports are completed then the roof tracks can be installed (90 days). Once the tracks and the roof are completed then the roof can be installed and made operational (90 days). Once all activities are completed it will take 20 days to inspect the stadium.

 

For purposes of this case assume the following:

  1. The following holidays are observed: January 1, Memorial Day (last Monday in May), July 4th, Labour Day (first Monday in September), Thanksgiving Day (4th Thursday in November), December 25 and 26.
  2. If a holiday falls on a Saturday, then Friday will be given as an extra day off, and if it falls on a Sunday then Monday will be given as a day off.
  3. The construction crew work Monday through Friday.

 

Required:

Given the information provided in the table below,

  1. Construct a network schedule (diagram) for the stadium project 2. Will the project be able to be completed by the May 20 deadline?
  2. How long will it take?
  3. What is the critical path for the project?
  4. Based on the schedule would you recommend that G&E pursue this contract?
  5. Give reasons for your recommendation in 4.
  6. Present a one-page Gantt chart for the stadium schedule. Hint: Use Microsoft project or Excel.

 

ID  Activity                         Duration                       Predecessor(s)
1  Baseball Stadium    
2 Clear stadium site 70 days
3 Demolish building 30 days 2
4 Set up construction site 70 days 3
5 Drive support piling 120 days 2
6 Pour lower concrete bowl 120 days 5
7 Pour main concourse 120 days 3,6
8 Install playing field 90 days 3,6

theatre production

describe and evaluate all of the components of the production that impact and contribute to the audience’s experience of the play including:directorial/creative choices,
cast performances,
and technical and design elements.

economic


1. Consider the following strategic interaction which is in a class of games referred to as Cournot duopolies.
Assume there are two competing firms (A and B) who must simultaneously choose their output levels qa
and qb, respectively, such that qi ∈ [0, ∞). Assume the marginal cost c = 12. Let demand be a function
of the total quantity sold Q, such that Q = qa+qb. The price can then be written as p(Q) = 120−qa−qb.
Each firms payoffs are their profits πi
, which are given by the price times its quantity minus its costs:
πa = qa ∗ (120 − qa − qb) − cqa
πb = qb ∗ (120 − qa − qb) − cqb
(a) Identify each players’ best response function.
(b) Solve for the Nash equilibrium (q

a
, q∗
b
).
(c) What is the price in equilibrium?
Next, allow firm A to choose their quantity of production qa ∈ [0, ∞) first, followed by firm B choosing
their quantity of production qb ∈ [0, ∞) after observing A’s choice. As before, assume marginal costs
are constant at c = 12 and define Q = qa + qb, p(Q) = 120 − qa − qb, and the payoff functions (profits)
the same as before.
(d) Solve for the Nash equilibrium of this new game that incorporates sequential moves.
(e) How has the market priced changed by moving from a simultaneous to sequential move game? Are
either, both, or neither players made better off? Explain your answer.
2. Consider the following static game of complete information that involves the simultaneous contribution
of two players to some joint endeavor. In this case, we will assume the task can only be accomplished if
both players exert the costly effort. They are better off when they both exert effort and perform the task
than they are if neither exerts effort (and nothing is accomplished). However, the worst case scenario
for each person is that they exert effort and the other player does not – in which case they have paid
the cost of exerting effort, but nothing is accomplished. Payoffs for this game are given in the following
table. Assume that c reflects the cost of exerting effort, such that 0 < c < 1.
2
no effort effort
1
no effort 0 , 0 0 , -c
effort -c , 0 1 – c, 1 – c
(a) Identify any pure strategy Nash equilibria of this game.
(b) Identify any mixed strategy Nash equilibria of this game.
(c) Plot the best response functions for both players and clearly label all equilibria you identified in
parts (a) and (b).
3. Consider the following two player extensive form game of complete information. In the first stage, player
1 can choose whether to take a hostage or not. If they do not take a hostage, the game ends. If they do
take a hostage, player 2 has a choice of whether to pay the ransom or not. Then, player 1 has a choice
of whether to continue to hold the hostage or release the hostage, regardless of whether the ransom was
paid or not. The game and associated payoffs are provided in the following game tree.
1
1 1
2
3
5
4
1
5
3
x
2
y
4
(a) Assume x = 1 and y = 2. What is the unique subgame perfect Nash equilibrium of the game?
(b) Assume x = 2 and y = 1. What is the unique subgame perfect Nash equilibrium of the game?
(c) How do the values of x and y affect player 1’s decision to take a hostage? According to this simple
model, what is something that would lead to fewer hostages being taken?
4. Consider the following two-person normal form game in which players can choose to cooperate (C) or
defect (D). Assuming both α > 0 and β > 0, demonstrate the conditions under which Grim Trigger
constitutes a subgame perfect equilibrium of the infinitely repeated game. For the purposes of this
question, you can assume that each player will always be willing to carry out the punishment strategy
of the game — that is, you need only check whether given a history in which both players have always
cooperated, whether (or under what conditions) they will each continue to cooperate.
2
C

Python code easy game design

import random
choices = [“Rock”, “Paper”, “Scissors”]
computer = random.choice(choices)
player = False
cpu_score = 0
player_score = 0
while True:
player = input(“Rock, Paper or Scissors?”).capitalize()
## Conditions of Rock,Paper and Scissors
if player == computer:
print(“Tie!”)
elif player == “Rock”:
if computer == “Paper”:
print(“You lose!”, computer, “covers”, player)
cpu_score+=1
else:
print(“You win!”, player, “smashes”, computer)
player_score+=1
elif player == “Paper”:
if computer == “Scissors”:
print(“You lose!”, computer, “cut”, player)
cpu_score+=1
else:
print(“You win!”, player, “covers”, computer)
player_score+=1
elif player == “Scissors”:
if computer == “Rock”:
print(“You lose…”, computer, “smashes”, player)
cpu_score+=1
else:
print(“You win!”, player, “cut”, computer)
player_score+=1
elif player==’End’:
print(“Final Scores:”)
print(f”CPU:{cpu_score}”)
print(f”Plaer:{player_score}”)
break

computer science

Begin the virtual lab on using Microsoft Access. The deliverable will be an Access database file.

Also submit any supporting documents such as Excel spreadsheets.

1. When deciding whether how to acquire an IT technology, it is useful to look at the total cost of ownership. a. Research the topic of total cost of ownership with respect to acquiring IT for a corporation: a software application that will require supporting hardware. Be sure to include citations to the sources that you use in your answer.

Consider three alternatives:

i. the local build option, buying hardware and custom development of the necessary software (either in-house or contract); ii. commercial-off-the-shelf solution, buying hardware and a commercial application; or

iii. subscribing to a Cloud service. Identify the factors in each scenario that must be considered as part of the total cost of ownership, both initial and on-going costs, and direct and indirect costs.

b. Other than total cost of ownership, what other factors do you think must be considered when deciding between the three options above?

2. Take the set of use cases you developed in the Module 2 virtual lab on UML use case and activity diagrams. From these use case, develop a list of system functional requirements like that for the library in the sequence of videos in Georgia Tech: Software Development Process. Add nonfunctional requirements to your list. From your requirements, following the analysis in Georgia Tech: Software Development Process, develop a high-level class diagram. You can use Visual Paradigm to draw the class diagrams.

3. One software development metric is lines of code (LOC) or source lines of code (SLOC). Research this topic and answer the questions below. Be sure to include citations of the sources that you use in your answer. a. How is the LOC or SLOC metric used in the software development process? That is, what does SLOC tell you about software that is being developed? b. How “accurate” is the LOC or SLOC metric? What factors affect the metric? c. Find estimates for LOC for some popular application

King’s Conceptual System Theory

  • Discuss and explain King’s Conceptual System Theory.
  • First explain the 3 systems and provide examples of each system
  • Explain how the systems influence goal attainment
  • How could King’s theory help define a clinical quality problem?
  • Apply this theory to a potential practice quality improvement initiative within your clinical practice.
  • How could a quality committee align outcomes with King’s Conceptual System Theory?
  • What additional nursing theory from our readings could also align with an improved quality of practice initiative?

CONSTITUTIONAL AMENDMENTS AND THE CRIMINAL JUSTICE PROCESS

The U.S. Constitution affords citizens various rights and freedoms. These include freedom of religion, freedom from unreasonable search and seizures, and the right to equal justice. As upholders of the Constitution, police officers swear an oath to uphold people’s Constitutional rights as they perform their duties to prevent, reduce, and address criminal activities.

Of the 27 amendments to the U.S. Constitution, four amendments in particular pertain to the criminal justice process:

  • The Fourth Amendment prevents unreasonable searches and seizures.
  • The Fifth Amendment affords people various rights in criminal and civil proceedings. Examples include the right to a grand jury and due process. It also allows people to protect themselves from self-incrimination, and it prohibits double jeopardy
  • The Sixth Amendment guarantees various rights to criminal defendants, such as the right to a speedy trial, a lawyer, and an impartial jury. It also guarantees defendants the right to know who their accusers are and the nature of the charges and evidence against them.
  • The Eighth Amendment prohibits the federal government from imposing excessive bail, excessive fines, or cruel and unusual punishments.

In this assignment, you will be asked to:

  • Explain the meaning and importance of these four amendments.
  • Illustrate with an example how the amendment applies to a player and a step in the criminal justice process.
  • Illustrate with an example, from case law or contemporary articles, of how the amendment applies to the particular player and step in the criminal justice process.

Global finance Module 4 Learning Resources

Required Resources

Please read through all required readings, PowerPoints and links and watch the posted videos.

Open Course

All sections below are provided from Boundless Finance by Lumin Links to an external site.. Please read all sections under each heading:

  • Introduction to the Cost of Capital
  • Capital Budgeting
  • The Role of Risk in Capital Budgeting

All sections below are provided from Interest Rates in Financial Analysis and Valuation by Ahmad Nazri Wahidudin, PhD. Please read all sections under each heading:

  • Chapter 5: Cost of Capital, pages 76-83 (NOTE:  sections in chapter 5 are listed in book as being sections for chapter 4 – this is a publisher’s error.  Please follow the page numbers.)
  • Chapter 6: Capital Budgeting, pages 84-93

All sections below are provided from Strategic Financial Management by R.A. Hill Links to an external site.. Please read all sections under each heading:

  • Chapter 2: Capital Budgeting under Times of Certainty, pages 31-42
  • Chapter 3: Capital Budgeting and the Case for NPV, pages 43-53
  • Chapter 7: Capital Gearing and the Cost of Capital, pages 91-100

Article

Weighted Average Cost of Capital | Formula | Calculate WACCLinks to an external site.

Weighted Average Cost of Capital (WACC)Links to an external site.

Supplemental Resources

Slides

Boundless Finance by Lumin Power Points

Introduction to the Cost of CapitalDownload Introduction to the Cost of Capital

Capital BudgetingDownload Capital Budgeting

The Role of Risk in Capital Budgeting

 

strategy implementation

A business organization should have effective strategic control over the business and the people who help run the business; the employees and the shareholder, as it is good for the organization, and it helps maintain balance. Any business organization that does not follow the right strategy as implemented by the organization might fall into a catastrophe in the business sector. Dave Symons is a businessman with an excellent strategy for running his merchandise business, he ran with his cultural strategy from 1999 to 2001, within this time frame, the business went bad in the year 2000 as there were lost assets and more loss of money in that same year. White Rose thrived after such a huge loss in the year 2000, Dave Symons started implementing new strategies for 2001 like as offering customers a quality amount of live nursery products, lawn and garden supplies, crafts, and Christmas merchandise at affordable prices in easy-to-locate stores, this improved their market value and their sales. Although sales were shaky during this period, White Rose managed to still keep up a successful number for the value in the market as there were still sales ongoing. During White Rose’s fiscal year in 2001, the organization ran at a high advantage because the plants; the pricing and margin strategy were implemented and successfully attained with the use of vertical integration, White Rose successfully found a means of supplying many plants that were rare to third-party suppliers, White Rose was able to accomplish a vast process of quality control, White Rose even got to the point of executing 24 hours delivery or 48 hours delivery of out-door plants to stores which successfully improved their sales, White Rose management was finally in the place of controlling the inventory levels which managed to minimize any inventory stock-outs and which also minimized any losses if there was restocking, White Rose plants were tagged beforehand with prices and species information where it helped in smoothening out the handling and maximize sales, and White Rose was able to test and make supplies of the new variety of plants and roses because of the farms, and some of these plants were only to be found at White Rose.

These were the advantages that the farm provided White Rose as a business. These were the advantages that White Rose could maintain while suffering another hit in the year 2001, and while entering the Fiscal year of 2002, Dave Symons thought it was the best idea to implement another strategy for the firm by bringing a new board of members which was meant to create some sort of strength for the firm, and also decided to expand the management team by dividing the management team into specific areas in the firm; operations, merchandise, information systems, and finance, this expansion did not need any addition of payroll expenses that may have been caused by the reconstruction of the many departments in the firm. White Rose also decided to improve the supervisory skills that were achieved at the firm, the main goal for the year 2002 was to make the standards of the firm in the aspect of training the employees in customer service and job evaluation for the improvement of the firm’s management strategy. In summary, Dave Symons’ had a brand new improvement strategy for the business, and unfortunately, the plans failed yet again in the year 2002, and this time it was worse than the previous times. White Rose was run without any specific or formal strategic planning which is supposed to be ideal for any business seeking success. From the year 1999 to 2002, White Rose was run differently every year; for every year, there was a new strategy, which cannot work if a firm or business has plans on seeing financial success in its market value.

However, in order for White Rose to succeed, there are several methods and/or strategies that could be used in order to achieve financial success for this firm. With the use of McKinsey’s 7S Framework, White Rose would thrive on financial success and become more prepared for the damages they faced in these years, rather than taking another hit and loss. McKinsey’s 7S are: strategy, structure, systems, style, staff, skills, and shared values. White Rose consistently changed strategy for business every year, Dave hardly stuck to one strategy in order to direct the success of the firm, and because of that, the structure of the firm was poor, and so were the systems, because they all kept changing every one-year interval.

There was no specific style to run this business since the strategy always changed every year, the staffing for White Rose failed in the year 2002 because they made new implementations and added new people on board and these staff didn’t seem to share the same value as the previous and current staff. If White Rose implements the 7S Framework in their business plans for White Rose, they would be able to cut down losses and have some financial success for the year, and it seemed like Dave Symons always made short-term strategies food each year; the strategy for the year 1999 is different from that of 2002, and that is why they need this Framework in order to find the balance between discipline and success.

 

 

 

 

Powered by WordPress