1) A circle of radius r has area A = π r2. If a random circle has a radius that is evenly distributed in the interval (0, 1), what are the mean and variance of the area of the circle?
choose the correct answer
A) 1/3 and 1/12
B) Pi/3 and 1/12
C) Pi/3 and 1/5
D) Pi/3 and (4/45)*Pi^2
In: Statistics and Probability
In: Mechanical Engineering
what is the type 1 error of an x bar chart with 1 - sigma control limits?
what is the type 1 error of an x bar chart with 2 - sigma control limits?
what is the type 1 error of an x bar chart with 3 - sigma control limits?
what is the type 1 error of an x bar chart with 4 - sigma control limits?
In: Statistics and Probability
1)Find the equation for output F as a sum of minterms:
| Inputs A, B, C | Output F |
| 000 | 1 |
| 001 | 0 |
| 010 | 0 |
| 011 | 0 |
| 100 | 1 |
| 101 | 1 |
| 110 | 0 |
| 111 | 1 |
2)Find the equation for output F in sum of product form:
3)Find the equation for output F as a product of sums:
4
In: Computer Science
In Java: The n^th Harmonic number is
the sum of the reciprocals of the first n natural
numbers:
H(n) = 1+ 1/2 + 1/3 +1/4 +... +1/n
Write a recursive method and an accompanying main method to compute the n^th Harmonic number.
I have tried but get a blank and would really apreciate a fully explained code.
In: Computer Science
JAVA / I KNOW THERE IS MORE THAN ONE QUESTION BUT THEY ARE SO EASY FO YOU I NEED YOUR HELP PLEASE HELP ME. I WILL GIVE UPVOTE AND GOOD COMMENT THANK YOU SO MUCH !!!
QUESTION 1
Consider the following program segment:
int i = 2;
int n = 18;
while (i < n)
{
if ((i % 2) == 0)
i++;
else
n--;
}
System.out.println( i );
What is the value of n when the above program segment is done executing?
| A. |
n is: 18. |
|
| B. |
n is: 3. |
|
| C. |
Infinite Loop. i will not change. |
|
| D. |
No Output. |
QUESTION 2
Consider the following program segment:
int i = 2;
int n = 18;
while (i < n)
{
if ((i % 2) == 0)
i++;
else
n--;
}
System.out.println( i );
What is the output of the above program segment?
| A. |
There is no output. |
|
| B. |
The output is 2. |
|
| C. |
The output is 18. |
|
| D. |
The output is 3. |
QUESTION 3
Consider the following program segment:
int i = 1;
int n = 10;
while (i < n)
{
if ((i % 2) != 0)
i++;
}
System.out.println ( i );
And what are the values of i and n after execution?
| A. |
i will be 11. n will be 10. |
|
| B. |
i will be 11. n will be 1. |
|
| C. |
Infinite Loop: i is stuck at 2 and n stays at 10. |
|
| D. |
No Output |
QUESTION 4
Consider the following section of code:
int i = 1;
int j = 3;
while (i < 15 && j < 20)
{
i++;
j += 2;
}
System.out.println (i + j);
And what are the values of i and j after execution?
| A. |
i = 10, j = 21 |
|
| B. |
i = 11, j = 22 |
|
| C. |
i = 15, j = 20 |
|
| D. |
i = 16, j = 21 |
QUESTION 5
Consider the following section of code:
int i = 1;
int j = 3;
while (i < 15 && j < 20)
{
i++;
j += 2;
}
System.out.println (i + j);
What is the output of the above program segment?
| A. |
The output will be 31. |
|
| B. |
The output will be 33. |
|
| C. |
The output will be 34. |
|
| D. |
The output will be 35. |
QUESTION 6
Consider the following section of code:
int x = 10;
do
{
System.out.println( x );
x -= 3;
}
while (x > 0);
And what is the value of x after execution?
| A. |
The value of x after loop is done = -1. |
|
| B. |
The value of x after loop is done = -2. |
|
| C. |
The value of x after loop is done = 1. |
|
| D. |
The value of x after loop is done = 2. |
QUESTION 7
Consider the following section of code:
int x = 10;
do
{
System.out.println( x );
x -= 3;
}
while (x > 0);
What is the output of the following program segment?
| A. |
-2 |
|
| B. |
10 9 8 7 6 5 4 3 2 1 |
|
| C. |
1 4 7 10 |
|
| D. |
10 7 4 1 |
QUESTION 8
Consider the following section of code:
int i = 1;
int n = 0;
while (i <= n)
{
System.out.print( i );
i++;
}
And what are the values of i and n after execution?
| A. |
i = 1 and n = 0. |
|
| B. |
i = 2 and n = 0. |
|
| C. |
i = 0 and n = 0. |
|
| D. |
i = -1 and n = 0. |
QUESTION 9
Consider the following section of code:
int i = 1;
int n = 0;
while (i <= n)
{
System.out.print( i );
i++;
}
What is the output of the following program segment?
| A. |
1, 2, 3, ... |
|
| B. |
1 |
|
| C. |
0 |
|
| D. |
No output. |
In: Computer Science
1. Suppose the exchange rate between US$ and Euro, US$ and Japanese Yen are:
1 US$ = 2 Euro; 1 US$ = 100 Yen.
Suppose the interest rates published by central banks in the U.S., Euro zone, and Japan are 2%, 3%, and 4%, respectively;
And, suppose the inflation rates in the U.S., Eurozone, and Japan are 1%, 2%, and 1%,
respectively. Therefore, (calculation formula is optional)
Q1.1: How much Yen can 1 Euro exchange for?
Answer1.1:
Q1.2: What is the real interest rate for the US, Euro zone, and Japan, respectively?
Answer1.2:
US=
Euro zone=
Japan=
Q1.3: (True/False) A person with 2 Euro can convert the money into Yen and save it in Japanese banks for one year, and get 103 Yen back.
Answer1.3:
In: Economics
Independent Sample T Test (Student Height)
Open College Student Data
Research Question: Is there a significant difference between genders on average student height?
Record the following:
1)What test will you run to answer this research question? Why?
2)Is Assumption One: Equal Variances met? How do you know?
3)Is Assumption Two: Normality met? How do you know?
4)Is Assumption Three: Independency met? How do you know?
5)What are the means? (Male and Female)
6)Answer the research question. How do you know?
7)Which gender is statistically taller? How do you know?
8)Is there an effect size (Cohen’s D)? If so what is it? How did you arrive at the effect size? Is it small, medium, large or very large? How do you know?
DATA SET
height gender (1 - male, 2 - female)
67.00 2
72.00 1
61.00 2
71.00 1
65.00 2
67.00 1
69.00 1
75.00 1
62.00 2
61.00 2
64.00 2
64.00 1
70.00 1
63.00 2
64.00 2
63.00 2
65.00 2
71.00 1
72.00 1
68.00 2
75.00 1
67.00 2
69.00 1
67.00 1
64.00 2
64.00 2
70.00 1
64.00 1
70.00 1
72.00 1
64.00 2
71.00 1
67.00 2
63.00 2
69.00 1
68.00 1
64.00 2
70.00 1
71.00 1
72.00 1
60.00 2
65.00 2
72.00 1
63.00 2
75.00 1
71.00 1
65.00 2
69.00 1
63.00 2
67.00 2
In: Math
On April 1, Year 1, Marshall Company purchased a used delivery truck paying $23,000 cash and signing a Note Payable for the $14,000 for the remainder of the purchase cost. The Note Payable's interest rate was 6% and has a due date of April 1, Year 2. On the note's due date, Marshall must pay off the principal and the interest.
On April 1, Year 4, after using the truck for three years, the firm spent $4,500 on the truck. 40% of this amount was to repaint the truck to make its appearance like when purchased and the remainder was to install some navigation system to enable more efficient deliveries.
Marshall's fiscal year ends on December 31.
Q: On April 2, Year 4, what amount would appear in the PPE account as the cost basis of this truck?
Q: How much Interest Expense would appear in Marshall's income statement for the year ended December 31, Year 1?
Q: How much Interest Expense would appear in Marshall's income state for the year ended December 31, Year 2?
In: Accounting
1.) Frey Co. is considering the following alternative financing plans:
| Plan 1 | Plan 2 | |||
| Issue 10% bonds (at face value) | $1,240,000 | $620,000 | ||
| Issue preferred $1 stock, $10 par | — | 1,030,000 | ||
| Issue common stock, $5 par | 1,240,000 | 830,000 | ||
Income tax is estimated at 40% of income.
Determine the earnings per share on common stock, assuming that income before bond interest and income tax is $372,000.
Enter answers in dollars and cents, rounding to two decimal places.
| Plan 1 | $ Earnings per share on common stock |
| Plan 2 | $ Earnings per share on common stock |
2.)
On January 1, the first day of the fiscal year, a company issues a $600,000, 4%, 10-year bond that pays semiannual interest of $12,000 ($600,000 × 4% × ½ year), receiving cash of $600,000.
(a) Journalize the entry to record the issuance of the bonds.
(b) Journalize the entry to record the first interest payment on June 30.
(c) Journalize the entry to record the payment of the principal on the maturity date.
In: Accounting