Enter your answer in the provided box.
At a certain temperature and total pressure of 1.2 atm, the partial pressures of an equilibrium mixture for: 2A (g) <---> B (g))
are Pa = 0.60 atm and Pb= 0.60 atm. After a disturbance, the system regains the equilibrium with a total pressure of 1.7 atm. What is the partial pressure of A at the new equilibrium?
=_____ atm
In: Chemistry
In: Economics
What kind of physical features of a neuron affects its resonant frequency? How does it respond to high/low frequency input because of its feature and how does the feature contribute to the response?
In: Psychology
Problem Description:
Problem Description:
Write a program that obtains the execution time of Selection sort, Insertion sort, Merge sort for input size 50000, 100,000, 150,000, 200,000, 250,000, and 300,000. Your program should create data randomly and print a table like this:
|
Array Size |
Selection sort |
Insertion sort |
Merge sort |
|
50000 |
|||
|
100000 |
|||
|
150000 |
|||
|
200000 |
|||
|
250000 |
|||
|
300000 |
|||
|
2000000 |
|||
|
3000000 |
|||
|
4000000 |
(Hint: You can use the code template below to obtain the execution time.)
long startTime = System.currentTimeMillis();
perform the task;
long endTime = System.currentTimeMillis();
long executionTime = endTime - startTime;
Analysis:
(Describe the problem including input and output in your own words.)
Coding: (Copy and Paste Source Code here. Format your code using Courier 10pts)
Name the public class Exercise18_29
Testing: (Describe how you test this program)
In: Computer Science
1) Which is hottest? 200 F or 200 C or 200 Kelvin
2) Convert (- 40) C to Fahrenheit .
3) What is the hottest possible temperature?
4) Thermometers are used to measure temperature. There are many different types of thermometers. One type is based on a thermocouple . Briefly describe how a thermocouple works.
5) What is the recommended temperature for inside a residential refrigerator?
In: Physics
You are encouraged to research outside sources and, of course, cite them. Do not, however, quote sources word-for-word, but rather, respond to the Discussion Forum Question in your own words.
1. Identify four reasons that capital budgeting decisions by managers are risky.
2. Why is an investment more attractive to management if it has a shorter payback period?
3. Why should managers set the required rate of return higher than the rate at which money can be borrowed when making a typical capital budgeting decision?
4. Why does the use of the
accelerated depreciation method (instead of straight line) for
income tax reporting increase an investment’s value?
After you’ve completed the questions above, please provide a brief explanation of how this information is important in managerial decision making. (500 minimum word count, references excluded)
In: Accounting
A bicycle wheel has a diameter of 63.7 cm and a mass of 1.83 kg. Assume that the wheel is a hoop with all of the mass concentrated on the outside radius. The bicycle is placed on a stationary stand and a resistive force of 125 N is applied tangent to the rim of the tire.
(a) What force must be applied by a chain passing over a 9.10 cm diameter sprocket if the wheel is to attain an acceleration of 4.47 rad/s2?__________N
(b) What force is required if the chain shifts to a 5.50 cm diameter sprocket?___________ N
In: Physics
C#
To write a program using a stack and a program using a queue.
Code a class encapsulating a queue of foods using a circular array. A food has the following attributes: name, the number of calories per serving and the number of servings per container. Limit your queue to 20 food items. In addition to writing the enqueue, dequeue, and peek methods, you will write two more methods: a method that returns the average calories per serving of all the foods in the queue; a method that returns the food items with the highest total calories (ie: number of calories per serving * servings per container). Write a program to test your queue with all these methods
In: Computer Science
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