The following partially completed T-accounts are for Stanford Corporation:
| Raw Materials | |||
|---|---|---|---|
| Debit | Credit | ||
| Balance | 7,000 | (2) | 24,000 |
| (1) | 19,000 | ||
| Work In Process | |||
|---|---|---|---|
| Debit | Credit | ||
| Balance | 11,000 | (7) | ? |
| (2) | 15,000 | ||
| (4) | 18,000 | ||
| (6) | 31,000 | ||
| Finished Goods | |||
|---|---|---|---|
| Debit | Credit | ||
| Balance | 18,000 | ||
| (7) | 62,000 | ||
| 15,000 | |||
| Manufacturing Overhead | |||
|---|---|---|---|
| Debit | Credit | ||
| (2) | 9,000 | (6) | 31,000 |
| (3) | 16,000 | ||
| (4) | 8,000 | ||
| (5) | 5,000 | ||
| Accumulated Depreciation--Factory | |||
|---|---|---|---|
| Debit | Credit | ||
| Balance | 82,000 | ||
| (3) | 16,000 | ||
| Sales Salaries Expense | |||
|---|---|---|---|
| Debit | Credit | ||
| (4) | 11,000 | ||
| Accounts Payable | |||
|---|---|---|---|
| Debit | Credit | ||
| Balance | |||
| (1) | 19,000 | ||
| (5) | 5,000 | ||
| Salaries and Wages Payable | |||
|---|---|---|---|
| Debit | Credit | ||
| Balance | 7,000 | ||
| (4) | 37,000 | ||
The indirect labor cost is:
In: Accounting
You sold a 105 call for $8 and sold a 95 put for $6 (Short Strangle). Ignoring transaction costs, your maximum gains, losses and break-even points are respectively:
Question 2 options:
|
|||
|
|||
|
|||
|
-----------------------------------------------------------------------------------------------------
Question 4
You bought 150 call for $6 and bought a 150 put for $5 (Long straddle). Ignoring transaction costs, your maximum gains, losses and break-even points are respectively:
Question 4 options:
|
|||
|
|||
|
|||
|
In: Finance
At a recent concert, a survey was conducted that asked a random sample of 20 people their age and how many concerts they have attended since the beginning of the year. The following data were collected:
|
Age |
62 |
57 |
40 |
49 |
67 |
54 |
43 |
65 |
54 |
41 |
|
# of Concerts |
6 |
5 |
4 |
3 |
5 |
5 |
2 |
6 |
3 |
1 |
|
Age |
44 |
48 |
55 |
60 |
59 |
63 |
69 |
40 |
38 |
52 |
|
# of Concerts |
3 |
2 |
4 |
5 |
4 |
5 |
4 |
2 |
1 |
3 |
Which of the following is true for this data?
| A. |
The younger the respondent the more concerts he/she has attended. |
|
| B. |
The younger the respondent the less concerts he/she has attended. |
|
| C. |
The relationship between age and the number of concerts attended is insignificant. |
In: Statistics and Probability
COMBINATIONS
Do the following problems using combinations.
1) How many different 5-player teams can be chosen from eight players?
2) How many 13-card bridge hands can be chosen from a deck of cards?
COMBINATIONS INVOLVING SEVERAL SETS
Following problems involve combinations from several different sets.
1) A club has 4 men, 5 women, 8 boys and 10 girls as members. In how many ways can a group of 2 men, 3 women, 4 boys and 4 girls be chosen?
2) How many 4-letter word sequences consisting of two vowels and two consonants can be made from the letters of the word PHOENIX if no letter is repeated?
In: Statistics and Probability
A restaurant manager is interested in taking a more statistical approach to predicting customer load. She begins the process by gathering data. One of the restaurant hosts or hostesses is assigned to count customers every five minutes from 7 P.M. until 8 P.M. every Saturday night for three weeks. The data are shown here. After the data are gathered, the manager computes lambda using the data from all three weeks as one data set as a basis for probability analysis.What value of lambda did she find? Assume that these customers randomly arrive and that the arrivals are Poisson distributed. Use the value of lambda computed by the manager and help the manager calculate the probabilities in parts (a) through (e) for any given five-minute interval between 7 P.M. and 8 P.M. on Saturday night. Number of Arrivals Week 1 Week 2 Week 3 3 1 5 6 2 3 4 4 5 6 0 3 2 2 5 3 6 4 1 5 7 5 4 3 1 2 4 0 5 8 3 3 1 3 4 3 a. What is the probability that no customers arrive during any given five-minute interval? b. What is the probability that five or more customers arrive during any given five-minute interval? c. What is the probability that during a 10-minute interval fewer than four customers arrive? d. What is the probability that between four and six (inclusive) customers arrive in any 10-minute interval? e. What is the probability that exactly six customers arrive in any 15-minute interval? *Round your answers to 4 decimal places when calculating using Table A.3. **Round your answer to 4 decimal places, the tolerance is +/-0.0005. a. P(x = 0) = * b. P(x ≥ 5) = * c. P(x < 4 | 10 minutes) = * d. P(4 ≤ x ≤ 6 | 10 minutes) = * e. P(x = 6 | 15 minutes) = **
In: Math
*****NOTE: I DO NOT NEED A DRIVER FILE. I NEED mixed.h AND mixed.cpp*********
*****PLEASE MAKE SURE THAT mixed.h AND mixed.cpp WORK WITH THE DRIVER FILE PROVIDED*******************
Objective: Upon completion of this program, you should gain experience with overloading basic operators for use with a C++ class.
The code for this assignment should be portable -- make sure you
test with g++ on linprog.cs.fsu.edu before you submit.
Task
Create a class called Mixed. Objects of type Mixed will store and manage rational numbers in a mixed number format (integer part and a fraction part). The class, along with the required operator overloads, should be written in the files "mixed.h" and "mixed.cpp".
Details and Requirements
Mixed m1(3, 4, 5); // sets object to 3 4/5 Mixed m2(-4, 1, 2); // sets object to -4 1/2 Mixed m3(0, -3, 5); // sets object to -3/5 (integer part is 0). Mixed m4(-1, -2, 4); // bad parameter combination. Set object to 0.
The other constructor should expect a single int parameter with a default value of 0 (so that it also acts as a default constructor). This constructor allows an integer to be passed in and represented as a Mixed object. This means that there is no fractional part. Example declarations:
Mixed m5(4); // sets object to 4 (i.e. 4 and no fractional part). Mixed m6; // sets object to 0 (default)Note that this last constructor will act as a "conversion constructor", allowing automatic type conversions from type int to type Mixed.
integer numerator/denominator
i.e. the integer part, a space, and the fraction part (in numerator/denominator form), where the integer, numerator, and denominator parts are all of type int. You may assume that this will always be the format that is entered (i.e. your function does not have to handle entry of incorrect types that would violate this format). However, this function should check the values that come in. In the case of an incorrect entry, just set the Mixed object to represent the number 0, as a default. An incorrect entry occurs if a denominator value of 0 is entered, or if an improper placement of a negative sign is used. Valid entry of a negative number should follow this rule -- if the integer part is non-zero, the negative sign is entered on the integer part; if the integer part is 0, the negative sign is entered on the numerator part (and therefore the negative sign should never be in the denominator). Examples:
Valid inputs: 2 7/3 , -5 2/7 , 4 0/7 , 0 2/5 , 0 -8/3 Invalid inputs: 2 4/0 , -2 -4/5 , 3 -6/3 , 0 2/-3
Examples: 0 , 2 , -5 , 3/4 , -6/7 , -2 4/5 , 7 2/3
Mixed m(1, 2, 3); // value is 1 2/3 Mixed z; // value is 0 Mixed r = m / z; // r is 0 (even though this is not good math)
Mixed m1(1, 2, 3); // 1 2/3 Mixed m2(2, 1, 2); // 2 1/2 cout << m1++; // prints 1 2/3, m1 is now 2 2/3 cout << ++m1; // prints 3 2/3, m1 is now 3 2/3 cout << m2--; // prints 2 1/2, m2 is now 1 1/2 cout << --m2; // prints 1/2 , m2 is now 0 1/2
*************DRIVER FILE TO TEST PROGRAM******************
//**Bigginning of main.cpp**//
#include <iostream>
#include "mixed.h"
using namespace std;
int main()
{
// demonstrate behavior of the two constructors and the << overload
Mixed x(3,20,6), y(-4,9,2), m1(0,-35,10), m2(-1,-2,4), m3(4), m4(-11), m5;
char answer;
cout << "Initial values: \nx = " << x << "\ny = " << y
<< "\nm1 = " << m1 << "\nm2 = " << m2 << "\nm3 = " << m3
<< "\nm4 = " << m4 << "\nm5 = " << m5 << "\n\n";
// Trying Simplify
x.Simplify();
m1.Simplify();
cout << "x simplified: " << x << " and m1 simplified " << m1 << "\n\n";
// Trying ToFraction
x.ToFraction();
y.ToFraction();
m1.ToFraction();
cout << "Values as fractions: \nx = " << x << "\ny = " << y
<< "\nm1 = " << m1 << "\n\n";
// demonstrate >> overload
cout << "Enter first number: ";
cin >> x;
cout << "Enter second number: ";
cin >> y;
cout << "You entered:\n";
cout << " x = " << x << '\n';
cout << " y = " << y << '\n';
// demonstrate comparison overloads
if (x < y) cout << "(x < y) is TRUE\n";
if (x > y) cout << "(x > y) is TRUE\n";
if (x <= y) cout << "(x <= y) is TRUE\n";
if (x >= y) cout << "(x >= y) is TRUE\n";
if (x == y) cout << "(x == y) is TRUE\n";
if (x != y) cout << "(x != y) is TRUE\n";
// demonstrating Evaluate
cout << "\nDecimal equivalent of " << x << " is " << x.Evaluate() << '\n';
cout << "Decimal equivalent of " << y << " is " << y.Evaluate() << "\n\n";
// demonstrating arithmetic overloads
cout << "(x + y) = " << x + y << '\n';
cout << "(x - y) = " << x - y << '\n';
cout << "(x * y) = " << x * y << '\n';
cout << "(x / y) = " << x / y << '\n';
// demonstrating arithmetic that uses conversion constructor
// to convert the integer operand to a Mixed object
cout << "(x + 10) = " << x + 10 << '\n';
cout << "(x - 4) = " << x - 4 << '\n';
cout << "(x * -13) = " << x * -13 << '\n';
cout << "(x / 7) = " << x / 7 << '\n';
return 0;
}
//**End of main.cpp **//
RESULT OF DRIVER FILE SHOULD PRODUCE THE FOLLOWING OUTPUT:
Initial values: x = 3 20/6 y = -4 9/2 m1 = -35/10 m2 = 0 m3 = 4 m4 = -11 m5 = 0 x simplified: 6 1/3 and m1 simplified -3 1/2 Values as fractions: x = 19/3 y = -17/2 m1 = -7/2 Enter first number: 1 2/3 Enter second number: 2 3/4 You entered: x = 1 2/3 y = 2 3/4 (x < y) is TRUE (x <= y) is TRUE (x != y) is TRUE Decimal equivalent of 1 2/3 is 1.66667 Decimal equivalent of 2 3/4 is 2.75 (x + y) = 4 5/12 (x - y) = -1 1/12 (x * y) = 4 7/12 (x / y) = 20/33 (x + 10) = 11 2/3 (x - 4) = -2 1/3 (x * -13) = -21 2/3 (x / 7) = 5/21
In: Computer Science
The following are the number of children found in a sample of families denoted as the variable X:
0, 7, 10, 5, 3, 7, 2, 1, 9, 4, 2, 1, 2, 3, 6, 3, 0, 8, 7, 2, 1
Find the estimates of the (i) mean of X (ii) the variance of X (iii) the standard deviation of X.
(i)=
(ii)=
(iii)=
In: Statistics and Probability
Consider the following page reference string:5, 1, 5, 5, 3, 6, 2, 3, 0 , 7, 2, 5, 2, 1, 7, 2, 3, 1, 4, 6.Assuming demand paging with three frames, how many page faults would occur for the following replacement algorithms?• LRU replacement• FIFO replacement• Optimal replacement
In: Computer Science
Project:
Given an array numbers. We define a running sum of an array as runningSum[i] = sum(nums[0]…nums[i]).
Return the running sum of numbers.
Example:
Input: nums = [1,2,3,4]
Output: [1,3,6,10]
Explanation: Running sum is obtained as follows: [1, 1+2, 1+2+3, 1+2+3+4].
You need to do: Create a class called RunningSumArray to perform the main method. Create a class called ArrayOperationto hold the actions for array. In this project, you will need 4methods:
In: Computer Science
|
Times (days) |
||||
|
Activity |
Optimistic |
Most Likely |
Pessimistic |
Preceding Tasks |
|
1 |
8 |
10 |
13 |
- |
|
2 |
5 |
6 |
8 |
- |
|
3 |
13 |
15 |
21 |
2 |
|
4 |
10 |
12 |
14 |
1,3 |
|
5 |
11 |
20 |
30 |
4 |
|
6 |
4 |
5 |
8 |
5 |
|
7 |
2 |
3 |
4 |
5 |
|
8 |
4 |
6 |
10 |
7 |
|
9 |
2 |
3 |
4 |
8,6 |
In: Operations Management