|
Month |
Sales |
Moving Average |
MAD |
|
Jan-19 |
119 |
||
|
Feb-19 |
72 |
||
|
Mar-19 |
113 |
||
|
Apr-19 |
82 |
||
|
May-19 |
82 |
||
|
Jun-19 |
131 |
||
|
Jul-19 |
111 |
||
|
Aug-19 |
116 |
||
|
Sep-19 |
89 |
||
|
Oct-19 |
95 |
||
|
Nov-19 |
88 |
||
|
Dec-19 |
90 |
||
|
Jan-20 |
2. Use the same date from Q1. to answer the following questions. (10 pts.)
|
Month |
Sales |
Forecast |
|
Jan-19 |
119 |
|
|
Feb-19 |
72 |
|
|
Mar-19 |
113 |
|
|
Apr-19 |
82 |
|
|
May-19 |
82 |
|
|
Jun-19 |
131 |
|
|
Jul-19 |
111 |
|
|
Aug-19 |
116 |
|
|
Sep-19 |
89 |
|
|
Oct-19 |
95 |
|
|
Nov-19 |
88 |
|
|
Dec-19 |
90 |
|
|
Jan-20 |
You need a beginning forecast of Jul-19 to start this. Use the naïve forecast for estimating Jul-19, and then use the answer to start the exponential smoothing method.
(Please show all the work for credit on this. You can use excel too, but show the logic/formula if using excel)
In: Operations Management
Why do governments try to create clusters around groundbreaking research?
Do you think that governments should undertake such efforts or leave it all to markets to determine successes and failures?
In: Operations Management
Can you please describe 3 to 5 characteristics a data store design must have to be considered a proper physical design.
In: Operations Management
Firms pursuing a differentiation strategy primarily seek to:
|
Keep their cost structures lower than that of the cost leader. |
||||||||||||||||||||||||||||||||||||||
|
Reduce the value gap to gain a competitive advantage. |
||||||||||||||||||||||||||||||||||||||
|
Provide products that are a direct imitation of the competitors’ products |
||||||||||||||||||||||||||||||||||||||
|
Create higher customer perceived value that the value competitors create. Which of the following stages of the strategic management process involves an evaluation of a firm’s external and internal environments?
|
In: Operations Management
Chart for question 1-6
Mass of metal Al: 7.4760g
Volume of water: 100mL
Mass of water:
Initial temp of water: 25 celsius
Initial temp of metal: 200 celsius
Max temp of water and metal: 27.65 celsius
Chart for question 1
Mass of metal Pb: 33.3590g
Volume of water: 100mL
Mass of water:
Initial temp of water: 25 celsius
Initial temp of metal: 200 celsius
Max temp of water and metal: 26.73 celsius
In: Other
An industrial engineer at an appliance repair company compared a new strategy for dispatching its service technicians to its usual way. The new strategy consisted of using software to solve the vehicle routing problem (a mathematical program) each morning after several service calls came in. The old way was to simply wait for a service request, then send any available technician. Each of the thirty-six technicians was assigned to either the old or new way, so that there were exactly eighteen in each group. The company carried out this experiment over 40 working days, and the average daily mileages for the thirty-six repairpersons are below.
Old
| 99.1 | 99.7 | 94.6 | 70.2 | 101.7 | 88.2 | 63.9 | 109.5 | 97.1 |
| 182.9 | 193.2 | 95.1 | 92.4 | 105.3 | 85.6 | 89.5 | 92.9 | 87.3 |
New
| 95.8 | 85.2 | 79.3 | 62.2 | 87.9 | 97.9 | 89.3 | 98.6 | 88.6 |
| 101.1 | 90.1 | 84.1 | 82.2 | 96.6 | 99.7 | 86.7 | 91.5 | 83.2 |
a) Make boxplots, probability plots, and run
Anderson-Darling and Shapiro-Wilks tests to check for normality. Is
the normality assumptions in question Explain.
b) If you think the normality assumptions are
violated, you need to run some other kind of test, like a
nonparametric test. One reasonable choice would be the
Mann-WhitneyWilcoxon rank sum test. Use R to run this test. Provide
your code, output, and remarks in your solutions.
In: Math
What U. S. organizations use organizational open, natural and rational?
In: Operations Management
Why was there such strong popular support for McCarthy's anticommunist crusade in the early 1950s? Would you have supported his goals and tactics? Why or why not?
In: Psychology
NEED THE COMPLETE AND CLEAR SOLUTION thanks
An isotonic solution will produce an osmotic pressure of 7.84 atm measured against pure water at human body temperature (37.0 °C). How many g of sodium chloride must be dissolved in a liter of water to produce an isotonic solution?
In: Chemistry
9. The American novelist James Baldwin wrote, "Words like freedom, justice, democracy are not common concepts; on the contrary, they are rare. People are not born knowing what these are. It takes enormous and, above all, individual effort to arrive at the respect for other people that these words imply." Ask students to define the terms freedom, justice, and democracy. How did the students derive their own meaning for these words?
In: Psychology
Write a complete C++ program to implements a Min-heap.
Each node will contain a single integer data element. Initialize the Min-heap to contain 5 nodes, with the values 8, 12, 24, 32, 42.
The program should allow for the insertion and deletion of nodes while maintaining a Min-Heap.
The program should allow the user to output data in Preorder, Inorder and Postorder.
The program should loop with menu items for each of the above objectives and the choice to quit
Here's the code:
**EDIT: Need help in outputting data into Preorder, Inorder and Postorder, plus ensuring the nodes are implemented correctly (I think I overlooked this part). **
#include studio.h
#include isotream
int array[100]; // variable for array to store up to 100
elements
int n;
using namespace std;
void display();
void delete_elem(int num);
void heapify(int index,int n){
if(index >= n)return;
int left = 2*index;
int right = 2*index + 1;
int mx_ind = index;
if(left < n and array[left] > array[mx_ind]){
mx_ind = left;
}
if(right < n and array[right] > array[mx_ind]){
mx_ind = right;
}
if(mx_ind != index){
swap(array[mx_ind],array[index]);
heapify(mx_ind,n);
}
}
int insert(int num, int location)
{
int parentnode;
while (location > 0)
{
parentnode =(location - 1)/2;
if (num <= array[parentnode])
{
array[location] = num;
return location;
}
array[location] = array[parentnode];
location = parentnode;
}
array[0] = num;
return 0;
}
int main()
{
int choice, num;
n = 0;
while(1)
{
printf("1.Insert the element \n");
printf("2.Delete the element \n");
printf("3.Display all elements \n");
printf("4.Quit \n");
printf("Enter your choice : ");
scanf("%d", &choice);
switch(choice)
{
case 1:
printf("Enter the element to be inserted to the list : ");
scanf("%d", &num);
insert(num, n);
n = n + 1;
break;
case 2:
printf("Enter the elements to be deleted from the list: ");
scanf("%d", &num);
delete_elem(num);
break;
case 3:
display();
break;
case 4:
exit(0);
default:
printf("Invalid choice \n");
}
}
}
void display()
{
int i;
if (n == 0)
{
printf("Heap is empty \n");
return;
}
for (i = 0; i < n; i++)
printf("%d ", array[i]);
printf("\n");
}
void delete_elem(int num)
{
int left, right, i, temp, parentnode;
for (i = 0; i < num; i++) {
if (num == array[i])
break;
}
if (num != array[i])
{
printf("%d not found in heap list\n", num);
return;
}
array[i] = array[n - 1];
n = n - 1;
parentnode =(i - 1) / 2;
if (array[i] > array[parentnode])
{
insert(array[i], i);
return;
}
left = 2 * i + 1;
right = 2 * i + 2;
while (right < n)
{
if (array[i] >= array[left] && array[i] >=
array[right])
return;
if (array[right] <= array[left])
{
temp = array[i];
array[i] = array[left];
array[left] = temp;
i = left;
}
else
{
temp = array[i];
array[i] = array[right];
array[right] = temp;
i = right;
}
left = 2 * i + 1;
right = 2 * i + 2;
}
if (left == n - 1 && array[i])
{
temp = array[i];
array[i] = array[left];
array[left] = temp;
}
}
In: Computer Science
C++
For this assignment, you will implement the MyString class. Like the string class in C++’s standard library, this class uses C-strings as the underlying data structure. Recall that a C-string is a null-terminated array of type char. See section 8.1 in Savitch for more information about C-strings; in particular, you will find it helpful to take advantage of several of the C-string functions mentioned in that section. What To Do. In the hw8 directory that is created, you will find the following files: • mystring.h and mystring.cpp • a Makefile • and 4 test files (test1.cpp through test4.cpp). (Below are the files mentioned here, with one sample file). Implement the following: 1. a default constructor 2. a constructor that takes a const char * parameter (that is, a C-string) 3. a destructor 4. a copy constructor 5. the assignment operator. In addition, overload the following relational operators: >, <, >=, <=, ==, and !=. Lastly, overload the operator+ (concatenation). All of the relational operators return type int. To understand why, read the description of the C-string function strcmp. All of the comparisons should be lexicographical, i.e., similar to what strcmp() does. The == and != operators should evaluate to 1 if the condition is true, 0 if false. You are welcome to implement some of the operators by using others (for example, you can easily implement != using ==). Make sure that you can invoke the operators with string literals on either side of the operator. That is, both of the following expressions should be valid: str == "hello" "hello" == str where str is a MyString object. Place the member function implementations in mystring.cpp and compile using make. You can also edit mystring.h if you wish to implement some of the member functions directly in the class definition
Make File:
CC = g++
CXX = g++
INCLUDES =
CFLAGS = -Wall $(INCLUDES)
CXXFLAGS = -Wall $(INCLUDES)
LDFLAGS =
LDLIBS =
executables = test1 test2 test3 test4
objects = mystring.o test1.o test2.o test3.o test4.o
.PHONY: default
default: $(executables)
$(executables): mystring.o
$(objects): mystring.h
.PHONY: clean
clean:
rm -f *~ a.out core $(objects) $(executables)
.PHONY: all
all: clean default
mystring.cpp:
#include
#include
#include "mystring.h"
// Insertion (put-to) operator
std::ostream& operator<<(std::ostream& outs, const MyString& s)
{
outs << s.data;
return outs;
}
// Extraction (get-from) operator
std::istream& operator>>(std::istream& is, MyString& s)
{
// Though this cheats a bit, it's meant to illustrate how this
// function can work.
std::string temp;
is >> temp;
delete[] s.data;
s.len = strlen(temp.c_str());
s.data = new char[s.len+1];
strcpy(s.data, temp.c_str());
return is;
}
mystring.h:
#ifndef _MYSTRING_H_
#define _MYSTRING_H_
#include
class MyString {
public:
// default constructor
MyString();
// constructor
MyString(const char* p);
// destructor
~MyString();
// copy constructor
MyString(const MyString& s);
// assignment operator
MyString& operator=(const MyString& s);
// returns the length of the string
int length() const { return len; }
// insertion (or put-to) operator
friend std::ostream& operator<<(std::ostream& outs, const MyString& s);
// extraction (or get-from) operator
friend std::istream& operator>>(std::istream& is, MyString& s);
// concatenates two strings
friend MyString operator+(const MyString& s1, const MyString& s2);
// relational operators
friend int operator<(const MyString& s1, const MyString& s2);
friend int operator>(const MyString& s1, const MyString& s2);
friend int operator==(const MyString& s1, const MyString& s2);
friend int operator!=(const MyString& s1, const MyString& s2);
friend int operator<=(const MyString& s1, const MyString& s2);
friend int operator>=(const MyString& s1, const MyString& s2);
private:
char* data;
int len;
};
#endif
Here is a sample test file:
#include "mystring.h"
static MyString add(MyString s1, MyString s2)
{
MyString temp(" and ");
return s1 + temp + s2;
}
int main()
{
using namespace std;
MyString s1("one");
MyString s2("two");
MyString s3 = add(s1, s2);
cout << s3 << endl;
return 0;
}
In: Computer Science
Explain two factors that may affect the IT project cost estimation using your own words. Support your answer with examples.
In: Computer Science
True/False: The advantage to being the late mover or follower strategy is that you learn from the mistakes that the first mover makes.
True/False: Firms have to choose between two different strategies of entry one is a non-equity strategy and the other is an equity strategy.
True/False:Joint ventures are considered a desirable strategy for firms that want tight control over the foreign operations.
Please also give a reasoning if you can, thanks!
In: Operations Management
The Neal Company wants to estimate next year's return on equity (ROE) under different financial leverage ratios. Neal's total capital is $14 million, it currently uses only common equity, it has no future plans to use preferred stock in its capital structure, and its federal-plus-state tax rate is 40%. The CFO has estimated next year's EBIT for three possible states of the world: $5.8 million with a 0.2 probability, $3.4 million with a 0.5 probability, and $0.6 million with a 0.3 probability. Calculate Neal's expected ROE, standard deviation, and coefficient of variation for each of the following debt-to-capital ratios. Do not round intermediate calculations. Round your answers to two decimal places at the end of the calculations.
Debt/Capital ratio is 0.
| RÔE = | % |
| σ = | % |
| CV = |
Debt/Capital ratio is 10%, interest rate is 9%.
| RÔE = | % |
| σ = | % |
| CV = |
Debt/Capital ratio is 50%, interest rate is 11%.
| RÔE = | % |
| σ = | % |
| CV = |
Debt/Capital ratio is 60%, interest rate is 14%.
| RÔE = | % |
| σ = | % |
| CV = |
In: Finance