Randomly selected students were given five seconds to estimate
the value of a product of numbers with the results shown
below.
Estimates from students given 1×2×3×4×5×6×7×81×2×3×4×5×6×7×8:
169, 500, 5635, 10000, 45000, 50, 5000, 800, 1000, 200169, 500, 5635, 10000, 45000, 50, 5000, 800, 1000, 200
Estimates from students given 8×7×6×5×4×3×2×18×7×6×5×4×3×2×1:
400, 40320, 500, 350, 450, 225, 1500, 428, 550, 40000400, 40320, 500, 350, 450, 225, 1500, 428, 550, 40000
Use a 0.050.05 significance level to test ?0:?21=?22H0:σ12=σ22 vs. ??:?21≠?22Ha:σ12≠σ22 :
(a) The test statistic is
(b) The larger critical value is
(c) The conclusion is
A. There is not sufficient evidence to reject the
claim that the two populations have equal variances. (So, we can
assume the variances are equal.)
B. There is sufficient evidence to reject of the
claim that the two populations have equal variances. (So, we can
assume the variances are unequal.)
In: Statistics and Probability
Write a java program called ImperialMetric that displays a
conversion table for feet
and inches to metres. The program should ask the user to enter the
range of values that
the table will hold.
Here is an example of what should be output when the program
runs:
Enter the minimum number of feet (not less than 0):
5
Enter the maximum number of feet (not more than 30):
9
| | | | | | | |
0" 1.524 1.829 2.134 2.438 2.743 |
1" 1.549 1.854 2.159 2.464 2.769 |
2" 1.575 1.880 2.184 2.489 2.794 |
3" 1.600 1.905 2.210 2.515 2.819 |
4" 1.626 1.930 2.235 2.540 2.845 |
5" 1.651 1.956 2.261 2.565 2.870 |
6" 1.676 1.981 2.286 2.591 2.896 |
7" 1.702 2.007 2.311 2.616 2.921 |
8" 1.727 2.032 2.337 2.642 2.946 |
9" 1.753 2.057 2.362 2.667 2.972 |
10" 1.778 2.083 2.388 2.692 2.997 |
11" 1.803 2.108 2.413 2.718 3.023 |
5' 6' 7' 8' 9' |
The sample solution used to generate the above example and the
automarker scripts
uses System.out.printf() with a format string of "%6.3f" to print
the metric values.
We recommend the following formula:
double metres = (feet*12+inches)*0.0254;
In: Computer Science
1. I am conducting a Two-Way ANOVA with two factors. Factor A has 5 levels and Factor B has 8. The sample size in each condition is 10.
Factor A Levels = 5
Factor B Levels = 8
n = 10
What is the total number of participants in my study (N)?
2. I am conducting a Two-Way ANOVA with two factors. Factor A has 5 levels and Factor B has 8. The sample size in each condition is 10.
Factor A Levels = 5
Factor B Levels = 8
n = 10
What is df A?
3. I am conducting a Two-Way ANOVA with two factors. Factor A has 5 levels and Factor B has 8. The sample size in each condition is 10.
Factor A Levels = 5
Factor B Levels = 8
n = 10
What is df B?
4. I am conducting a Two-Way ANOVA with two factors. Factor A has 5 levels and Factor B has 8. The sample size in each condition is 10.
Factor A Levels = 5
Factor B Levels = 8
n = 10
What is df AxB?
5. I am conducting a Two-Way ANOVA with two factors. Factor A has 5 levels and Factor B has 8. The sample size in each condition is 10.
Factor A Levels = 5
Factor B Levels = 8
n = 10
What is df within (error)?
6. I am running a One-Way ANOVA with one factor, A, and two levels. My Sum of Squares A is 54.34 and my Mean Squares Within (Error) is 3.45.
What is my Mean Squares A?
7. I am running a One-Way ANOVA with one factor, A, and two levels. My Sum of Squares A is 54.34 and my Mean Squares Within (Error) is 3.45.
What is my F-observed?
In: Statistics and Probability
C++ program, include comments stating what each part of code does please. I want to be able to understand it so I'll be more knowledgeable in the future. The program is multiple files(fibonacci.h file, fibonacci.cpp file, main.cpp file and loops_simple_data_test.cpp). After the directions I also included any starter code or comments left by my professor within the files to aide us.
Directions:
In folder 04_loops_simple_data write prototype and definition for string value - return function get_fibonacci with an int parameter that returns the fibonacci sequence up to that number. Write the required unit test(s) in folder 04_loops_simple_data_test. Main program flow: Program runs until user opts out. For each loop prompt user for a number, use number as function argument, call get_fibonacci function and display the output.
fibonacci.h
| /* | |
| Write prototype for string value-return function get_fibonacci with an int | |
| parameter that returns the fibonacci sequence up to that number. | |
| */ |
fibonacci.cpp
| /* | |
| Write prototype for string value - return function get_fibonacci with an int | |
| parameter that returns the fibonacci sequence up to that number. | |
| DO NOT USE A RECURSIVE FUNCTION | |
| */ |
main.cpp
| //Write include statements | |
| //Write using statements | |
| /* | |
| Program runs until user opts out. | |
| For each loop prompt user for a number, use number as function argument, | |
| call get_fibonacci function and display the output. | |
| */ | |
| int main() | |
| { | |
| return 0; | |
| } |
loops_simple_data_test.cpp
| #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file | |
| #include "catch.hpp" | |
| //Write includes | |
| /* | |
| Write test case for get fibonacci function with values | |
| 10 result "0, 1, 1, 2, 3, 5, 8" | |
| and | |
| 5 result "0, 1, 1, 2, 3, 5" | |
| */ |
In: Computer Science
Queen Chloe is planning to build a castle inside of a rectangular moat. A river runs horizontally along the bottom of her land, and that river will form the bottom of the moat, but the other three sides must be dug by a ditch digging company. For the two vertical sections of the moat, the company will charge 1 gold piece per meter. But because the moat digging becomes easier further from the river, the company offers a discount to dig further from the river on the horizontal section. For the horizontal section, the price per meter is 1 gold piece divided by the vertical distance from the river.
If Queen Chloe has 12 gold pieces, what are the dimensions of the moat that will give her the maximum area for her castle? How do you know that these dimensions maximize the area?
In: Math
In: Economics
You are trying to pick the least-expensive car for your new delivery service. You have two choices: the Scion xA, which will cost $16,500 to purchase and which will have OCF of −$1,700 annually throughout the vehicle’s expected life of three years as a delivery vehicle; and the Toyota Prius, which will cost $24,000 to purchase and which will have OCF of −$900 annually throughout that vehicle’s expected 4-year life. Both cars will be worthless at the end of their life. You intend to replace whichever type of car you choose with the same thing when its life runs out, again and again out into the foreseeable future. If the business has a cost of capital of 13 percent, calculate the EAC. (Negative amounts should be indicated by a minus sign. Round your answers to 2 decimal places.)
In: Finance
OTR Trucking Company runs a fleet of long-haul trucks and has recently expanded into the Midwest, where it has decided to build a maintenance facility. This project will require an initial cash outlay of $ 19.5million and will generate annual cash inflows of$3.8million per year for Years 1 through 3. In Year 4, the project will provide a net negative cash flow of $4.5million due to anticipated expansion of and repairs to the facility. During Years 5 through 10, the project will provide cash inflows of $ 2.4 million per year.
a. Calculate the project's NPV and IRR where the discount rate is 11.6 percent. Is the project a worthwhile investment based on these two measures? Why or why not?
b. Calculate the project's MIRR. Is the project a worthwhile investment based on this measure? Why or why not?
In: Finance
(Calculating MIRR) OTR Trucking Company runs a fleet of long-haul trucks and has recently expanded into the Midwest, where it has decided to build a maintenance facility. This project will require an initial cash outlay of $ 18.5 million and will generate annual cash inflows of $4.8 million per year for Years 1 through 3. In Year 4, the project will provide a net negative cash flow of $5.5 million due to anticipated expansion of and repairs to the facility. During Years 5 through 10, the project will provide cash inflows of $ 1.8 million per year. a. Calculate the project's NPV and IRR where the discount rate is 11.4 percent. Is the project a worthwhile investment based on these two measures? Why or why not? b. Calculate the project's MIRR. Is the project a worthwhile investment based on this measure? Why or why not?
In: Finance
C++ Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90) go east/west. Auxiliary highways are numbered 100-999, and service the primary highway indicated by the rightmost two digits. Thus, the 405 services the 5, and the 290 services the 90.
Your program will prompt the user to type a highway number ("Please enter a highway number, Ex: 65: "), read in the number typed by the user, and print out whether it is a primary or auxiliary highway. If auxiliary, indicate what primary highway it serves.
Also your program must indicate if the (primary) highway runs north/south or east/west, that it is an invalid number if not between 0 and 999.
In: Mechanical Engineering