Qd= 16,000 – 1,000P
Qs= 2,000 + 1,000P
The quantity and price are measured in tonnes and RM, respectively.
In: Economics
Consider a binomial pricing economy. There are two dates only, date 0 and 1. A European call written on the market portfolio expires on date 1; its exercise price is $100. The price of this call at date 0 is $8. The market portfolio has a price of $100 at date 0 and its future price at date 1 will be either $120 or $95, with probability 0.6 and 0.4 respectively.
a) Compute the expected returns of the call option and the market portfolio.
b) What is the risk-free rate implied by this call option and the market portfolio?
In: Finance
Question 2 [10] TRUE/FALSE QUESTIONS Consider the following list of statements. Each statement is either true or false. You must read each statement carefully and then select the option that you believe is correct as your answer. Write down only the question number and next to the number either “True” or “False”. 2.1. The level or rate of unemployment is a stock concept, that is, it is measured at a particular date. 2.2. The consumer price index (CPI) is an index of the prices of a representative “basket” of consumer goods and services. The CPI thus represents the cost of the “shopping basket” of goods and services of a typical or average South African household. 2.3. A policy in respect of the level and composition of government spending, taxation and borrowing is called fiscal policy. 2.4. When the dollar appreciates (i.e. when the rand depreciates), imports from the United States become more expensive (in rand) in South Africa and South African exports to the United States become cheaper (in dollars) in that country, ceteris paribus. This will tend to dampen imports and stimulate exports (i.e. to improve the balance on the South African current account). 2.5. The way in which changes in the monetary sector are transmitted to the rest of the economy is called the financial transmission mechanism. 2.6. Monetary and fiscal policy (sometimes collectively called supply management) can be expansionary or contractionary. 2.7. Demand-pull inflation occurs when the aggregate supply of goods and services increases while aggregate demand remains unchanged. 2.8. Frictional unemployment (sometimes also called search unemployment) arises because it takes time to find a job or to move from one job to another. 2.9. The Phillips curve was originally regarded as a clear indication that unemployment and inflation could be traded off against each other. In other words, a lower inflation rate could be achieved by trading it off against, or exchanging it, for greater unemployment. 2.10. One complete cycle has four elements: a trough, an upswing or expansion (often called a boom), a peak and a downswing or contraction (often called a recession).
In: Economics
Can someone please write me a header file in c++ using the quadratic probing hash method that will work with this program?
#include "hash.h"
#include <algorithm>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <list>
using namespace std;
const size_t KEYS_COUNT = 1000; // Number of keys to generate for testing
string random_key();
class HashCheck {
private:
size_t count;
Hash hash;
public:
HashCheck(Hash& h) { count = 0; hash = h; }
void operator() (const string key) {
if (hash[key] != ++count)
cout << "Key " << key << " does not match value " << count << endl;
}
};
int main() {
Hash hash; // Hash table for testing
list<string> keys; // Keys added to hash table
srand(time((time_t)0)); // Init RNG
// Add 1000 unique entries to the table
size_t count = 0;
while (count < KEYS_COUNT) {
string key = random_key();
if (find(keys.begin(), keys.end(), key) == keys.end()) {
//cout << key << endl; // Uncomment to see keys generated
keys.push_back(key);
hash[key] = ++count;
}
}
// Verify that all keys map to their original values
for_each(keys.begin(), keys.end(), HashCheck(hash));
#ifdef _MSC_VER
system("pause");
#endif
return 0;
}
string random_key() {
// Generate a random string of length 1 through 40
size_t len = rand() % 40 + 1;
string key;
for (size_t i = 0; i < len; i++)
key += 'a' + rand() % 26;
return key;
}In: Physics
Suppose you learn that a perfect competitor minimizes average variable economic cost when it produces 100 units per day and minimizes average total economic cost when it produces 250 units per day. The minimum average variable cost is $30 and the minimum average total cost is $50. Presume that the firm maximizes profit. Sketch the cost curves and use the sketch to help you answer the questions.
1a) When the market price is $35, in the long run
the number of firms in the market decreases and the market price decreases
the number of firms in the market decreases and the market price increases
the number of firms in the market increases and the market price decreases
the number of firms in the market increases and the market price increases
the number of firms and market price remain constant
1b) When the market price is $35 the firm maximizes profit by
shutting down in the short run
producing between 0 and 100 units per day
producing 100 units per day
producing between 100 and 250 units per day
producing 250 units per day
producing more than 250 units per day
1c) When the market price is $35 the firm
suffers an economic loss in the short run
earns a positive economic profit in the short run
earns a normal rate of return in the short run
In: Economics
Your boss formed a new company for making pre-stressed concrete structures for bridge segments. She expects to have an 85% learning curve, and the first 100 structures took 220 labor hours. Construct a table showing the estimated labor hours by 100 units constructed needed to construct the first 1,000 pre-stressed concrete structures. Include columns for cumulative total and cumulative average in your table.
In: Accounting
Read the following case and give your response to the questions after the case. The client is a married woman in her late 30s, with 3 children who are approaching their teens. She has been in weekly therapy for 6 months. She is struggling to decide whether to remain with her husband, whom she feels is boring, uninvolved with their children, complacent, and overly wrapped up in his work. She has urged him to join her in marriage counseling or try some form of therapy for himself. He maintains that he is "fine" and that she is the one with the problems. She tells you (the counselor) that she would divorce him immediately if it wasn’t for the kids and that when the children finish school, she will surely leave him. Right now she is ambivalent, however, she cannot decide whether she wants to accept the security that she now has (along with the deadness of her relationship with her husband) or whether she is willing to give up this security and risk being stuck with less than she now has. She has been contemplating having an affair so that someone other than her husband can meet her physical and emotional needs. She is also exploring the possibility of finding a job so that she will be less dependent upon her husband. By getting a job, she could have outside opportunities for personal satisfaction and still remain in her marriage by deciding to accept what she has with him. Consider the following 3 questions and decide what value judgements can be made, both by the client and you as counselor.
1). One of her reasons for staying married is for the sake of the children. What if you (as the counselor) accept this value and believe that she should not challenge her marriage, because children need both parents? Might she be using the children as an excuse not to get out? What if your judgement is that she would be better off divorcing? What do your beliefs about divorce, marriage, and children have to do with her possible decisions.
In: Psychology
Suppose you think Apple stock is going to appreciate substantially in value in the next year. Say the stock’s current price, S0, is $200, and a call option expiring in one year has an exercise price, X, of $200 and is selling at a price, C, of $20. With $20,000 to invest, you are considering three alternatives.
a. Invest all $20,000 in the stock, buying 100 shares.
b. Invest all $20,000 in 1,000 options (10 contracts).
c. Buy 100 options (one contract) for $2,000, and invest the remaining $18,000 in a money market fund paying 5% in interest over 6 months (10% per year).
What is your rate of return for each alternative for the
following four stock prices in 6 months? (Leave no cells
blank - be certain to enter "0" wherever required. Negative amounts
should be indicated by a minus sign. Round the "Percentage return
of your portfolio (Bills + 100 options)" answers to 2 decimal
places.)
The total value of your portfolio in six months for each of the following stock prices is:
|
|||||||||||||||||||||||||
In: Finance
The table below shows the consumer price index of a country from 2008 to 2017.
|
YEAR |
CONSUMER PRICE INDEX (2017 = 100) |
|
2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 |
88.9 93.1 96.4 100.0 103.4 107.0 109.9 95.8 98.5 100.0 |
(a) Calculate the rate of inflation from year 2009 to 2017.
(10)
(b) Illustrate the rate of inflation using an appropriate graph.
(5)
(c) State the year with the highest rate of inflation.
(2)
C = 500 + 0.5Yd T = 100 G = 100
I = 100 X = 100 M = 50 + 0.2Y
In: Economics
A husband and wife, Mike and Lori, share a digital music player that has a feature that randomly selects which song to play. Lori claims that Mike loaded more songs than she did. Suppose that when the player was in the random-selection mode, 33 of the first 50 songs selected were songs loaded by Mike. Lori and Mike then construct a 95% confidence interval for the proportion of songs loaded by Mike. The 95% confidence interval is (0.529, 0.791)
1. Interpret a 95% percent confidence interval for the proportion of songs on the player that were loaded by Mike.
2. The confidence interval (0.529, 0.791) can be referred to as a range of plausible values. For what is this the range of plausible values?
3. When we say we have constructed a 95% confidence interval, what do we expect happens 95% of the time?
4. If Mike and Lori calculated a 99% confidence interval instead of a 95% confidence interval with the same sample (33 out of 50 songs belong to Mike), what effect would the change in confidence level have on the confidence interval?
Please provide thorough explanations.
In: Statistics and Probability