In: Biology
A billiard ball of mass mA = 0.400 kg moving with a speed vA,0 = 1.80 m/s strikes a second ball, initially at rest, of mass mB = 0.500 kg. As a result of the collision, the first ball is deflected off at an angle of 30.0 o with a speed vA = 1.10 m/s.
a) What is the speed vB and angle of deflection θB of ball B? Take the x axis to be the direction of motion of ball A before the collision.
b) Is the collision elastic? You must support your answer with a calculation.
In: Physics
Section I: Derivation of Hicksian Demand Curve
Joyce’s utility function is as follows:
U= 10X3Y2
Where, X, is the quantity of good X consumed, Y, is the quantity of good Y consumed and, U, is Joyce’s utility function.
The general budget constraint for the two goods is a follow:
B= PXX + PYY
Derive Joyce’s Marshallian demand equation for good X. Also compute her demand for good X when B= 500, and the price of good X is 1 and 2. Also draw the Marshallian demand curve for X at these prices.
What is Joyce’s optimal amount of good Y purchased if PY= 1 and Px=1 and if Px=2 and PY= 1?
Derive the Hicksian demand for good X at these prices. Hint, you need to choose the three correct equations you’ve derived above and solve simultaneously. Also, draw both demand curves on the same graph.
Using the information derived in parts A and B, what is the substitution effect and income effect obtained when changing the price of good x from a value of 1 to a value of 2.
In: Economics
|
Bay Area Limos operates transportation services to Bay City airport. The price of service is fixed at a flat rate for each trip and most costs of providing the service are fixed for each trip. Betty Smith, the owner, forecasts income by estimating two factors that fluctuate with the economy: the fuel cost associated with the trip and the number of customers who would take trips. Looking at next year, Betty develops the following estimates of contribution margin (price less variable costs, including fuel) for the estimated number of customers. For simplicity, she assumes that the fuel costs (therefore the contribution margin per ride) and the number of customers are independent. |
| Contribution Margin per Ride |
||
| Scenario | (Price - Variable cost) | Number of Customers |
| Excellent | $ 45 | 5,500 |
| Fair | 35 | 2,800 |
| Poor | 20 | 2,200 |
|
In addition to the costs of a ride, Betty estimates that other service costs are $42,000 plus $6 for each customer (ride) in excess of 2,800 rides. Annual administrative and marketing costs are estimated to be $20,000 plus 10 percent of the contribution margin. |
| Required: |
|
Compute the total contribution, costs and operating profit for each of the scenario and each group of customer. (Input all amounts as positive values except losses which should be indicated with a minus sign. Omit the "$" sign in your response.) |
| Contribution Margin | Number of Customers |
Total Contribution Margin |
Service Costs | Marketing & Admin. |
Operating Profit(Loss) |
||||||
| Poor | $ | 20 | 2,200 | $ | $ | $ | $ | ||||
| Fair | $ | 35 | 2,200 | $ | $ | $ | $ | ||||
| Excellent | $ | 45 | 2,200 | $ | $ | $ | $ | ||||
| Poor | $ | 20 | 2,800 | $ | $ | $ | $ | ||||
| Fair | $ | 35 | 2,800 | $ | $ | $ | $ | ||||
| Excellent | $ | 45 | 2,800 | $ | $ | $ | $ | ||||
| Poor | $ | 20 | 5,500 | $ | $ | $ | $ | ||||
| Fair | $ | 35 | 5,500 | $ | $ | $ | $ | ||||
| Excellent | $ | 45 | 5,500 | $ | $ | $ | $ | ||||
In: Accounting
Randolph runs a lemonade stand and wants to make $150 in the next week. He sells each cup of lemonade for $0.75, while the variable cost is $0.15 for the cups and ingredients. Fixed costs such as posters and signs are $15.
Calculate the following:
a. Contribution margin per unit sold
b. Contribution margin ratio
c. Breakeven point in units
d. Units to be sold to earn the targeted operating income
In: Accounting
1) Golana melons are renowned for their dark green flesh (G). However, some melons homozygous for flesh color are yellow. What would be the genotypic and phenotypic ratios if you crossed two plants with yellow-fleshed fruit? Be sure to answer both parts of the question and show your work!
2) In Vulpix, brown coat color (B) is dominant to white coat color (b). What would be the genotypic and phenotypic ratios if you crossed a heterozygous brown Vulpix with a white Vulpix. Be sure to answer both parts of the question and show your work!
In: Biology
for C++
I'm trying to write a code that asks for double values and counts how many times 2 consecutive values differ by at most 1. The output on 0 should be the answer.
With inputs 1, 1.7, 0.8, -0.1, -1, 0 : it should return 4 but keeps giving me 0. This is the correct output because only 1 and 1.7 differ by at most 1 as does 1.7 and 0.8, 0.8 and -0.1, and -0.1 and -1. We do not check whether 0 is within 1 of the previous number because 0 is the input that causes us to exit.
Why is this if every time a number differs by at least one my if statement should n++?
#include <iostream>
using namespace std;
int main ()
{
double n1, n2 = 0;
int n = 0;
cout << "Enter a number." << endl;
cin >> n1;
while (n1 != 0) {
if ((n1 - n2) > -1
&& (n1 - n2) < 1) {
n++;
n1 =
n2;
}
else {
cout
<< "Enter another number or 0 to end." << endl;
cin
>> n1;
}
}
cout << n << endl;
return 0;
}
In: Computer Science
(1) Propose a model that can explain why non-tradable goods and services are more expensive in rich countries. State carefully the assumptions of the model.
In: Economics
You are the director of international operations for North and South America for Lenovo. In 2015 you developed a five-year marketing plan to aggressively market personal computers in Canada, Mexico and Brazil. A key element of your plan called for meeting the competitive prices of HP and local manufacturers every step of the way. In addition you planned to spend heavily on marketing. Your yearly budget for marketing in the major target markets was set as follows:
Canada C$ 2,000,000
Mexico Pesos 5,000,000
Brazil Reals 1,000,000
Your 2015 price set in U.S.$ for your top selling laptop was $2,000 in each market. Market prices have declined 20% on a U.S$ basis over the years.
1. What do your marketing budgets look like in 2015 and today in US$?
2. What do the computer prices look like in local currencies in 2015 and today?
3. What actions would you plan to take in each market to fulfill your goals while
addressing current conditions? (Hint: look at the marketing expenditures and the prices together).
CURRENCY PROBLEM 2
You are the director of U.S. operations for Nissan. In 2015, you developed plans for a new sports truck model, the Nissan Minimax to be sold at $30,000. This model can be made in both the U.S. and Japan. Gross margin (meaning margin after all direct costs) is approximately 50%.
1. What is the cost of the Minimax to Nissan if it is made in
Japan vs. made in the U.S. in 2015 and 2020, assuming
no inflation?
2. What actions would you recommend to the home office in
Tokyo to address the current situation?
SPOT RATES FOR CURRENCY EXERCISE
Country Spot Rates (3-11-15) Spot Rates (3-11-20)
Canada C$ 0.7683 0.7282
Mexico pesos 0.0646 0.0474
Brazil reals 0.3315 0.2133
Japan yen 0.0083 0.0095
In: Accounting
Use the classical model for determining the long-run outcome of the economy to answer the following question. Suppose a government in debt crisis (such as Greece) moves to reduce its budget deficit by reducing the annual funding for tertiary education and healthcare drastically.
(a) Graphically illustrate the impact of such a reduction in the government's budget deficit:
i. First, by assuming that the total factor productivity (TFP) does not depend on the government spending on health and education.
ii. Second, by assuming that the TFP increases with government spending on health and education but by a limited amount. [Be sure to label: the axes; the curves; the initial equilibrium values; the direction curves shift; and the terminal equilibrium values.]
(b) State and explain in words what happens to the real interest rate, national saving, investment, consumption, and output.
(c) Discuss the likely impact of such policy on the inequality of income between the educated and uneducated labour. Support your answer with graphical illustrations.
(d) Suppose the above policy causes a sudden emigration of workers with no education to neighbouring countries for easier access to education and health facilities. Assume TFP does not decrease following the government policy shock, as in part a (i), and following the labour migration. How would your answer to (b) and (c) change?
In: Economics
Find a company that has done a good job of creating customer loyalty and outline how they have done so and what they can do to improve going forward. How have they measured customer loyalty. (Need explanation and example please).
In: Economics
Security Technology Inc. (STI) is a manufacturer of an electronic control system used in the manufacture of certain special-duty auto transmissions used primarily for police and military applications. The part sells for $48 per unit and had sales of 24,950 units in the current year, 2018. STI has no inventory on hand at the beginning of 2018 and is projecting sales of 28,850 units in 2019. STI is planning the same production level for 2019 as in 2018, 26,900 units. The variable manufacturing costs for STI are $19, and the variable selling costs are only $0.30 per unit. The fixed manufacturing costs are $215,200 per year, and the fixed selling costs are $690 per year.
Required:
1. Prepare an income statement for each year using full costing.
2. Prepare an income statement for each year using variable costing.
3. Prepare a reconciliation of the difference each year in the operating income resulting from the full and variable costing methods.
In: Accounting
The chemical transformation and its effect on compound solubility form the basis of Acid and base extraction experiment and the general technique of acid separations by solvent extraction.
a) Comment on the relative solubilities of the organic reactant and product in the diethyl ether
phase vs the aqueous phase.
b) Explain why the solubility properties of the organic starting material change upon
conversion to the product. Please be specific in your explanation (hint: your explanation
should focus on polarity and intermolecular forces).
In: Chemistry
A 1.90 mol sample of
N2 gas is confined in a
45.9 liter container at 21.5
°C.
If the amount of gas is decreased to
0.950 mol, holding the volume and temperature
constant, the pressure will decreasebecause:
Choose all that apply.
With fewer molecules in the container, the molecules have lower average speeds.
With fewer molecules per unit volume, the molecules hit the walls of the container less often.
With lower average speeds, on average the molecules hit the walls of the container with less force.
As the average speed increases, the number of molecule-wall collisions decreases.
None of the Above
A 1.52 mol sample of Xe gas is
confined in a 37.8 liter container at
29.7 °C.
If 1.52 mol of He gas is added
holding the volume and temperature constant, the average
molecular speed of the total system will
not enough information to answer the question
remain the same
decrease
increase
A mixture of methane and carbon dioxide gases, at a total pressure of 950 mm Hg, contains 3.04 grams of methane and5.24 grams of carbon dioxide. What is the partial pressure of each gas in the mixture?
PCH4 = mm
Hg
PCO2 = mm Hg
A mixture of carbon dioxide and xenon gases contains carbon dioxide at a partial pressure of 428 mm Hg and xenon at a partial pressure of 560 mm Hg. What is the mole fraction of each gas in the mixture?
XCO2 =
XXe =
A mixture of methane and carbon dioxide gases, in a 6.92 L flask at 69 °C, contains 4.57 grams of methane and 7.87grams of carbon dioxide. The partial pressure of carbon dioxide in the flask is atm and the total pressure in the flask is atm.
A mixture of carbon dioxide and xenon gases is maintained in a 8.28 L flask at a pressure of 4.00 atm and a temperature of 65 °C. If the gas mixture contains 22.8 grams of carbon dioxide, the number of grams of xenon in the mixture is g.
In: Chemistry
Programing assignment in C++
The following description has been adopted from Deitel & Deitel. One of the most popular games of chance is a dice game called "craps," which is played in casinos and back alleys throughout the world. The rules of the game are straightforward:
A player rolls two dice. Each die has six faces. These faces contain 1, 2, 3, 4, 5, and 6 spots. After the dice have come to rest, the sum of the spots on the two upward faces is calculated. If the sum is 7 or 11 on the first throw, the player wins. If the sum is 2, 3, or 12 on the first throw (called "craps"), the player loses (i.e. the "house" wins). If the sum is 4, 5, 6, 8, 9, or 10 on the first throw, then the sum becomes the player's "point." To win, you must continue rolling the dice until you "make your point." The player loses by rolling a 7 before making the point.
Write a program that implements a craps game according to the above rules. The game should allow for wagering. This means that you need to prompt that user for an initial bank balance from which wagers will be added or subtracted. Before each roll prompt the user for a wager. Once a game is lost or won, the bank balance should be adjusted. As the game progresses, print various messages to create some "chatter" such as, "Sorry, you busted!", or "Oh, you're going for broke, huh?", or "Aw cmon, take a chance!", or "You're up big, now's the time to cash in your chips!"
Use the below functions to help you get started! You may define more than the ones suggested if you wish!
|
(5 pts) void print_game_rules (void) — Prints out the rules of the game of "craps". |
|
|
(5 pts) double get_bank_balance (void) - Prompts the player for an initial bank balance from which wagering will be added or subtracted. The player entered bank balance (in dollars, i.e. $100.00) is returned. |
|
|
(5 pts) double get_wager_amount (void) - Prompts the player for a wager on a particular roll. The wager is returned. |
|
|
(5 pts) int check_wager_amount (double wager, double balance) - Checks to see if the wager is within the limits of the player's available balance. If the wager exceeds the player's allowable balance, then 0 is returned; otherwise 1 is returned. |
|
|
(5 pts) int roll_die (void) - Rolls one die. This function should randomly generate a value between 1 and 6, inclusively. Returns the value of the die. |
|
|
(5 pts) int calculate_sum_dice (int die1_value, int die2_value) - Sums together the values of the two dice and returns the result. Note: this result may become the player's point in future rolls. |
|
|
(10 pts) int is_win_loss_or_point (int sum_dice) - Determines the result of thefirstdice roll. If the sum is 7 or 11 on the roll, the player wins and 1 is returned. If the sum is 2, 3, or 12 on the first throw (called "craps"), the player loses (i.e. the "house" wins) and 0 is returned. If the sum is 4, 5, 6, 8, 9, or 10 on the first throw, then the sum becomes the player's "point" and -1 is returned. |
|
|
(10 pts) int is_point_loss_or_neither (int sum_dice, int point_value) - Determines the result of any successive roll after the first roll. If the sum of the roll is the point_value, then 1 is returned. If the sum of the roll is a 7, then 0 is returned. Otherwise, -1 is returned. |
|
|
(5 pts) double adjust_bank_balance (double bank_balance, double wager_amount, int add_or_subtract) - If add_or_subtract is 1, then the wager amount is added to the bank_balance. If add_or_subtract is 0, then the wager amount is subtracted from the bank_balance. Otherwise, the bank_balance remains the same. The bank_balance result is returned. |
|
|
(5 pts) void chatter_messages (int number_rolls, int win_loss_neither, double initial_bank_balance, double current_bank_balance) - Prints an appropriate message dependent on the number of rolls taken so far by the player, the current balance, and whether or not the player just won his roll. The parameter win_loss_neither indicates the result of the previous roll. |
|
|
(10 pts) Others? |
|
|
(20 pts) A main ( ) function that makes use of the above functions in order to play the game of craps as explained above. Note that you will most likely have a loop in your main ( ) function (or you could have another function that loops through the game play). |
Have a great time with this assignment! There is plenty of room for creativity! Note: I have not stated how you must display the game play! You may do as you wish!
1-Your project must contain one header file (a .h file), two C source files (which must be .c files), and project workspace.
In: Computer Science