A college offers 3 introductory courses in history, 2 in science, 1 in mathematics, 4 in philosophy, and 2 in English.
a. If a freshman takes one course in each area during her first semester, how many course selections are possible?
b. If a part-time student can afford to take only one introductory course, how many selections are possible?
In: Statistics and Probability
Consider two assets, A and B. A earns +4%, –5%, or +3%, in scenarios 1, 2, and 3. B earns –5%, +3%, or +4%, in scenarios 1, 2, and 3. Compute the expected rates of return and SD for each asset, A and B. Now, consider a portfolio of assets A and B called AB, where the investor holds fraction 62% of his portfolio in A and fraction (1-62%) in B. Compute the standard deviation of AB and report this as your answer. Compare the new standard deviation to that of each asset's individual standard deviation. What was the change in standard deviation between asset A and portfolio AB?
In: Finance
1 2 3 4 This problem is based on information taken from The Merck Manual (a reference manual used in most medical and nursing schools). Hypertension is defined as a blood pressure reading over 140 mm Hg systolic and/or over 90 mm Hg diastolic. Hypertension, if not corrected, can cause long-term health problems. In the college-age population (18–24 years), about 9.2% have hypertension. Suppose that a blood donor program is taking place in a college dormitory this week (final exams week). Before each student gives blood, the nurse takes a blood pressure reading. Of 196 donors, it is found that 29 have hypertension. A scientist claimed that these data indicate that the population proportion of students with hypertension during final exams week is higher than 9.2%. Use a 5% level of significance to test the claim.
1. Find the null and the alternative hypothesis.
2. Find the test statistic.
3. Would reject or fail to reject the null hypothesis? Explain.
4. Would you agree or disagree with the scientist’s claim?
In: Statistics and Probability
MATLAB CODE:
A particular 3x3 linear transformation A has eigenvalues of -1, 2, and 4, and corresponding eigenvectors with directions of [1;1;0], [0;1;l], and [1;1;1], respectively. Because eigenvectors must have unit length, you will need to normalize the given vectors by the length of each array to find the actual eigenvectors. Given this information, and using the eigen decomposition, find the linear transformation A. Hint: you can use the diag() function to form the D matrix from the provided eigenvalues. Once A is found, verify your answer using the Matlab eig() function, which takes an n x n matrix A as an argument and returns the eigenvector (P2) and diagonal eigenvalue (D2) matrices associated with A: [P2,D2] = eig(A)P and P2 should share the same columns, while D and D2 should share the same diagonal elements
In: Computer Science
The code file is attached. Portion of the code is given (1, 2, 3, 4). You have to write the code for the remaining items (5, 6, 7).
#include <iostream>
using namespace std;
struct node
{
int data;
node* next;
};
node* head=NULL;
void appendNode(int value)
{
node *newNode, *curr;
newNode = new node();
newNode->data=value;
newNode->next=NULL;
if (!head)
head=newNode;
else
{
curr=head;
while (curr->next)
curr = curr->next;
curr->next = newNode;
}
}
void insertNode(int value)
{
node *newNode, *curr, *previous;
newNode = new node();
newNode->data = value;
if (head==NULL)
{
head = newNode;
newNode->next = NULL;
}
else
{
curr = head;
while (curr != NULL && curr->data < value)
{
previous = curr;
curr = curr->next;
}
if (previous == NULL)
{
head = newNode;
newNode->next = curr;
}
else
{
previous->next = newNode;
newNode->next = curr;
}
}
}
void deleteNode(int value)
{
node *curr, *previous;
if(!head)
return;
if (head->data == value)
{
curr = head->next;
delete head;
head = curr;
}
else
{
curr = head;
while( curr != NULL && curr->data != value)
{
previous=curr;
curr=curr->next;
}
previous->next = curr->next;
delete curr;
}
cout << "Value is deleted\n";
}
void displayList(void)
{
node *curr;
curr = head;
while (curr != NULL)
{
cout << curr->data << " " ;
curr = curr->next;
}
cout << "\n";
}
int findMaxNode()
{
int m;
//complete the code here
return m;
}
int searchItem(int value)
{
int f;
//complete the code here
return f;
}
int countNodes()
{
int c;
//complete the code here
return c;
}
int main()
{
int choice;
int x;
do
{
system("cls");
cout << "1. Append a node" << "\n";
cout << "2. Insert a node" << "\n";
cout << "3. Delete a node" << "\n";
cout << "4. Display the linked list" << "\n";
cout << "5. Find the maximum node" << "\n";
cout << "6. Search for a node" << "\n";
cout << "7. Count the number of the nodes " << "\n";
cout << "8. Exit" << "\n";
cout << "Enter your choice(1-8):";
cin >> choice;
switch(choice)
{
case 1:
cout << "Enter a value:";
cin >> x;
appendNode(x);
cout << "Value is appeneded\n";
break;
case 2:
cout << "Enter a value to insert:";
cin >> x;
insertNode(x);
cout << "Value is inserted\n";
break;
case 3:
cout << "Enter a value to delete:";
cin >> x;
deleteNode(x);
break;
case 4:
displayList();
break;
case 5:
int max;
max = findMaxNode();
cout << "Maximum is :" << max << endl;
break;
case 6:
cout << "Enter value to search for\n";
cin >> x;
int flag;
flag= searchItem(x);
if(flag==1)
cout << "Found\n";
else
cout << "Not found\n";
break;
case 7:
int count;
count= countNodes();
cout<<"Number of nodes in the list is:" << count << endl;
break;
}
system("pause");
} while(choice!=8);
}In: Computer Science
QUESTION 1
Based on the information in Table 4-2, and assuming the company's stock price is $50 per share, the M/B ratio is
Table 4-2
Drummond Company
Balance Sheet
|
Assets: |
|
|
Cash and marketable securities |
$400,000 |
|
Accounts receivable |
1,415,000 |
|
Inventories |
1,847,500 |
|
Prepaid expenses |
24,000 |
|
Total current assets |
3,686,500 |
|
Fixed assets |
2,800,000 |
|
Less: accum. depr. |
(1,087,500) |
|
Net fixed assets |
1,712,500 |
|
Total assets |
$5,399,000 |
|
Liabilities: |
|
|
Accounts payable |
$600,000 |
|
Notes payable |
875,000 |
|
Accrued taxes |
92,000 |
|
Total current liabilities |
$1,567,000 |
|
Long-term debt |
900,000 |
|
Common Stock (100,000 shares) |
700,000 |
|
Retained Earnings |
2,232,000 |
|
Total liabilities and owner's equity |
$5,399,000 |
|
Income Statement |
|
|
Net sales (all credit) |
$6,375,000 |
|
Less: Cost of goods sold |
(4,375,000) |
|
Selling and administrative expense |
(1,000,000) |
|
Depreciation expense |
(135,000) |
|
Interest expense |
(100,000) |
|
Earnings before taxes |
$765,000 |
|
Income taxes |
(306,000) |
|
Net income |
$459,000 |
|
10.89. |
||
|
1.71 |
||
|
2.44 |
||
|
1.50 |
QUESTION 2
Based on the information in Table 4-2, the Debt Ratio is
|
46.69% |
||
|
40.24% |
||
|
32.88% |
||
|
30.33% |
QUESTION 3
Based on the information in Table 4-2, the acid-test ratio is
|
1.17. |
||
|
1.33. |
||
|
1.39 |
||
|
2.15 |
QUESTION 4
Based on the information in Table 4-2, the return on equity is
|
19.33% |
||
|
18.47% |
||
|
16.66% |
||
|
15.65% |
In: Finance
1. List the 4 main parts of a Milan Therapy session
2. provide an example of a reflexive question?
3. The 3 main tenets of the Trans- Generational approach to therapy include
In: Psychology
2. Design a trapezoidal vegetative waterway that has a side slope of 4:1, a slope of 4%, flow equal to Q= 75 cfs, an erosion resistant soil, and the grass mixture grown to 2 inches in height
In: Civil Engineering
Let Xn be the Markov chain with states S = {1, 2, 3, 4} and transition matrix.
| 1/3 | 2/3 | 0 | 0 |
| 2/3 | 0 | 1/3 | 0 |
| 1/3 | 1/3 | 0 | 1/3 |
| 0 | 1/3 | 2/3 | 0 |
a.) Let X0 = 3 and let T3 be the first time that the Markov chain returns 3, compute P(T3 = 2 given X0=3). Please show all work and all steps.
b.) Find the stationary distribution π. Please show all work and all steps.
In: Advanced Math
1. What are the components of an ordinary and necessary business expense?
2. List 4 examples of ordinary and necessary business expenses a business can
generally take.
3. List 4 examples of business expenses that are not ordinary and necessary business
expenses.
4. Define depreciation.
5. On January 1, 2018, John Inc., purchased for $10,000, a copier to use in its
business. The copier is a 5-year property. John Inc. elects to use the straight-line
method of depreciation. What is the amount of John Inc.’s depreciation for 2018?
In: Accounting