Horizon Inc. sells prepaid telephone cards to customers. Horizon then pays the telecommunications company, V-Mobile, for the actual use of its telephone lines related to the prepaid telephone cards. Assume that Horizon sells $6,000 of prepaid cards in January 2020. It then pays V-Mobile based on usage, which turns out to be 60% in February and 40% in March. The total payment by Horizon for V-Mobile lines over the 2 months is $4,000.
A. Prepare the journal entries necessary for January and February
B. Compute the revenue, costs and net income Horizon will report in January, February, and March
In: Accounting
in C++ Write a program to compute the current and the power dissipation in an AC circuit that has four resistors R1, R2, R3, and R4 in parallel. The voltage source is V. Test your solution with various voltage levels and resistor values. Execute and submit the program and the results in screen captures. Please note that the equivalent resistor is given by 1/Rtotal = 1/R1 + 1/R2 + 1/R3 + 1/R4 and the current I is given by I = V/Rtotal. The Power dissipation is given by P = V x I
B) Repeat the problem above when the resistors are connected in series.
In: Computer Science
Discuss the development of the Federal court system and show how John Marshall played a key role in its development and contributed to strengthening and defining "federalism" in the United States by examining his significant rulings: Madison v. Marbury, McCulloch v. Maryland, Dartmouth College v. Woodward, and Gibbons vs. Ogen.
Discuss the democratic revolution that was to culminate during the presidency of Andrew Jackson. Also discuss his contributions to the development of the federal government and demonstrate his view of the presidency by using Jackson's attack on the Second Bank of the United States. Also discuss the sectional divisions that began to emerge in the "Age of Jackson".
In: Economics
Write a program in c++ to do the following : (1) Declare an array a of size 10 and three pointer variables p, q, and v. (2) Write a loop to fill array a with values 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 (3) write following statement: p= &a[2]; q = &a[5]; i = *q - *p; cout<<“The value of i is”<< i; i = *p - *q; cout<<“The value of i is %d”<< i; 4) assign address of a to v. 5) write a loop to print values of array a using pointer variable v
In: Computer Science
Compare the language generated by Grammar #2 to the language generated by Grammar #1. How do the two languages compare to each other? (Is one language a proper subset of the other? Does each language contain a string that the other one does not? Do both grammars generate the very same language?)
grammar #1 where S is the start symbol
S → tV | iC | iV | i
C → tV
V → iC | iV | i
Grammar #2 where S is the start symbol
S → W
W → YW | Y
Y → CV | V
C → t
V → i
In: Computer Science
A survey of 13,364 students in a country who enrolled in private career colleges was conducted to understand student participation in the private postsecondary educational system. In one part of the survey, students were asked about their field of study and about when they entered college. Here are the results.
| Field of Study |
Number of Students |
Time of Entry | ||
|---|---|---|---|---|
| Right After High School | Later | |||
| Trades | 942 | 34% | 66% | |
| Design | 584 | 47% | 53% | |
| Health | 5085 | 40% | 60% | |
| Media/IT | 3148 | 31% | 69% | |
| Service | 1350 | 36% | 64% | |
| Other | 2255 | 52% | 48% | |
In this table, the second column gives the number of students in
each field of study. The next two columns give the marginal
distribution of time of entry for each field of study.
The survey also asked about how these college students paid for
their education. A major source of funding was government loans.
Here are the survey percents of private students in the country who
use government loans to finance their education by field of
study.
| Field of Study | Number of Students | Percent Using Government Loans |
|---|---|---|
| Trades | 942 | 45% |
| Design | 589 | 53% |
| Health | 5234 | 55% |
| Media/IT | 3248 | 55% |
| Service | 1378 | 60% |
| Other | 2320 | 47% |
(a) Construct the 6 ✕ 2 table of counts for this exercise.
| Using Government Loans | ||||
|---|---|---|---|---|
| Field of Study | Yes | No | ||
| Trades | ||||
| Design | ||||
| Health | ||||
| Media/IT | ||||
| Service | ||||
| Other | ||||
(b) Test the null hypothesis that the percent of students using
government loans to finance their education does not vary with
field of study. Be sure to provide all the details of your
significance test. (Use α = 0.01.)
State the null and alternative hypotheses.
Null Hypothesis:
H0: There is an association between field of study and number of students.
H0: There is an association between field of study and taking government loans.
H0: There is an association between number of students and taking government loans.
H0: There is not an association between field of study and number of students.
H0: There is not an association between field of study and taking government loans.
Alternative Hypothesis:
Ha: There is an association between field of study and number of students.
Ha: There is an association between field of study and taking government loans.
Ha: There is an association between number of students and taking government loans.
Ha: There is not an association between field of study and number of students.
Ha: There is not an association between field of study and taking government loans.
State the χ2 statistic, degrees of freedom, and
the P-value. (Round your answer for χ2
to one decimal place and your P-value to four decimal
places.)
| χ2 | = | |
| df | = | |
| P | = |
(c) Summarize your analysis and conclusions.
We have sufficient evidence to conclude that there is an association between field of study and number of students.
We have sufficient evidence to conclude that there is an association between field of study and taking government loans.
We have sufficient evidence to conclude that there is an association between number of students and taking government loans.
We do not have sufficient evidence to conclude that there is an association between field of study and number of students.
We do not have sufficient evidence to conclude that there is an association between field of study and taking government loans.
(d) The number of students reported in this exercise is not the
same as the number reported in the first table. Suggest a possible
reason for this difference.
In: Statistics and Probability
Given the following information
Ag+(aq) + e- ↔ Ag(s) Eºred = 0.799 V
Ag2CrO4(s) + 2e- ↔ 2Ag(s) + CrO42-(aq) Eºred = 0.450 V
Determine the equilibrium constant at 25 °C for the reaction below:
Ag2CrO4(s) ↔ 2Ag+(aq) + CrO42-(aq)
| 1. |
9 × 10-18 |
|
| 2. |
1.6 × 10-12 |
|
| 3. |
1.2 × 10-6 |
|
| 4. |
1.6 × 1015 |
|
| 5. |
1.7 × 1039 |
Examine the following half reactions and select the strongest oxidizing agent among the species listed.
Cr2+(aq) + 2e- ↔ Cr(s) Eºred = -0.913 V
Sr2+(aq) + 2e- ↔ Sr(s) Eºred = -2.89 V
Fe2+(aq) + 2e- ↔ Fe(s) Eºred = -0.447 V
Co2+(aq) + 2e- ↔ Co(s) Eºred = -0.28 V
| 1. |
Cr2+(aq) |
|
| 2. |
Fe(s) |
|
| 3. |
Fe2+(aq) |
|
| 4. |
Sr2+(aq) |
|
| 5. |
Co2+(aq) |
2 points
QUESTION 5
Which of the changes below will increase the voltage of the following cell?
Co | Co2+ (0.010M) || H+ (0.010 M) | H2(0.50 atm) | Pt
| 1. |
Increase the pressure of H2 from 0.50 atm to 1.0 atm |
|
| 2. |
Increase the concentration of H+ from 0.010 to 0.050 M. |
|
| 3. |
Increase the mass of Co electrode from 12 grams to 15 g. |
|
| 4. |
Increase the concentration of Co2+ from 0.010 M to 0.40 M. |
In: Chemistry
1. How will the equivalence point volume change if you titrate the two solutions in question 2? What is the pH of the equivalence point of the two solutions if you titrate with 0.3 M NaOH?
Note: You do not need to answer question 2 in order to do
question 3.
The two solutions that question #3 refers to are:
(1) a 10-mL vinegar solution that has a concentration of 5%
(w/v%)
(2) a 10-mL vinegar solution that has a concentration of 5% (w/v%)
together with 30mL of water
Each one of these solutions is then titrated separately with the NaOH solution. Ka for acetic acid is listed in question #1 ii. Calculate the amount (in mL) of a 1.520M NaOH that is required to add the following acetic acid solutions to prepare a buffer with the corresponding pH: pKa of acetic acid = 4.74
1. 30.00mL of a 5.00% (w/v%) acetic acid; the resulting acetate
buffer has a pH of 5.75
2. 50.00mL of a 5.00% (w/v%) acetic acid; the resulting acetate
buffer has a pH of 4.98
3. 40.00mL of a 5.00% (w/v%) acetic acid; the resulting acetate
buffer has a pH of 4.33
Hint: Set up an equilibrium table for a reaction between acetic acid and NaOH (similar to the examples that we did in lectures). However, in this case, the mole of NaOH in the equilibrium table is a function of volume (i.e. MNaOH.V) and it will be the limiting reagent in the equilibrium table. You will then use the Henderson-Hasselbalch equation to determine the volume of NaOH (i.e. V) that is required to prepare the specific acetate buffer solution at the corresponding pH.
In: Chemistry
Ebola virus is a virus that is frequently and rapidly lethal in humans. The envelopes around particles of Ebola virus are studded with a viral glycoprotein (GP). Researchers hypothesized that, to enter a human cell, GP molecules must be cleaved by a protease enzyme, after which they bind with a protein called NPC1 in the human cell membrane. Reptile cells do not normally express the NPC1 protein, but the researchers modified some reptile cells to express NPC1. They then exposed the unmodified and modified cells to Ebola virus, both in the presence of a protease inhibitor that prevents GP cleavage, and without that inhibitor present. They then measured the frequency at which Ebola viruses infected the cells. These treatments are summarized below. I. Unmodified reptile cells, protease inhibitor absent II. Unmodified reptile cells, protease inhibitor present III. Modified reptile cells, protease inhibitor absent IV. Modified reptile cells, protease inhibitor present V. Unmodified human cells, protease inhibitor absent Of the following, which is a correct reason for including group V? :
(A) If the virus cannot enter group V but can enter group III, it shows that GP cleavage is not necessary for infection.
(B) If the virus can enter group V but cannot enter group IV, it shows that NPC1 is necessary for infection.
(C) If the virus can enter group V but cannot enter groups I, II, III, or IV, it shows that both GP cleavage and NPC1 are necessary for infection.
(D) Group V is a positive control.
In: Biology
Modify the original code and add an additional function of your choice. The function should be unique and something you created for this assignment. Support your experimentation with screen captures of executing the new code. Prepare a test table with at least 3 distinct test cases listing input and expected output for your unique function.
#include <stdio.h>
void printHelp () {
printf ("\n");
printf ("a: a(x) = x*x\n");
printf ("b: b(x) = x*x*x\n");
printf ("c: c(x) = x^2 + 2*x + 7\n");
printf ("q: quit\n");
}
void a(float x) {
float v = x*x;
printf (" a(%.2f) = %.2f^2 = %.2f\n", x, x, v);
} // end function a
void b(float x) {
float v = x*x*x;
printf (" b(%.2f) = %.2f^3 = %.2f\n", x, x, v);
} // end function b
void c(float x) {
float v = x*x + 2*x + 7;
printf (" c(%.2f) = %.2f^2 + 2*%.2f + 7 = %.2f\n",
x, x, x, v);
} // end function c
int menu () {
char selection;
float x;
printHelp ();
scanf ("%s", &selection);
if (selection == 'q') return 1;
scanf ("%f", &x);
if (selection == 'a') a(x);
if (selection == 'b') b(x);
if (selection == 'c') c(x);
return 0;
} // end function menu
int main() {
while (menu() == 0);
printf ("... bye ...\n");
return 0;
} // end main
In: Computer Science