DO THIS IN C#,Design and implement class Rectangle to represent a rectangle object. The class defines the following attributes (variables) and methods: 1. Two Class variables of type double named height and width to represent the height and width of the rectangle. Set their default values to 1.0 in the default constructor. 2. A non-argument constructor method to create a default rectangle. 3. Another constructor method to create a rectangle with user-specified height and width. 4. Method getArea() that returns the area. 5. Method getPerimeter() that returns the perimeter. 6. Method getHeight() that returns the height. 7. Method getWidth() that returns the width. Now design and implement a test program to create two rectangle objects: one with default height and width, and the second is 5 units high and 6 units wide. Next, test the class methods on each object to print the information as shown below. Sample run: First object: Height: 1 unit Width: 1 unit Area: 1 unit Perimeter: 4 units Second object: Height: 5 unit Width: 6 unit Area: 30 units Perimeter: 22 units
In: Computer Science
The iodination of acetone, CH3COCH3, in aqueous solution is catalyzed by the hydrogen ion H+:
I2+CH3COCH3H+?HI+CH3COCH2I
The reaction can be followed visually by adding starch. The purple starch-iodine complex forms immediately, then disappears when the iodine has been consumed. The kinetics of the reaction may be determined by recording the time required for the color to disappear, which is the time required for the iodine, I2, to be consumed.
The following data were acquired in an iodination experiment involving acetone. All reaction times are in terms of the rate of disappearance of I2.
| Trial | Volume of 0.0010M I2 (mL) |
Volume of 0.050 M HCl (mL) |
Volume of 1.0 Macetone (mL) |
Volume of water (mL) |
Temperature (?C) |
Reaction time (s) |
| A | 5.0 | 10.0 | 10.0 | 25.0 | 25.0 | 130 |
| B | 10.0 | 10.0 | 10.0 | 20.0 | 25.0 | 249 |
| C | 10.0 | 20.0 | 10.0 | 10.0 | 25.0 | 128 |
| D | 10.0 | 10.0 | 20.0 | 10.0 | 25.0 | 131 |
| E | 10.0 | 10.0 | 10.0 | 20.0 | 42.4 | 38 |
part A
In the general rate law
rate=k[I2]^X[H+]^Y[CH3COCH3]^Z
what are the values of X, Y, and Z?
In: Chemistry
Question:
Write a program in python that reads in the file climate_data_2017_numeric.csv and prompts the user to enter the name of a field (other than Date), and then outputs the highest and lowest values recorded in that field for the month of August.
The file climate_data_2017_numeric.csv contains the following fields:
Expected print out output (Make sure your output looks exactly like the output shown):
Note: there are 2 space in front of the last line.
Available field names:
Minimum temperature (C)
Maximum temperature (C)
Rainfall (mm)
Speed of maximum wind gust (km/h)
9am Temperature (C)
9am relative humidity (%)
3pm Temperature (C)
3pm relative humidity (%)
Please enter a field name: Minimum temperature (C)
Statistics for field 'Minimum temperature (C)':
Min: 1.0 Max: 14.6
Dataset:
https://docs.google.com/spreadsheets/d/1MjyOSUrm2Nazo9vpan_4E6fAhQlr8Ok2PXu9c8syXqY/edit?usp=sharing
In: Computer Science
Suppose that the index model for stocks A and B is estimated from excess returns with the following results:
RA = 2.8% + 1.00RM + eA
RB = –1.0% + 1.30RM + eB
σM = 18%; R-squareA = 0.27; R-squareB = 0.13
Assume you create a portfolio Q, with investment proportions of 0.40 in a risky portfolio P, 0.35 in the market index, and 0.25 in T-bill. Portfolio P is composed of 70% Stock A and 30% Stock B.
a. What is the standard deviation of portfolio Q? (Calculate using numbers in decimal form, not percentages. Do not round intermediate calculations. Round your answer to 2 decimal places.)
b. What is the beta of portfolio Q? (Do not round intermediate calculations. Round your answer to 2 decimal places.
c. What is the "firm-specific" risk of portfolio Q? (Calculate using numbers in decimal form, not percentages. Do not round intermediate calculations. Round your answer to 4 decimal places.)
d. What is the covariance between the portfolio and the market index? (Calculate using numbers in decimal form, not percentages. Do not round intermediate calculations. Round your answer to 2 decimal places.
In: Finance
|
Stock |
Price Today |
Expected Price in 1 year |
Expected Dividend in 1 year |
Beta |
|
X |
$20 |
$22 |
$2.00 |
1.0 |
|
Y |
$30 |
$32 |
$1.78 |
0.9 |
|
Correlation |
|
|
Stocks A & B |
-0.66 |
|
Stocks A & C |
-0.42 |
|
Stocks A & D |
0 |
|
Stocks A & E |
0.75 |
(d) Explain the terms systematic risk and unsystematic risk and their importance in determining investment return.
In: Finance
(Each of the following parts is independent.)
|
Stock |
Price Today |
Expected Price in 1 year |
Expected Dividend in 1 year |
Beta |
|
X |
$20 |
$22 |
$2.00 |
1.0 |
|
Y |
$30 |
$32 |
$1.78 |
0.9 |
|
Correlation |
|
|
Stocks A & B |
-0.66 |
|
Stocks A & C |
-0.42 |
|
Stocks A & D |
0 |
|
Stocks A & E |
0.75 |
(d) Explain the terms systematic risk and unsystematic risk and their importance in determining investment return.
In: Finance
A 0.24 kg apple falls from a tree to the ground, 4.0m below. Ignore air resistance. Take ground level to be y=0.
A) Determine the apple's kinetic energy, K, the gravitational potential energy of the system, U, and the total mechanical energy of the system, E, when the apple's height above the ground is 4.0 m.
B) Determine the apple's kinetic energy, K, the gravitational potential energy of the system, U, and the total mechanical energy of the system, E, when the apple's height above the ground is 3.0 m.
C) Determine the apple's kinetic energy, K, the gravitational potential energy of the system, U, and the total mechanical energy of the system, E, when the apple's height above the ground is 2.0 m.
D) Determine the apple's kinetic energy, K, the gravitational potential energy of the system, U, and the total mechanical energy of the system, E, when the apple's height above the ground is 1.0 m.
E) Determine the apple's kinetic energy, K, the gravitational potential energy of the system, U, and the total mechanical energy of the system, E, when the apple's height above the ground is 0 m
In: Physics
Here is an example of T-test down blow (it doesn't have to be exactly) I need to help with my data which it is about phone service survey. Please help and I really appreciate your time. Remember first data is an example.
A third T-test was conducted to compare the relationship of how far people are willing to travel and how important the affordability of the clinic is (Table 3). The sample group was divided into two categories: people who aren’t willing to travel far (?15 miles) and people who are willing to travel far (?16 miles). It can be concluded that on average people that are willing to travel farther to visit a healthcare, don’t think the affordability of the clinic is as important as the people that aren’t willing to travel far (people that aren’t willing to travel far = 4.71, people that are willing to travel far = 4.11, p = .026). This finding indicates that healthcare consumers on average may be willing to travel farther to visit a specialty clinic or a more reputable clinic. An example of this could be someone from Minneapolis, MN traveling to Rochester, MN to visit Mayo Clinic, one of the most reputable clinics in the world. This data could also tell us that people who can’t afford to travel to a clinic farther away also care more about the affordability of the clinic
they are visiting.
Table 3. How Far People are Willing to Travel vs. Importance of Affordability
Group Statistics
|
WillingTravel.re |
N |
Mean |
Std. Deviation |
Std. Error Mean |
||
|
Affordability |
1. People that aren’t willing to travel far |
21 |
4.7143 |
.71714 .93659 |
.15649 |
|
|
2. People that are willing to travel far |
19 |
4.1053 |
.21487 |
Independent Samples Test
|
Levene's Test for Equality of Variances |
t-test for Equality of Means |
|||||||||
|
F |
Sig. |
t |
df |
Sig. (2tailed) |
Mean Difference |
Std. Error Difference |
95% Confidence Interval of the Difference |
|||
|
Lower |
Upper |
|||||||||
|
Affordability |
Equal variances assumed Equal variances not assumed |
1.101 |
.301 |
2.322 |
38 |
.026 |
.60902 |
.26228 |
.07806 |
1.13998 |
|
2.291 |
33.642 |
.028 |
.60902 |
.26582 |
.06861 |
1.14944 |
||||
Here is my data down blow and I need help with interpret or explain just like the example. Thank you so much!
|
Group Statistics |
|||||
|
Gender |
N |
Mean |
Std. Deviation |
Std. Error Mean |
|
|
Cost per line |
Male |
17 |
2.9412 |
1.24853 |
.30281 |
|
Female |
18 |
2.1111 |
1.18266 |
.27876 |
|
|
Levene's Test for Equality of Variances |
t-test for Equality of Means |
||||||||||
|
F |
Sig. |
T |
df |
Sig. (2-tailed) |
Mean Difference |
Std. Error Difference |
95 % confidence interval of the difference |
||||
|
Lower |
Upper |
||||||||||
|
Cost per line |
Equal variances assumed |
.451 |
.507 |
2.020 |
33 |
.052 |
.83007 |
.41093 |
-.00597 |
1.66610 |
|
|
Equal variances assumed |
2.017 |
32.584 |
.052 |
.83007 |
.41158 |
-.00771 |
1.66784 |
||||
In: Statistics and Probability
Gallatin Carpet Cleaning is a small, family-owned business operating out of Bozeman, Montana. For its services, the company has always charged a flat fee per hundred square feet of carpet cleaned. The current fee is $23.55 per hundred square feet. However, there is some question about whether the company is actually making any money on jobs for some customers—particularly those located on remote ranches that require considerable travel time.
The owner’s daughter, home for the summer from college, has suggested investigating this question using activity-based costing. After some discussion, she designed a simple system consisting of four activity cost pools. The activity cost pools and their activity measures appear below:
Activity Cost Pool Activity Measure Activity for the Year Cleaning carpets Square feet cleaned (00s) 11,500 hundred square feet Travel to jobs Miles driven 241,000 miles Job support Number of jobs 1,900 jobs Other (organization-sustaining costs and idle capacity costs) None Not applicable
The total cost of operating the company for the year is $353,000 which includes the following costs: Wages $ 144,000 Cleaning supplies 26,000 Cleaning equipment depreciation 14,000 Vehicle expenses 26,000 Office expenses 58,000 President’s compensation 85,000 Total cost $ 353,000 Resource consumption is distributed across the activities as follows:
Distribution of Resource Consumption Across Activities Cleaning Carpets Travel to Jobs Job Support Other Total Wages 79 % 15 % 0 % 6 % 100 % Cleaning supplies 100 % 0 % 0 % 0 % 100 % Cleaning equipment depreciation 75 % 0 % 0 % 25 % 100 % Vehicle expenses 0 % 82 % 0 % 18 % 100 % Office expenses 0 % 0 % 56 % 44 % 100 % President’s compensation 0 % 0 % 30 % 70 % 100 % Job support consists of receiving calls from potential customers at the home office, scheduling jobs, billing, resolving issues, and so on. Required: 1. Prepare the first-stage allocation of costs to the activity cost pools. 2. Compute the activity rates for the activity cost pools. 3. The company recently completed a 600 square foot carpet-cleaning job at the Flying N Ranch—a 58-mile round-trip journey from the company’s offices in Bozeman. Compute the cost of this job using the activity-based costing system. 4. The revenue from the Flying N Ranch was $141.30 (600 square feet @ $23.55 per hundred square feet). Calculate the customer margin earned on this job. This is the last question in the assignment. To submit, use Alt + S. To access other questions, proceed to the question map button.Next Visit question mapQuestion 9 of 9 Total9 of 9
In: Accounting
|
Gallatin Carpet Cleaning is a small, family-owned business operating out of Bozeman, Montana. For its services, the company has always charged a flat fee per hundred square feet of carpet cleaned. The current fee is $22.65 per hundred square feet. However, there is some question about whether the company is actually making any money on jobs for some customers—particularly those located on remote ranches that require considerable travel time. The owner’s daughter, home for the summer from college, has suggested investigating this question using activity-based costing. After some discussion, a simple system consisting of four activity cost pools seemed to be adequate. The activity cost pools and their activity measures appear below: |
| Activity Cost Pool | Activity Measure | Activity for the Year | |
| Cleaning carpets | Square feet cleaned (00s) | 14,500 | hundred square feet |
| Travel to jobs | Miles driven | 231,500 | miles |
| Job support | Number of jobs | 1,700 | jobs |
| Other (costs of idle
capacity and organization-sustaining costs) |
None | Not applicable | |
|
The total cost of operating the company for the year is $358,000, which includes the following costs: |
| Wages | $ | 138,000 |
| Cleaning supplies | 29,000 | |
| Cleaning equipment depreciation | 19,000 | |
| Vehicle expenses | 34,000 | |
| Office expenses | 57,000 | |
| President’s compensation | 81,000 | |
| Total cost | $ | 358,000 |
|
Resource consumption is distributed across the activities as follows: |
|
Distribution of Resource Consumption Across Activities |
| Cleaning Carpets | Travel to Jobs | Job Support | Other | Total | ||||||
| Wages | 80 | % | 14 | % | 0 | % | 6 | % | 100 | % |
| Cleaning supplies | 100 | % | 0 | % | 0 | % | 0 | % | 100 | % |
| Cleaning equipment depreciation | 66 | % | 0 | % | 0 | % | 34 | % | 100 | % |
| Vehicle expenses | 0 | % | 80 | % | 0 | % | 20 | % | 100 | % |
| Office expenses | 0 | % | 0 | % | 58 | % | 42 | % | 100 | % |
| President’s compensation | 0 | % | 0 | % | 31 | % | 69 | % | 100 | % |
| Job support consists of
receiving calls from potential customers at the home office,
scheduling jobs, billing, resolving issues, and so on. |
| Required: |
| 1. |
Prepare the first-stage allocation of costs to the activity cost pools. |
| 2. | Compute the activity rates for the activity cost pools. (Round your answers to 2 decimal places.) |
| 3. |
The company recently completed a 6 hundred square foot carpet-cleaning job at the Flying N ranch—a 56.00-mile round-trip journey from the company’s offices in Bozeman. Compute the cost of this job using the activity-based costing system. (Round your intermediate and final answers to 2 decimal places.) |
| 4. |
The revenue from the Flying N ranch was $135.90 (6 hundred square feet at $22.65 per hundred square feet). Prepare a report showing the margin from this job. (Round your intermediate calculations and final answers to 2 decimal places.) |
In: Accounting