Questions
The table below lists maintenance cost vs. the age of cars for a sample of seven...

The table below lists maintenance cost vs. the age of cars for a sample of seven cars. The goal was determine if there was a correlation between the age of a car and the cost to maintain it. The least squares regression equation describing the maintenance costs (Y′) vs. the age of the car (X) was determined to be

Y' = −4.75 + 2.8929X

Age of Car (yrs) Maintenance Costs ($hundreds)
2 3
3 5
4 6
5 7
6 10
7 15
8 22


What is the standard error of estimate?

Multiple Choice

  • 6.621

  • 2.573

  • 5.754

  • 3.864

In: Math

Question d) Write the regular expression statement that will match a string that starts with the...

Question d) Write the regular expression statement that will match a string that starts with the word "Warning" following by one space and then a number of any number of digits.

Question e) Write the regular expression statement that will match a string that ends with the phrase "End of Report.

Question f) Write the regular expression statement that will match a string that starts with the phrase "Begin Log:" then contains a collection of characters (other than newline) followed by the phrase "End Log".


Question g) Write the regular expression statement that will match the string "Mr.", "Ms." or "Mrs." followed by one or more spaces, followed by one uppercase character then one or more lowercase characters.

Question h) Write the regular expression statement that will match a 10 digit phone number of the format (555-555-5555 or 5555555555 or 555-5555555). We want the pattern to allow an optional dash after the first 3 numbers and after the next three numbers.

Hint use the ? operator.

In: Computer Science

When a user signs in for the first time to a website, the user must submit...

When a user signs in for the first time to a website, the user must submit personal information, such as last name, first name, email address, and so on. Typically, there are two fields for passwords, requiring the user to enter the password twice, to ensure that the user did not make a typo in the first password field.

Write a class encapsulating user with the following attributes:

UserID

Password

Reentered password

Email address

Last Name

First Name

Zip

You will store these values as strings.

Write the following methods in your class:

1. A constructor which will initialize the 7 attributes listed above.

2. Accessor, mutator, toString methods

3. A method returning the user id consisting of the first letter of the first name, last two letters of the last name and the first three nambers of the zip code and a random number (between 0 and 999)

4.. A method checking if the two Strings representing the password fields are the same, if they are return true, otherwise false.

Write a test class to create 2 user objects (using your constructor) and test all the methods in your class.

Remember to submit all your .java files, .class files and screenshots of your code and output and psuedocode

In: Computer Science

A match 5 cm long is placed 20 cm in front of a concave mirror whose...

A match 5 cm long is placed 20 cm in front of a concave mirror whose focal length is 50 cm. Find the location, size, and nature of the image.

)

In: Physics

CASE STUDY: Building a Wind powered electrical generating plant Background Integration of wind generation into a...

CASE STUDY: Building a Wind powered electrical generating plant Background Integration of wind generation into a wholesale power supply portfolio requires a proper balance between the operating characteristics of base load generation, power purchase agreement flexibility and cost of service objectives. Purchasing or generating wind power has an associated expense that must be addressed as the wholesale power supplier meets its obligation to supply a reliable, affordable and balanced supply of wholesale electric energy and related services to its member systems. The integration of wind generation into a power supply portfolio can be challenging and the “all in” costs associated with this resource must be objectively considered in order to accurately reflect the contribution this resource will make to supply portfolio pricing. Results of a Feasibility Study A feasibility study was carried out to see what the costs and consequences would be of building the Wind powered electrical generating plant. Basic data on anticipated costs and benefits are provided in Table A and B respectively. Table A Year -> 1 2 3 4 5 6 7 8 9 10 Initial capital costs 300 600 500 Cost of operations 40 42 50 46 52 61 59 Anticipated maintenance 25 42 35 41 27 29 31 Other costs 80 80 65 40 44 24 15 16 19 18 TOTAL 380 680 565 105 128 109 102 95 109 108 Table B Year -> 1 2 3 4 5 6 7 8 9 10 Income to Cooperative 45 101 122 135 136 175 201 220 Secondary income generation effects 85 119 122 163 201 305 412 415 453 487 TOTAL 85 119 167 264 323 440 548 590 654 707 1. What is the undiscounted Benefit/Cost of the project? 2. If this project could be financed at a rate of 10%, could it be economically justified? Why? 3. What is the Net Present Value of this project using a discount rate of 10%? 4. In what year does this project break even? Is this timeframe acceptable? Why?

In: Finance

1. An impartial judge of a local garden competition collects scores from two groups of judges...

1. An impartial judge of a local garden competition collects scores from two groups of judges on what he suspects to be the number one garden. He finds the first group (n = 5) has a mean score of 76. The second group (n = 3) has a mean score of 91. So that he may declare the final score, what is the weighted mean of these two groups?

2. A social scientist measures the number of minutes (per day) that a small hypothetical population of college students spends online. Student Score Student Score A 94 F 96 B 88 G 25 C 74 H 61 D 88 I 82 E 98 J 98

(a) What is the range of data in this population? min

(b) What is the IQR of data in this population? min

(c) What is the SIQR of data in this population? min

(d) What is the population variance?

(e) What is the population standard deviation? (Round your answer to two decimal places.) min

3. A sociologist records the annual household income (in thousands of dollars) among a sample of families living in a high-crime neighborhood. Locate the lower, median, and upper quartiles for the times listed below. Hint: First arrange the data in numerical order.

a) lower quartile thousand dollars

b) median thousand dollars

c) upper quartile thousand dollars

42 22 46 33 37 32 37 47 51 25

4. A theme park owner records the number of times the same kids from two separate age groups ride the newest attraction. Age 13–16 Time Age 17–21 Time 1 10 1 4 2 9 2 3 3 3 3 7 4 1 4 4 5 10 5 8 6 3 6 1 7 8 7 2 8 9 8 5 9 6 9 4 10 5 10 2 Using the computational formula, for the age group of 13–16? (Round your answers for variance and standard deviation to two decimal places.) what is the

a) SS

b) sample variance

c) standard deviation

In: Math

Problem 2 John’s Pancake House needs to buy a new grease trap owing to changes in...

Problem 2

John’s Pancake House needs to buy a new grease trap owing to changes in environmental laws. He is currently considering two different traps. Trap A costs $4000. It has a capacity of 500 gallons of grease. The operating costs of this trap are $700 per year. The trap is expected to last 4 years. Trap B costs $4000. Its capacity is 1000 gallons of grease. Annual operating costs for Trap B are $1000. When a grease trap is full it will have to be replaced (there is no salvage value). John does not foresee any more changes in the environmental laws or changes in grease trap technology. The Pancake House faces a 40% corporate tax rate and the rate of depreciation (i.e. the CCA rate) is 50% for both traps.

a. Estimate the expected useful life of grease trap B.

b. If the appropriate discount rate is 10%, which trap should John choose?

In: Finance

Write a complete java program to get input of a person’s age and their years of...

Write a complete java program to get input of a person’s age and their years of current USA citizenship. Tell them if they are eligible to run for US House of Representatives, US Senate, or President. At first, have the program just run once and give the answer for the given inputs. Give the answer in a nice format and be clear which offices the person can run for. Write good and complete pseudo code. Next, put that program in a function and call if from a loop that gets input’s from main (no input or output in the function itself). Have the loop run until the user enters 0 for their age. Finally, modify the input GUI so that the user enters only one number if years of citizenship is the same as age (two numbers when they are different). The rules for eligibility are: President: 35 years old and natural born citizen (age and year’s citizenship match) US Senate: 30 years old and 9 years citizenship US House of Representatives: 25 years old and 7 years citizenship.

In: Computer Science

Write a complete java program to get input of a person’s age and their years of...

Write a complete java program to get input of a person’s age and their years of current USA citizenship. Tell them if they are eligible to run for US House of Representatives, US Senate, or President. At first, have the program just run once and give the answer for the given inputs. Give the answer in a nice format and be clear which offices the person can run for. Write good and complete pseudo code. Next, put that program in a function and call if from a loop that gets input’s from main (no input or output in the function itself). Have the loop run until the user enters 0 for their age. Finally, modify the input GUI so that the user enters only one number if years of citizenship is the same as age (two numbers when they are different). The rules for eligibility are: President: 35 years old and natural born citizen (age and year’s citizenship match) US Senate: 30 years old and 9 years citizenship US House of Representatives: 25 years old and 7 years citizenship.

In: Computer Science

When an anthropologist finds skeletal remains, they need to figure out the height of the person....

When an anthropologist finds skeletal remains, they need to figure out the height of the person. The height of a person (in cm) and the length of their metacarpal bone (in cm) were collected for 19 randomly selected sets of skeletal remains and are in the table below. Test at the 10% level for a positive correlation between length of metacarpal and height for sets of skeletal remains.

length of metacarpal height
41 162
48 174
46 173
42 165
46 175
43 177
43 170
38 157
47 172
51 180
42 161
50 178
44 171
42 175
49 185
40 155
40 160
48 183
44 173

T: Test Statistic

t = 6.63

O: Obtain the P-value

Report the final answer to 4 decimal places.

It is possible when rounded that a p-value is 0.0000

P-value = 0.0000

M: Make a decision

  • Since the p-value ≤_________  , we fail to reject H₀


S: State a conclustion

  • There is not is significant evidence to conclude there is a positive linear relation between length of metacarpal and height for all sets of skeletal remains with a length of metacarpal between ___________cm and ___________cm.

In: Statistics and Probability