Discuss some of the main ideas and theories that expanded the body of knowledge on Trade Theory over the period 1920 to 1995.
In: Economics
Study the data in the table below and answer questions. The two regions are the two provinces of a small country
(a) What is the national Income for 1999?
(b) What is the real capita income for 1999?
(c) Which region indicates the biggest economic growth for the last three years? Motivate your answer
| Region A | Region B | |||
| 1995 | 1999 | 1995 | 1999 | |
| Population (millions) | 4 | 5 | 5 | 7 |
| Per Capita income | R200 | R240 | R150 | R190 |
| Price Index | 100 | 125 | 100 | 115 |
In: Economics
1. It has been suggested that global warming may increase the frequency of hurricanes. The table given below shows the number of major Atlantic hurricanes recorded annually before and after 1990.
| before 1995 | after 1995 | |||
| year | # of storms | year | # of storms | |
| 1976 | 2 | 1996 | 6 | |
| 1977 | 1 | 1997 | 1 | |
| 1978 | 2 | 1998 | 3 | |
| 1979 | 2 | 1999 | 5 | |
| 1980 | 2 | 2000 | 3 | |
| 1981 | 3 | 2001 | 4 | |
| 1982 | 1 | 2002 | 2 | |
| 1983 | 1 | 2003 | 3 | |
| 1984 | 1 | 2004 | 6 | |
| 1985 | 3 | 2005 | 7 | |
| 1986 | 0 | 2006 | 2 | |
| 1987 | 1 | 2007 | 2 | |
| 1988 | 3 | 2008 | 5 | |
| 1989 | 2 | 2009 | 2 | |
| 1990 | 1 | 2010 | 5 | |
| 1991 | 2 | 2011 | 4 | |
| 1992 | 1 | 2012 | 2 | |
| 1993 | 1 | 2013 | 0 | |
| 1994 | 0 | 2014 | 2 | |
| 1995 | 5 | 2015 | 2 | |
Does this data is sufficient enough to claim that the number of annual hurricanes increased since 1995? Do the test at 8% significance level. To do the test, answer the following: a. Write down the null and alternative hypotheses. b. Get the excel output and answer the following: i. Fill the cell with the p-value of the test with green color ii. Fill the cell with the test statistic of the test with yellow color
In: Statistics and Probability
Using the demographic information in the table below, consider the following scenario: A teacher chooses a student to dim the lights and a student to shut the door. If a student may do both jobs, determine the following probabilities.
| Total number of students in the class | 50 |
| Number of Boys | 35 |
| Number of girls | 15 |
| Number of freshman | 22 |
| Number of sophomores | 13 |
| Number of juniors | 9 |
| Number of seniors | 6 |
| Number of education majors | 7 |
| Number of non-education majors | 43 |
a. P(Both are girls)
b. P(one is a girl and one is a boy)
c. P(at least one is a boy)
i. Find the probability using cases
ii. Next, calculate the probability using the complement rule.
d. P (The door closer is a boy)
e. P(neither are seniors)
e. Neither are seniors?
f. Neither are education majors?
In: Statistics and Probability
A boy standing on the ground close to a building throws a ball vertically upward. From his measurements of the maximum height, y-max, to which the ball rises and the time required to reach this height, the boy calculates that the average velocity of the ball on its way up is 20 m/s. Five seconds after leaving the boys hand, the ball is caught by a girl who has stretched her arm out of a window some distance above the boy. You may use -9.8 m/s^2 for the value of g.
a. What is the velocity of the ball immediately after its release?
b. How high does the ball rise; i.e., what is the value of y-max?
c. At what height, y, above the point of release is the ball caught?
d. What is the velocity of the ball immediately before being caught
In: Physics
At an angle of 36.5deg with the horizontal, a ladder, with mass (m = 100.0 kg) rests on a frictionless wall and on the ground with a friction coefficient (μS).
a) What is the minimum value of the ladder-ground static friction coefficient if the ladder’s center of mass is located at a distance, 1/3 of its total length?
b) A boy, with mass (m = 45.0 kg), uses the ladder to retrieve a bag of 5 basketballs, each with mass (m = 0.625kg), that rests on the top of the wall. If the boy must return safely to the ground, what is the new static friction coefficient required?
c) What is the %DIFF in static friction coefficients between parts a) and b)?
d) What is the %DIFF in the magnitude of the force delivered by the wall between parts a) and b)?
e) If the boy travels at a constant velocity during his round trip travel to retrieve the ball, what is the total work done by gravity?
In: Physics
Toy Story Factory hires six workers to produce toys in the three divisions: “Toddle Toy”, “Girl Toy” and “Boy Toy”. The major decision is the allocation of the workers among the three divisions, so as to maximize the amount of toy produced. The following table shows the amount (unit) of toys that will be produced in a division as a function of the number of workers deployed in the corresponding division. For instance, when 2 workers are sent to the Boy Toy division, a total of 66 units of toy will be produced there.
|
[Number of Workers] |
[Toddle Toy] |
[Girl Toy] |
[Boy Toy] |
|
1 |
26 |
41 |
49 |
|
2 |
45 |
49 |
68 |
|
3 |
60 |
62 |
82 |
|
4 |
72 |
69 |
91 |
|
5 |
80 |
74 |
101 |
|
6 |
85 |
77 |
106 |
If the factory wants to maximize the amount of toy produced, the
maximum output will be [Answer] units of toys in
total. (Integer, please.)
In: Accounting
If you have downloaded the source code from this book's companion web site, you will find the following files in the Chapter 07 folder: • GirlNames.txt--This file contains a list of the 200 most popular names given to girls born in the United States from the year 2000 through 2009. • BoyNames.txt--This file contains a list of the 200 most popular names given to boys born in the United States from the year 2000 through 2009. Write a program that reads the contents of the two files into two separate lists, allows a user to input either a girl's name, a boy's name, or both, then tells the user whether the name(s) was/were popular between 2000 and 2009. First, the program should prompt the user to choose a girl's name, a boy's name, or both by entering either 'girl', 'boy', or 'both.' Once they have chosen, they should be able to input a name. If the name was a popular name, like Jacob or Sophia, the program should print "Jacob was a popular boy's name between 2000 and 2009." or "Sophia was a popular girl's name between 2000 and 2009." If the name was not a popular name, like Voldemort, the program should print "Voldemort was not a popular boy's name between 2000 and 2009." If the user chooses to input both a girl and boy's name, ask for the boy's name, then the girl's name, and print two statements in the form mentioned above on two separate lines, with the statement about the boy's name coming first. For example, if the user inputs Voldemort and then Sophia, print: Voldemort was not a popular boy's name between 2000 and 2009. Sophia was a popular girl's name between 2000 and 2009.
My code is working perfectly on boy and girl but it only reads that a name was not popular for boy and girl when running both.
def searchBoyName(boysList, name): #Searching for given boy name in list if name in boysList: #If found print("\n " + str(name) + " was a popular boy's name between 2000 and 2009. \n"); else: #If not found print("\n " + str(name) + " was not a popular boy's name between 2000 and 2009. \n"); def searchGirlName(girlsList, name): #Searching for given girl name in list if name in girlsList: #If found print("\n " + str(name) + " was a popular girl's name between 2000 and 2009. \n"); else: #If not found print("\n " + str(name) + " was not a popular girl's name between 2000 and 2009. \n"); def main(): #Reading data from files boysList = open("BoyNames.txt", "r"); girlsList = open("GirlNames.txt", "r"); #Initializing lists boyNames = []; girlNames = []; #Adding boys names for name in boysList: name = name.strip(); boyNames.append(name); #Adding girls names for name in girlsList: name = name.strip(); girlNames.append(name); #Accepting input from user type = input("\n Enter 'boy', 'girl', or 'both':"); #Searching for boy name if type == "boy": # Reading boy name bname = input("\n\n Input a boy name: "); # Searching searchBoyName(boyNames, bname) #Searching for girl name elif type == "girl": #Reading girl name gname = input("\n\n Input a girl name: "); #Searching searchGirlName(girlNames, gname); #Searching for both elif type == "both": #Searching for given boy name in list bname = input("\n\n Input a boy name: "); #Reading girl name gname = input("\n\n Input a girl name: "); if bname in boysList: #If found print("\n " + str(bname) + " was a popular boy's name between 2000 and 2009. \n"); elif bname not in boysList: #If not found print("\n " + str(bname) + " was not a popular boy's name between 2000 and 2009. \n"); #Searching for given girl name in list if gname in girlsList: #If found print("\n " + str(gname) + " was a popular girl's name between 2000 and 2009. \n"); elif gname not in girlsList: #If not found print("\n " + str(gname) + " was not a popular girl's name between 2000 and 2009. \n"); else: print("\n Invalid selection.... \n"); #Calling main function main();
In: Computer Science
In: Economics
1. Forum Discussion: Select ONE of the following prompts and write a 200-250 word essay.
A. Graphic
Design
Graphic Design is an ever-growing occupation. All businesses use
graphic designers, whether "in-house" or subcontractors from firms
specializing in the industry. Business cards, logos, letterheads,
etc. are used on a daily basis to communicate with others and
advertise business. Look at some of the products around you--soap,
beverages, fast food items, clothing. Each has a specific logo that
you recognize. Pepsi has a circular object that vaguely resembles a
yin/yang symbol. White Castle burgers are small and square with a
castle as their logo.
Observe the items you consume each day. When you purchase the items
how do you identify them in a store? What if the label had been
changed, would you still recognize it?
Over time, most logos have changed; however, the changes have been
so gradual you probably didn't notice. Select one product and write
a 200-250 word essay about the history of its logo. How has it
changed throughout time? Has the packaging also changed? How did
the changes meet the needs of consumers? Did the newer designs
appeal to consumers? Be sure to include images of the logo as it
changed, and identify your sources.
In: Computer Science