Questions
($ thousands) Period 0 1 2 3 4 5 6 7 Net cash flow –14,000 –1,624...


($ thousands)
Period
0 1 2 3 4 5 6 7
Net cash flow –14,000 –1,624 3,087 6,463 10,674 10,125 5,897 3,409
Present value at 22% –14,000 –1,331 2,074 3,559 4,818 3,746 1,788 847
Net present value = 1,502 (sum of PVs)
Restate the above net cash flows in real terms. Discount the restated cash flows at a real discount rate. Assume a 22% nominal rate and 8% expected inflation. NPV should be unchanged at +1,502, or $1,502,000. (Negative answers should be indicated by a minus sign. Do not round intermediate calculations. Enter your answers in thousands rounded to the nearest whole number.)
Year 0 Year 1 Year 2 Year 3 Year 4 Year 5 Year 6 Year 7
Net cash flows (real)
Net present value $

In: Finance

Shipment Time to Deliver (Days) 1 7.0 2 12.0 3 4.0 4 2.0 5 6.0 6...

Shipment Time to Deliver (Days)
1 7.0
2 12.0
3 4.0
4 2.0
5 6.0
6 4.0
7 2.0
8 4.0
9 4.0
10 5.0
11 11.0
12 9.0
13 7.0
14 2.0
15 2.0
16 4.0
17 9.0
18 5.0
19 9.0
20 3.0
21 6.0
22 2.0
23 6.0
24 5.0
25 6.0
26 4.0
27 5.0
28 3.0
29 4.0
30 6.0
31 9.0
32 2.0
33 5.0
34 6.0
35 7.0
36 2.0
37 6.0
38 9.0
39 5.0
40 10.0
41 5.0
42 6.0
43 10.0
44 3.0
45 12.0
46 9.0
47 6.0
48 4.0
49 3.0
50 7.0
51 2.0
52 7.0
53 3.0
54 2.0
55 7.0
56 3.0
57 5.0
58 7.0
59 4.0
60 6.0
61 4.0
62 4.0
63 7.0
64 8.0
65 4.0
66 7.0
67 9.0
68 6.0
69 7.0
70 11.0
71 9.0
72 4.0
73 8.0
74 10.0
75 6.0
76 7.0
77 4.0
78 5.0
79 8.0
80 8.0
81 5.0
82 9.0
83 7.0
84 6.0
85 14.0
86 9.0
87 3.0
88 4.0

A) Find the upper limit for the mean at the 90% confidence level.

B) Find the lower limit for the mean at the 90% confidence level.

C) Find the width of the confidence interval at the 90% confidence level.

D) Find the score from the appropriate probability table (standard normal distribution, t distribution, chi-square) to construct a 99% confidence interval.

If you use Excel, please list what Excel functions would allow me to get this answers for future reference

In: Math

Define the following key terms 1. Octet 2. Prefix length 3. Slash notation 4. Network address...

Define the following key terms

1. Octet

2. Prefix length

3. Slash notation

4. Network address

5. Host address

6. Broadcast address

7. Classful addressing

8. Classless addressing

9. Tunneling

10. Dual stack

In: Computer Science

Question 1 Refer to the operations below: Add (10 + 5) Add (4+8) Add (7*2) Add...

Question 1
Refer to the operations below:
Add (10 + 5)
Add (4+8)
Add (7*2)
Add (90 – 3)
Print list
Print peek
Remove an item from the list
Print list
1.1 Implement the operations above into a Queue structure called q1.
1.2 Implement the operations above into a Stack structure called s1.

Name your program Question1_1 for the queue structure and Question1_2 for the stack structure

JAVA Language to be used.

Please give step by step explanation on how to save and run the programs

In: Computer Science

c++ Run the following sorting algorithms: 1. Bubble sort 2. Insertion sort 3. Quicksort 4. Mergesort...

c++

Run the following sorting algorithms:
1. Bubble sort
2. Insertion sort
3. Quicksort
4. Mergesort
Under the following scenarios for input data:
1. Uniform random
2. Almost sorted (90% sorted – 1 in 10 is out of place)
3. Reverse sorted
On data of sizes 5,000, 10,000, … in increments of 5,000 up to …, 50,000

-Attach a screenshot of a program compilation below

-Attach a screenshot of a successful program run below

-Attach a graph (either line graph or bar graph) below.

3.2 90% Sorted Data (10% of data are out of their sorted position)
--Attach a graph below
3.3 Reverse-Sorted (sorted in non-increasing order) Data
--Attach a graph below

template code:

  • //a main template file

    #include <iostream>
    #include <iomanip>
    #include <ctime>
    #include <string>
    #include "Sort.h"

    using namespace std;

    void init_and_run(double**, int*, const int, const int, const int, const int);
    void print(double**, int*, const int, const int, const int, const int);

    int main()
    {

    int size[] = {100, 1000, 5000, 10000, 50000};
    const int NUM_SIZES = 7;
    const int NUM_SORT_ALGO = 7;
    const int NUM_DATA_TYPES = 3;
    const int NUM_REPEAT = 5;

    double* totalSortTime[NUM_DATA_TYPES];


    init_and_run(totalSortTime, size, NUM_SIZES, NUM_DATA_TYPES, NUM_SORT_ALGO, NUM_REPEAT);
    print(totalSortTime, size, NUM_SIZES, NUM_DATA_TYPES, NUM_SORT_ALGO, NUM_REPEAT);

    return 0;

    }

    void init_and_run(double**totalSortTime, int* size, const int NUM_SIZES, const int NUM_DATA_TYPES, const int NUM_SORT_ALGO, const int NUM_REPEAT)

    {

    clock_t time;

    for(int d = 0; d < NUM_DATA_TYPES; d++) {
    totalSortTime[d] = new double [NUM_SIZES * NUM_SORT_ALGO];
    for(int i = 0; i < NUM_SIZES * NUM_SORT_ALGO; i++)
    totalSortTime[d][i] = 0;
    }


    for(int d = 0; d < NUM_DATA_TYPES; d++) { //data types
    for(int s = 0; s < NUM_SIZES; s++) { //input sizes
    for(int r = 0; r < NUM_REPEAT; r++) { //repetitions
    Sort st(size[s], d);
    for(int t = 0; t < NUM_SORT_ALGO; t++) { //sort algorithms
    st.setSortType(t);
    time = clock();
    st.run();
    //st.print();
    time = clock() - time;
    totalSortTime[d][s * NUM_SORT_ALGO + t] += time;
    }
    }
    }
    }

    for(int d = 0; d < NUM_DATA_TYPES; d++) {
    delete [] totalSortTime[d];

    }
    }
    void print(double**totalSortTime, int* size, const int NUM_SIZES, const int NUM_DATA_TYPES, const int NUM_SORT_ALGO, const int NUM_REPEAT)
    {
    //cout << string(25, '=') << " AVG SORTING TIME " << string(25, '=') << endl;
    cout << "\nEach value displayed below shows the average sorting time with five instances.\n";
    cout << "The values may vary depending on the system and the implementation.\n";
    cout << "The relative performances, however, should be the same.\n";
    cout << "So are the performances of those algorithms as N or % of sorted numbers grows." << endl;

    string dataType[NUM_DATA_TYPES] = {
    " RANDOM_TBL_SIZE ",
    // " TBL_SIZE_PARTIAL_SORT_25 ",
    // " TBL_SIZE_PARTIAL_SORT_50 ",
    // " TBL_SIZE_PARTIAL_SORT_75 ",
    " TBL_SIZE_PARTIAL_SORT_95 ",
    " REVERSE_SORTED "
    };

    string sortAlgo[NUM_SORT_ALGO] = {
    "INSERTION",
    "MERGESORT",
    "QUICKSORT_L",
    "QUICKSORT_R",
    "COUNTING"
    "BUBBLE",
    "SELECTION"
    };


    cout << fixed << setprecision(2) << endl;
    for(int d = 0; d < NUM_DATA_TYPES; d++) {
    cout << string(25, '-') << left << setw(26) << dataType[d] << string(25, '-') << endl;
    cout << right << setw(7) << "N";
    for(int a = 0; a < NUM_SORT_ALGO; a++)
    cout << right << setw(14) << sortAlgo[a];
    cout << endl;

    for(int s = 0; s < NUM_SIZES; s++) {
    cout << right << setw(7) << size[s];
    for(int t = 0; t < NUM_SORT_ALGO; t++)
    cout << right << setw(14) << totalSortTime[d][s * NUM_SORT_ALGO + t]/NUM_REPEAT;
    cout << endl;
    }
    cout << endl;
    }
    }

  • //DATAGEN_H template file


    #ifndef DATAGEN_H
    #define DATAGEN_H

    class DataGen {
    private:
    int modType;
    int sortType;
    int dataType;

    int** data;
    int inputSize;
    int arraySize;
    int partialSortSize;

    void getRandom();
    void copy();
    void partialSort();
    public:
    DataGen();
    DataGen(int*[], int, int, int);
    void generateData();
    //void partialSort();

    };

    #endif

  • //DataGen.h template file


    #include "DataGen.h"

    class Sort
    {
    friend class DataGen;
    private:
    int* numbers[5];
    int algo_types;
    int size;
    DataGen *dg;

    void (Sort::*fp) ();
    void insertionSort();
    void bubbleSort();
    void selectionSort();

    void mergeSort();
    void quickSort_L();
    void quickSort_R();
    void countingSort();

    void partition_L(int, int, int&, int&);
    void partition_R(int, int, int&, int&);

    void merge(int, int, int[]);
    void recursive_mergeSort(int, int, int[]);
    void recursive_quickSort_L(int, int);
    void recursive_quickSort_R(int, int);

    void clear();
    public:
    Sort(int, int);
    ~Sort();
    void setSortType(int);
    void run();
    void print();
    };
    #endif

In: Computer Science

Suppose you conduct 10 significant tests and obtain the following p-values: Test 1 2 3 4...

Suppose you conduct 10 significant tests and obtain the following p-values:

Test 1 2 3 4 5 6 7 8 9 10

p-value 0.001 0.030 0.002 0.006 0.040 0.003 0.010 0.100 0.020 0.004

• Which tests’ null hypotheses will you reject if you wish to control the family-wise error rate (FWER) at a significance level of 0.05?

• Which tests’ null hypotheses will you reject if you wish to control the false discovery rate (FDR) at a level of 0.05? Use the Benjamini-Hochberg method to answer this question by hand.

• Verify the results by using the related function in R

In: Math

Given the following data, illustrate Selection Sort. index 1 2 3 4 5 6 data 11...

  1. Given the following data, illustrate Selection Sort.

index

1

2

3

4

5

6

data

11

10

21

3

7

5

In: Computer Science

Report About (( Lift Mechanism )) 1- Abstract 2-Introduction 3- Model Description 4- Discussion 5. Conclusions...

Report About (( Lift Mechanism ))

1- Abstract 2-Introduction
3- Model Description 4- Discussion
5. Conclusions 6. References

! DONT COPY IT Please !

In: Mechanical Engineering

" Year Stock X Stock Y 1 8.00% 5.00% 2 1.00% 14.00% 3 11.00% 8.00% 4...

"

Year

Stock X

Stock Y

1

8.00%

5.00%

2

1.00%

14.00%

3

11.00%

8.00%

4

4.00%

12.00%

What is the correlation of Stock X and Stock Y?

Round to 4 decimal places please.

In: Finance

Period 0 1 2 3 4 EBIT $35,000 $45,000 $60,000 $75,000 Illustrates earnings before interest and...

Period

0

1

2

3

4

EBIT

$35,000

$45,000

$60,000

$75,000

Illustrates earnings before interest and taxes for a capital investment project

  • Initial cost of the investment: $250,000

  • Change in net working capital: $10,000 (50% of this is recoverable at the end of the project)

  • Tax rate: 31%

  • WACC: 15%

  • Depreciation: straight line over five years

  • Projected cash flow from salvage: $136,250

What is the Operating Cash Flow for Year 3?

What is the NPV?

In: Finance