Byzantine Generals Problem and Solutions
Based on the proposed solutions use any code you want to demonstrate one of the solutions.
Include documentation describing your code
include comments in your code describing each step
In: Computer Science
All of these problems involve preparation and use of a vaccine solution that contains an active agent in an aqueous solution. The active agent in the vaccine degrades in aqueous solutions with first-order kinetics. The half-life of the active agent in water 25o C is 8.4 hours. The vaccine should be administered at a concentration of at least 20 μg/L to be fully effective.
1. Calculate the rate constant, k1, at 25o C. Be sure to include the units.
2. Suppose a stock solution of the vaccine with a concentration of 25 μg/L is prepared in a clinic at 8:30 am. The clinic plans to store this solution at 25o C and use it for all of the patients that are seen for morning appointments between 9:00 am – 12:00 noon. Is this a good practice? Justify your answer. Will the vaccine be effective for all of these patients? If not, at what time will the concentration of the active agent fall below the effective level?
3. The half-life of the active agent is measured at 4o C and found to be 11.5 hours. What is the activation energy for the degradation reaction?
4. A stock solution of the vaccine is prepared at 8:30 am and stored in a refrigerator at 4o C. It will be used for all of the patients with morning appointments between 9:00 am – 12:00 noon. However, the last patient of the morning was delayed and did not arrive until 12:30 pm. What is the concentration of the active agent in the stock solution at that time? Can the vaccine still be used?
In: Chemistry
Consider the following: C= 116 + 0.8 (Y - T) - 1000r
I= 140 - 2000r G= 165 T= 30 + 0.25Y
EX= 100; IM= 110 + 0.2Y
L= 5Y - 100000r M= 60000 P= 100 rrr= 0.2
IS: Y = 1/0.6 (387 - 3000r) Y = 645 - 5000r
LM: Y = 1/5 (600 + 100000r) Y = 120 + 20000r
a) If G increases by 30, is it an expansionary, or a contractionary (pick one) fiscal policy? By how much does the IS and LM curves shift and by how much does Y change?
How much is the crowding out effect? Is the budget balanced? If Fed monetizes the additional budget deficit to eliminate crowding out, do they need to buy bonds, or sell bonds?
b) If the Fed purchases securities worth of 2500; is it an expansionary, or a contractionary (pick one) monetary policy? If there is no leakage of excess reserves, then by how much does it change the money supply? By how much do the IS and LM curves shift and by how much does Y change?
In: Economics
0.80 grams of KHP is titrated with 20 mL of the unknown NaOH solution. What is the molarity of the NaOH solution in mol/mL?
In: Chemistry
We have discussed three methods of horizontal gene transfer. Correctly match the method with its name.
|
|
In: Biology
Investigation B, The Braun Electroscope
The Braun electroscope consists of a metal disc at the upper end of a metal rod insulated from the case of the instrument. The rod supports a light metal vane free to rotate about a horizontal axis. When the electroscope is charged the vane swings from its normal vertical position to a near equilibrium position. The angle it makes with the vertical is proportional to the charge of the electroscope.
1 A. Ground the electroscope by touching the disc.
B. Bring a negatively charged rod near the disc of the electroscope.
C. Remove the rod.
2 A. Ground the electroscope.
B. Bring a negatively charged rod near the disc of the electroscope.
C. Touch the rod to the disc. This is charging by contact.
D. Remove the rod.
3 A. Charge the electroscope as in 7, by contact.
B. Bring the negatively charged rod to within 5 cm. of the disc of the electroscope.
C. Bring the negatively charged rod as close to the disc as possible without a spark jumping from the rod to the disc.
D. Remove the rod.
4 A. Charge the electroscope as in 7, by contact.
B. Bring a positively charged rod to within about 5cm. of the disc of the electroscope.
C. Bring a positively charged rod as close to the disc of the electroscope as possible without a spark jumping from the rod
D. Remove the rod.
5 A. Ground the electroscope.
B. Bring a negatively charged rod near the disc of the electroscope.
C. keeping the rod near the disc, ground the telescope.
D. Keeping the rod near the disc, removes the grounding connection.
E. Remove the rod. The electroscope has been charged by induction.
6 A. Charge the electroscope by induction as 10 observing carefully the charging distance between rod and disc when the electroscope is grounded.
B. Bring a negatively charged rod near the disc. Draw diagrams for the following cases:
1) Rod beyond the charging distance.
2) Rod at charging distance.
3) Rod inside the charging distance.
C. Remove the rod.
7 A. Charge the electroscope by induction as in 10.
B. Bring a positively charged rod near the electroscope.
C. Remove the rod.
Note: the experiments above might be repeated, replacing a positive with a negative rod and a negative with a positive rod. In all cases the charge distribution would be opposite to that for the above experiments.
8. Charge the electroscope positively by induction. Record the electroscope positively by induction. Record the effect of bringing the hand near the knob of the electroscope.
Charge the electroscope negatively by induction. Record the effect of bringing the hand near the electroscope. Diagrams need not be drawn for this part.
I have no idea about this lab report!!~
The prof reuqire us to explain which situation !~~ Please
help
In: Physics
Direct Labor Variances
The following data relate to labor cost for production of 7,200 cellular telephones:
| Actual: | 4,840 hrs. at $12.8 | |
| Standard: | 4,760 hrs. at $13.1 |
a. Determine the direct labor rate variance, direct labor time variance, and total direct labor cost variance. Enter a favorable variance as a negative number using a minus sign and an unfavorable variance as a positive number.
| Rate variance | $ | |
| Time variance | $ | |
| Total direct labor cost variance | $ |
b. The employees may have been less-experienced or poorly trained, thereby resulting in a labor rate than planned. The lower level of experience or training may have resulted in efficient performance. Thus, the actual time required was than standard.
In: Accounting
**C++ only, standard library.
We are supposed to create a tower of hanoi program and do a sequence of 100 disks. We are supposed to run the program and then answer two questions:
1) How long does your computer take to run(time)?
2) If I could move 1 disk per second how long would it take?
Here is my program so far:
void towerOfHanoi(int numDisks, char from_rod, char to_rod, char
aux_rod)
{
int count=0;
if (numDisks == 1)
{
//cout << "Move disk 1 from rod " << from_rod
<<
// " to rod " << to_rod<<endl;
return;
}
towerOfHanoi(numDisks - 1, from_rod, aux_rod, to_rod);
//cout << "Move disk " << numDisks << " from
rod " << from_rod <<
//" to rod " << to_rod << endl;
towerOfHanoi(numDisks - 1, aux_rod, to_rod, from_rod);
}
// Driver code
int main()
{
int numDisks; // Number of disks
cout<<"This program solves the Hanoi Tower
puzzle"<<endl<<endl;
cout<<"Enter the number of disks to calculate: ";
cin>>numDisks;
towerOfHanoi(numDisks, 'A', 'C', 'B'); // A, B and C are names of
rods
return 0;
}
In: Computer Science
The pKa of the α-carboxyl group of phenylalanine is 1.83, and the pKa of its α-amino group is is 9.13. Calculate the average net charge on phenylalanine if it is in a solution that has a pH of 8.20 (If the charge is positive, you do not need to enter a \" \" sign.)
In: Chemistry
On June 1, 2008, Coltec Industry purchased $503,000, 11% bonds, with interest payable on January 1 and July 1, for $366,844, INCLUDING accrued interest. The bonds mature on October 1, 2017. Amortization is recorded using the straight-line method and the bonds are classified as available-for-sale. On December 31, 2011, the bonds were adjusted to their proper carrying value when their fair value was $374,897. The fair market value of the bonds on December 31, 2010 was $436,050. What is the NET INCOME or LOSS recorded on the Income Statement of Coltec Industry for 2011 solely as a result of these bonds? Note: Accrue interest and amortize premium/discount on a monthly basis. Round your answer to the nearest whole dollar. If NET INCOME results, enter your answer as a positive number. If NET LOSS results, place a minus sign '-' prior to the amount of the loss.
In: Accounting
What code would I add to the following program to have it print out the runtime each time the program is used?
def moveTower(n, source, dest, temp):
if n == 1:
print("Move disk from", source, "to", dest+".")
else:
moveTower(n-1, source, temp, dest)
moveTower(1, source, dest, temp)
moveTower(n-1, temp, dest, source)
def hanoi(n):
moveTower(n, "A", "C", "B")
def main():
print("Towers of Hanoi")
n = int(input("How many disks? "))
moveTower(n, "A", "C", "B")
if __name__ == '__main__': main()
In: Computer Science
How do you think eMarketing should fit into the overall marketing picture?
And How do some businesses put a value on CRM (customer relationship management) for their organizations?
Thanks in advance!!
In: Operations Management
Tami Tyler opened Tami’s Creations, Inc., a small manufacturing company, at the beginning of the year. Getting the company through its first quarter of operations placed a considerable strain on Ms. Tyler’s personal finances. The following income statement for the first quarter was prepared by a friend who has just completed a course in managerial accounting at State University. Tami’s Creations, Inc. Income Statement For the Quarter Ended March 31 Sales (28,700 units) $ 1,148,000 Variable expenses: Variable cost of goods sold $ 444,850 Variable selling and administrative 195,160 640,010 Contribution margin 507,990 Fixed expenses: Fixed manufacturing overhead 253,600 Fixed selling and administrative 266,390 519,990 Net operating loss $ ( 12,000) Ms. Tyler is discouraged over the loss shown for the quarter, particularly because she had planned to use the statement as support for a bank loan. Another friend, a CPA, insists that the company should be using absorption costing rather than variable costing and argues that if absorption costing had been used the company probably would have reported at least some profit for the quarter. At this point, Ms. Tyler is manufacturing only one product—a swimsuit. Production and cost data relating to the swimsuit for the first quarter follow: Units produced 31,700 Units sold 28,700 Variable costs per unit: Direct materials $ 7.40 Direct labor $ 6.40 Variable manufacturing overhead $ 1.70 Variable selling and administrative $ 6.80 Required: 1. Complete the following: a. Compute the unit product cost under absorption costing. b. What is the company’s absorption costing net operating income (loss) for the quarter? c. Reconcile the variable and absorption costing net operating income (loss) figures. 3. During the second quarter of operations, the company again produced 31,700 units but sold 34,700 units. (Assume no change in total fixed costs.) a. What is the company’s variable costing net operating income (loss) for the second quarter? b. What is the company’s absorption costing net operating income (loss) for the second quarter? c. Reconcile the variable costing and absorption costing net operating incomes for the second quarter. Garrison 16e Rechecks 2017-05-04, 2017-12-06, 2018-08-21 rev: 03_26_2019_QC_CS-163919
In: Accounting
find how many times a letter appear in a string for
example yellowstone letter l appear two times
(using python)
In: Computer Science
Consider an object sliding down a frictionless incline.
1. Would you expect the object to move at a constant velocity or would you expect the object to accelerate as it moves down the incline?
2. If the angle of inclination increased, would you expect your answer to the previous question to change? If not, why not? If so, why and how?
3. How could you experimentally show that the velocity changed as the object slid down the incline? What measurements would you have to make and how could you make them?
In: Physics