In the late 1970s, there was a major controversy over a dam built by the Tennessee Valley Authority called the Tellico Dam, which is located near the mouth of the Little Tennessee River. After construction was completed and almost all of the land purchases (or evictions) had been done, the Supreme Court ruled that it could not go on because of the presence in the Little Tennessee of a fish on the endangered species list called the Snail Darter. (Congress later voted to exempt the dam from the law and the dam was closed in the late fall of 1979, creating Tellico Lake.) While the economic benefits of the dam were admittedly dubious, one of the common arguments for completing the project was this: "We have spent more than $100 million to build this dam. We need to complete it because we will have wasted all this money otherwise." Please evaluate this argument from an economic point of view.
In: Economics
The purpose of this question is to practice the pthread built in functions.
The following c program is a simple program to make a matrix of integers and print it.
//File name: a.c
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
int** a;
int main(){
time_t t;
int m, n, i, j; //m is the numbers of rows and n is the number of columns.
printf("Enter the number of rows, and columns: ");
scanf("%d%d", &m, &n);
printf("%d, %d\n", m, n);
srand((unsigned) time(&t));
a=(int**) malloc(m*sizeof(int*));
for(j = 0; j < n; j++)
a[j] = (int*) malloc(n * sizeof(int*));
for(i = 0; i < m; i++)
for(j = 0; j < n; j++)
a[i][j] = rand() % 1000;
for(i = 0; i < m; i++){
for(j = 0; j < n; j++)
printf("%d,", a[i][j]);
printf("\n");
}
return 0;
}
Your project uses pthread built-in functions based on the following conditions:
1. The program reads from the console the number of rows and the number of columns (like the above program). Therefore, the matrix has m rows and n columns.
2. The program creates m threads.
3. Each thread assigns random numbers to one row of the matrix.
4. The function main, sorts each row.
5. Each thread displays its sorted row.
6. The function: main displays the entire matrix.
Answer: ?
In: Computer Science
A petrochemical plant was built by a river. To verify whether the plant was contributing to pollution of the river water with benzo(a)pyrene, two sets of data were obtained by analyzing water samples from upstream ( mean conc. = 0.95ppb; n=5; s=0.05 ppb) and downstream (mean conc.= 1.10 ppb; n=6; s=0.08ppb) with respect to the plant. Based on this data, one would reach this conclusion at a 95% confidence level as to whether the plant is making significant contribution of benzo(a)pyrene pollution of the river water.
A) The contribution is significant.
B) The contribution is not.
C) More data is needed to reach a conclusion
D) none of the above
C) 1.18 x 10^-12 mol/L
D) None of the above
In: Statistics and Probability
The active management industry is built on the notion that in exchange for paying a fee to active managers (say 1% of your investment), you can earn an excess return by investing with them. Explain what an excess return is, how it is measured, and discuss which form or forms of the efficient market hypothesis you must believe in (and why) in order for it to make sense to invest with an active manager.
In: Finance
The purpose of this project is to practice the pthread built in functions.
The following c program is a simple program to make a matrix of integers and print it.
//File name: a.c
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
int** a;
int main(){
time_t t;
int m, n, i, j; //m is the numbers of rows and n is the number of columns.
printf("Enter the number of rows, and columns: ");
scanf("%d%d", &m, &n);
printf("%d, %d\n", m, n);
srand((unsigned) time(&t));
a=(int**) malloc(m*sizeof(int*));
for(j = 0; j < n; j++)
a[j] = (int*) malloc(n * sizeof(int*));
for(i = 0; i < m; i++)
for(j = 0; j < n; j++)
a[i][j] = rand() % 1000;
for(i = 0; i < m; i++){
for(j = 0; j < n; j++)
printf("%d,", a[i][j]);
printf("\n");
}
return 0;
}
Your project uses pthread built-in functions based on the following conditions:
1. The program reads from the console the number of rows and the number of columns (like the above program). Therefore, the matrix has m rows and n columns.
2. The program creates m threads.
3. Each thread assigns random numbers to one row of the matrix.
4. The function main, sorts each row.
5. Each thread displays its sorted row.
6. The function: main displays the entire matrix.
Answer:
In: Computer Science
This unit will introduce you to the multitude of factors in the built environment that play a role in physical activity behavior. The environments in which we live work and play have varying levels of support for physical activity. This unit will help you to understand both barriers and facilitators to physical activity participation within the built environment and think about how we can have a positive impact on the spaces in which we commonly spend time.
Discuss:
1. The article "The Role of the Built Environments in Physical Activity, Obesity, and CVD" presents as ecological model of four domains of physical activity. The push is to create multi-level, multi-sector approaches to physical activity promotion. Describe a physical activity intervention/program you are aware of. Describe it and then share what domains, levels, and sectors of the ecological model it reached and which it didn't reach. Is there evidence to show this intervention/program was successful/unsuccessful? What do you know about its effectiveness? Are there things that you believe would improve it and help it be more impactful? Describe, support, and discuss.
2. In the Robert Wood Johnson Research Brief on Physical Activity and the Built Environment, it discusses how car-reliance has increased and individuals walking to work has decreased. Find information to support why this shift has occurred and if there are successful approaches out there to increase active transportation. Pretend you were just hired by the SDSU wellness center to increase active transportation within the SDSU community. Based on the research you found on the topic, what would we need to do in the SDSU campus community to decrease the number of students who drive to class and increase the number who walk/ride a bike to class? Support your idea with evidence based information. Mark Fenton will get you thinking about factors to consider as a starting point in his videos.
In: Psychology
Use the Rejection Method to generate n = 1000 values for a random variable X distributed as Exponential (lambda=5). Create a density histogram for your generated values and superimpose the probability density function of the target distribution to the histogram. Use the generated values to estimate the mean, standard deviation, and the probability that X < 2. Compare them with the theoretic values which are 0.2, 0.2, and 0.97725, respectively. Report the rejection rate. Write in R code
In: Statistics and Probability
Hooper Chemical Company, a major chemical firm that uses such
raw materials as carbon and petroleum as part of its production
process, is examining a plastics firm to add to its operations.
Before the acquisition, the normal expected outcomes for the firm
were as follows:
| Outcomes ($ millions) |
Probability | |||||
| Recession | $ | 20 | 0.2 | |||
| Normal economy | 30 | 0.2 | ||||
| Strong economy | 50 | 0.6 | ||||
Compute the expected value, standard deviation, and coefficient of variation prior to the acquisition.
In: Finance
| Refer to the following table | |||||||||
| Construct an equal-weighted (50/50) portfolio of Investments A and B. What is the expected rate of | |||||||||
| return and standard deviation of the portfolio? Explain your results. | |||||||||
| State | Probability | A | B | AB |
| Very poor | 0.1 | -10% | -25% | -17.5% |
| Poor | 0.2 | 0% | -5% | -2.5% |
| Average | 0.4 | 10% | 15% | 12.5% |
| Good | 0.2 | 20% | 35% | 27.5% |
| Very good | 0.1 | 30% | 55% | 42.5% |
In: Finance
The Bartram-Pulley Company (BPC) must decide between two mutually exclusive investment projects. Each project costs $6,750 and has an expected life of 3 years. Annual net cash flows from each project begin 1 year after the initial investment is made and have the following probability distributions:
| PROJECT A | PROJECT B | ||
| Probability | Net Cash Flows |
Probability | Net Cash Flows |
| 0.2 | $6,000 | 0.2 | $ 0 |
| 0.6 | 6,750 | 0.6 | 6,750 |
| 0.2 | 8,000 | 0.2 | 17,000 |
BPC has decided to evaluate the riskier project at a 12% rate and the less risky project at a 9% rate.
| Project A | Project B | |
| Net cash flow | $ | $ |
| σ (to the nearest whole number) | CV (to 2 decimal places) | |
| Project A | $ | |
| Project B | $ |
| Project A | $ | |
| Project B | $ |
In: Accounting