Construct the 2 × 2 matrix for the linear transformations R 2 → R 2 defined by the following compositions. In each case, write down the matrix of each transformation, then multiply the matrices in the correct order.
(a) A dilation by a factor of 4, then a reflection across the x-axis.
(b) A counterclockwise rotation through π/2 , then a dilation by a factor of 1/2 .
(c) A reflection about the line x = y, then a rotation though an angle of π.
In: Math
A loan officer compares the interest rates for 48-month fixed-rate auto loans and 48-month variable-rate auto loans. Two independent, random samples of auto loan rates are selected. A sample of eight 48-month fixed-rate auto loans and a sample of five variable-rate auto loans had the following loan rates:
| Fixed(%) | Variable(%) |
|
4.29 |
3.59 |
|
3.75 |
2.75 |
|
3.5 |
2.99 |
|
3.99 |
2.5 |
|
3.75 |
3 |
|
3.99 |
|
|
5.4 |
|
|
4 |
Answer the following questions:
Let's define μFμF as the population mean loan rate for fixed-rate auto loans and
μVμV as the population mean loan rate for variable-rate auto loans.
a. The loan officer thinks the mean loan rates for fixed-rate auto loans is at least 1% greater than the mean loan rates for the variable-rate auto loans. Set up the null and alternative hypotheses needed to determine whether this claim is correct.
H0: μFμF-μVμV (Click to select)≠0<1≠1≤ 1=0≥1>1>0≥0≤ 0=1<0
Ha: μFμF-μVμV (Click to select)≤1>1≠0=0≤0>0 ≠1<0<1≥1=1
b. What is the critical value rejection rule. (Assume unequal variances and a significance level of 0.05.Answers should be in 4 decimals.)
Critical value rule: Reject H0 if (Click to select)t<-t alphat > t alphat > t alpha/2 or t <-t alpha/2 where the critical value is .
c. What is the t test statistic and p-value? (4 decimals)
t=
p-value=
What is the value in the numerator of the test statistic?
What is the value in the denominator of the test statistic?
Which one of the following is the correct p-value calculation?(Click to select)2 x (1-t.inv(0.95,10))1-t.dist(0.430,10,true)t.dist(0.430,10,true)2 x (1-t.dist(0.430,10,true))t.inv(0.95,10)1-t.inv(0.95,10)
d. With 95% confidence we (Click to select)cancannot conclude that the mean loan rate for fixed-rate auto-loans is at least 1% greater than the loan rate for variable-rate auto-loans.
e. We have (Click to select)extremely strongsomenovery strongstrong evidence that the mean loan rates for fixed-rate auto loans is at least 1% greater than the mean loan rates for the variable rate auto loans.
f. Calculate a 95 percent confidence interval for the difference between the mean rates for fixed-rate and variable-rate 48-month auto loans.
_____ ≤ μFμF-μVμV ≤ _____ (4 decimals).
In: Statistics and Probability
A friend proposes to him to invest in a business for which he has projected the following costs and income: 1. Initial cost of $ 100 0002. Expenditure in year 1 of $ 50 0003. Annual expenses from year 2 to 10 of $ 10 000. Additionally he projects that from In year 4, these expenses will increase by $ 2,000 each year. 4. Annual income of $ 40,000 from year 1 to 10. Additionally, it projects that from year 4, income will grow by 15% each year. a) (10 points) calculate the PV using a 5% rate b) (5 points) calculate the annual value using a 5% rate c) (5 points) would you invest in this business? Why? ~ 5 ~
In: Accounting
please fix the code at the bottom to also report the percentages as well as the counts. the person who did it forgot this part . the code is bellow the instructions:
We will generate random values, but they should be limited to 0, 1, 2, or 3. To do this, think of a way to map the random value to a small value; there are many ways to do this, however, the way you choose must be reproducible. That is, if it maps value X to the value 2, it should do that every time the value is X. Create a function that accomplishes random number generation and mapping: the function should return a single integer that is a random value of 0, 1, 2, or 3. It does not need any inputs. To verify that it works, have your program print about 20 from it. If your program gives you values like -1 or 4, you know you have a problem. Also, if it never generates one of the values (0, 1, 2, or 3), then there is a problem.
Then create an array of 4 ints. Initialize that array to 0 values. Have your program prompt the user for an integer number, read it in, then generate that many random values (0, 1, 2, or 3). Do not show the random values. Instead, count them, i.e., every time the function produces a 0, the integer at array position 0 should be incremented. Once all the random numbers have been processed, display the counts. Verify that the numbers make sense; if your program says that there were 4 zero values, 6 ones, 5 twos, and 3 threes, but it was supposed to generate 20 values, you know there is a problem because 4+6+5+3 = 18, not 20. Also have your program report the percentages as well as the counts. The percentages should be shown with one digit after the decimal, and they should add up to 100% (neglecting any round-off error).
Test your program a few times, and note the relative number of each generated value. Assuming an even distribution, you would see the same counts for each value, i.e. 0 would be generated 25% of the time, 1 would be 25% of the time, etc. The more values the program generates, the closer to 25% each one should be.
Prepare the log like you normally do: use "cat" to show the C programs, use "gcc" to compile them, and show that the programs run.
code:
#include<stdio.h>
#include<stdlib.h>
int main()
{
int seed;
// Taking seed value as input from the user
printf("Enter a seed value (0 to quit): \n");
scanf("%d", &seed);
// Running the loop until user enters 0 to quit
// count array will count frequency of 0 , 1 , 2 ,3
int count[4];
for (int i = 0; i < 4; i++) count[i] = 0;
while (seed != 0)
{
// Passing seed value to the function srand()
srand(seed);
// Printing 5 random values
for (int i = 0; i < 5; i++) {
// generae a random number
// and take it modulo with 4
int rand_num = rand() % 4;
printf("%d ", rand_num);
count[rand_num]++;
}
printf("\n");
// Taking next seed value as input from the user
printf("Enter a seed value (0 to quit): \n");
scanf("%d", &seed);
}
// print count of each element [0-3]
for (int i = 0; i < 4; i++) {
printf("Count of %d = %d\n", i , count[i]);
}
return 0;
}
In: Computer Science
Mills Corporation acquired as an investment $260 million of 7%
bonds, dated July 1, on July 1, 2021. Company management is holding
the bonds in its trading portfolio. The market interest rate
(yield) was 5% for bonds of similar risk and maturity. Mills paid
$320 million for the bonds. The company will receive interest
semiannually on June 30 and December 31. As a result of changing
market conditions, the fair value of the bonds at December 31,
2021, was $300 million.
Required:
1. & 2. Prepare the journal entry to record
Mills’ investment in the bonds on July 1, 2021 and interest on
December 31, 2021, at the effective (market) rate.
3. Prepare the journal entry by Mills to record
any fair value adjustment necessary for the year ended December 31,
2021.
4. Suppose Moody’s bond rating agency upgraded the
risk rating of the bonds, and Mills decided to sell the investment
on January 2, 2022, for $330 million. Prepare the journal entries
required on the date of sale.
Record Mills' investment in the bonds on July 1, 2021.
2
Record interest on December 31, 2021.
1
Prepare any journal entry needed to adjust the investment to fair value.
1
Prepare any journal entry needed to adjust the investment to fair value.
2
Record the sale of the investment by Mills.
DONT USE OTHER CHEGG FOR REQUIREMENT 4 IT WAS WRONG
In: Accounting
Need this answer in less than 30 mins Please!
Vollie Company, produces trucks. Considering the environment and
following government rule, the company is considering changing its
degreaser machine to clean water from engine oil, before the water
is thrown to the creek behind the factory. This investment requires
$ 5 000 000. The machine needs a special installation and it costs
$ 50 000. It is estimated that this machine will last five years
with $ 500 000 salvage value. The expected incremental after-tax
cash flows (cash flows of the new machine minus cash flows of the
old machine) associated with the investment are as follow:
|
YEAR |
CASH BENEFITS |
CASH EXPENSES |
|
1 |
$3 200 000 |
$1 800 000 |
|
2 |
3 300 000 |
1 100 000 |
|
3 |
3 900 000 |
3 000 000 |
|
4 |
3 100 000 |
2 750 000 |
|
5 |
2 900 000 |
1 750 000 |
Vollie has a cost of capital equal to 14%. The company applies a straight-line depreciation method.
REQUIRED:
1. Compute the Accounting Rate of Return (1 mark)
2. Calculate the NPV of the proposed project
3. Based on payback and NPV, provide your opinion, should accept or reject the project. Justify your answer (1 mark)
4. Explain the impacts of your decision in (3) to the business sustainability/ environmental performance
In: Accounting
ollie Company, produces trucks. Considering the environment and following government rule, the company is considering changing its degreaser machine to clean water from engine oil, before the water is thrown to the creek behind the factory. This investment requires $ 5 000 000. The machine needs a special installation and it costs $ 50 000. It is estimated that this machine will last five years with $ 500 000 salvage value. The expected incremental after-tax cash flows (cash flows of the new machine minus cash flows of the old machine) associated with the investment are as follow:
|
YEAR |
CASH BENEFITS |
CASH EXPENSES |
|
1 |
$3 200 000 |
$1 800 000 |
|
2 |
3 300 000 |
1 100 000 |
|
3 |
3 900 000 |
3 000 000 |
|
4 |
3 100 000 |
2 750 000 |
|
5 |
2 900 000 |
1 750 000 |
Vollie has a cost of capital equal to 14%. The company applies a straight-line depreciation method.
REQUIRED:
1. Compute the Accounting Rate of Return (1 mark)
2. Calculate the NPV of the proposed project
3. Based on payback and NPV, provide your opinion, should accept or reject the project. Justify your answer (1 mark)
4. Explain the impacts
of your decision in (3) to the business sustainability/
environmental performance
Need help immediately in answering this question
In: Accounting
how can i put in the financial calculator
Click here to read the eBook: Uneven Cash Flows
PV OF CASH FLOW STREAM
A rookie quarterback is negotiating his first NFL contract. His opportunity cost is 6%. He has been offered three possible 4-year contracts. Payments are guaranteed, and they would be made at the end of each year. Terms of each contract are as follows:
| 1 | 2 | 3 | 4 |
| Contract 1 | $2,500,000 | $2,500,000 | $2,500,000 | $2,500,000 |
| Contract 2 | $2,500,000 | $3,500,000 | $4,500,000 | $5,000,000 |
| Contract 3 | $7,000,000 | $1,500,000 | $1,500,000 | $1,500,000 |
As his adviser, which contract would you recommend that he accept?
Select the correct answer.
|
|||
|
|||
|
|||
|
|||
|
In: Finance
Tombro Industries is in the process of automating one of its plants and developing a flexible manufacturing system. The company is finding it necessary to make many changes in operating procedures. Progress has been slow, particularly in trying to develop new performance measures for the factory.
In an effort to evaluate performance and determine where improvements can be made, management has gathered the following data relating to activities over the last four months:
|
Month |
||||||||
| 1 | 2 | 3 | 4 | |||||
| Quality control measures: | ||||||||
| Number of defects | 195 | 173 | 134 | 95 | ||||
| Number of warranty claims | 56 | 49 | 40 | 37 | ||||
| Number of customer complaints | 112 | 106 | 89 | 68 | ||||
| Material control measures: | ||||||||
| Purchase order lead time | 10 days | 9 days | 7 days | 5 days | ||||
| Scrap as a percent of total cost | 2 | % | 2 | % | 3 | % | 6 | % |
| Machine performance measures: | ||||||||
| Machine downtime as a percentage of availability | 3 | % | 4 | % | 4 | % | 6 | % |
| Use as a percentage of availability | 95 | % | 92 | % | 89 | % | 85 | % |
| Setup time (hours) | 10 | 12 | 13 | 14 | ||||
| Delivery performance measures: | ||||||||
| Throughput time | ? | ? | ? | ? | ||||
| Manufacturing cycle efficiency (MCE) | ? | ? | ? | ? | ||||
| Delivery cycle time | ? | ? | ? | ? | ||||
| Percentage of on-time deliveries | 96 | % | 95 | % | 92 | % | 89 | % |
The president has read in industry journals that throughput time, MCE, and delivery cycle time are important measures of performance, but no one is sure how they are computed. You have been asked to assist the company, and you have gathered the following data relating to these measures:
|
Average per Month (in days) |
||||
| 1 | 2 | 3 | 4 | |
| Wait time per order before start of production | 9.0 | 10.8 | 12.0 | 14.0 |
| Inspection time per unit | 0.8 | 0.7 | 0.7 | 0.7 |
| Process time per unit | 2.8 | 2.7 | 2.6 | 1.1 |
| Queue time per unit | 4.1 | 4.4 | 6.3 | 8.6 |
| Move time per unit | 0.3 | 0.4 | 0.4 | 0.6 |
Required:
1-a. Compute the throughput time for each month. (Round your answers to 1 decimal place.)
1-b. Compute the manufacturing cycle efficiency (MCE) for each month. (Round your answers to 1 decimal place.)
1-c. Compute the delivery cycle time for each month. (Round your answers to 1 decimal place.)
3-a. Refer to the inspection time, process time, and so forth, given for month 4. Assume that in month 5 the inspection time, process time, and so forth, are the same as for month 4, except that the company is able to completely eliminate the queue time during production using Lean Production. Compute the new throughput time and MCE. (Round your answers to 1 decimal place.)
3-b. Refer to the move time, process time, and so forth, given for month 4. Assume that in month 6 the inspection time, process time, and so forth, are the same as in month 4, except that the company is able to eliminate both the queue time during production and the inspection time using Lean Production. Compute the new throughput time and MCE.. (Round your answers to 1 decimal place.)
In: Accounting
JAVA
Please put detailed comments as well explaining your program.
I'm in a beginning programming class, and so please use more basic techniques such as if else statements, switch operators, and for loops if needed.
http://imgur.com/a/xx9Yc
Pseudocode for the main method:
Print the headings
Print the directions
Prompt for the month
If the month is an integer (Hint: Use the Scanner class hasNextInt method.)
Input the integer for the month
Get the string for the month (Use your method)
Otherwise
Input the string for the month
Get the integer for the month (Use your method)
Prompt for the day
Input the day
Prompt for the year
Input the year
Get the holiday
Print the output
THE PROBLEM:
You must use switch statements for some part of the homework.
Write a program that inputs a month, day, and year from the user and outputs the corresponding date in the following two standard date formats:
6/12/2005 June 12, 2005
Also your program must print the name of any holiday associated with the date.
For example:
3/17/2010 March 17, 2010 St. Patrick’s Day
Your program should ask the user how many times the user wants to run the code and then you need to use a for loop to repeat the run that many times.
REQUIREMENTS:
You must use good programming style.
The user can enter the month either as a numeric value or a String. i.e. the user could enter a 5 or May.
You may assume the data that the user enters is valid data.
Your program must print a report similar to that shown in the sample output on the last page of this handout.
You must solve this problem by implementing and using the following methods:
printDirections
void method that prints a message to the user that explains what the program will do and how the month data can be entered. (See the sample output above.)
getMonthString
method that has 1 parameter, the month as an integer (1..12).
This method returns the corresponding name of the month as a String.
getMonthNumber
method that has 1 parameter, the name of the month in a String.
This method returns the corresponding integer value for that month name.
HINT: Before you read the data for the month, use the Scanner class hasNextInt method to determine what kind of data the user entered for the month. Using hasNextInt you can determine if the user is entering an integer for the month or not.
getHoliday
This method has 2 int type parameters for month and day.
The method returns a String that is the name of a holiday that is associated with the date represented by the parameters. If there is no holiday associated with that date, then the method returns an empty String (“”).
Use nested switch statements to implement this method. Use one switch statement for the months. Inside the case for each month, use a switch statement that has a case for each day in that month that is a holiday. Inside each of those day cases, set the holiday string to the name of the holiday.
NOTE: You can also include holidays for your birthday, anniversary, or whatever …
isEaster
This method has 3 int type parameters for month, day and year.
This method returns true if the date represented by the 3 parameters is Easter, otherwise it returns false.
To implement this method: use the following formula to figure out the month and the day of easter for the given year.
goldenNumber = (year % 19) + 1;
a = (24 + 19*(goldenNumber - 1)) % 30; b = a - a/28;
c = (year + year/4 + b - 13) % 7; d = b - c;
easterMonth = 3 + (d + 40)/44;
easterDay = d + 28 - 31*(easterMonth/4);
To use this method, you will have to add a third parameter to the getHoliday method for the year, and then inside the getHoliday method, after the switch statements, call this method.
NOTE: If the holiday string is already longer than 0, this day is already associated with another holiday,
(For example, maybe “Grandma’s Birthday”, then getHoliday should return “Easter and Grandma’s Birthday”.
To test the isEaster method, make April 4 “Grandma’s Birthday” and test this method using 4/4/2010. Also test it for Easter in a year where Easter is not on April 4.
Here is a list of holidays that your need needs to generate the appropriate output:
1/1 "New Year's Day";
1/18 "Martin Luther King Jr. Day";
2/2 "Ground Hog Day";
2/12 "Abraham Lincoln's Birthday";
2/14 "St. Valeninte's Day";
2/22 "George Washington's Birthday";
3/17 "St. Patrick's Day"; 4/1 "April Fool's Day";
4/4 "Grandma's Birthday";
4/22 "Earth Day";
4/30 "Arbor Day";
5/1 "May Day";
5/5 "Cinco de Mayo";
7/4 "Independence Day";
8/1 "International Friendship Day";
10/1 "Columbus Day";
10/31 "Halloween";
11/11 "Vereran's Day";
12/25 "Christmas";
12/31 "New Year's Eve";
?? "Easter";
Sample outputs
|
CSC 15 – Chapter 4 – [Your Name] This program will ask you for a month, day, and year and will print the corresponding date in two standard date formats. You may enter the month as: * a numeric value (1..12) or as * an unabbreviated month name (January or February etc....) How many times do you want to run the program: 3 Enter the month: 10 Enter the day: 31 Enter the year: 2010 The Date is: 10/31/2010 October 31, 2010 Halloween Enter the month: 1 Enter the day: 1 Enter the year: 2014 The Date is: 1/1/2014 January 1, 2014 New Year's Day Enter the month: 4 Enter the day: 4 Enter the year: 2010 The Date is: 4/4/2010 April 4, 2010 Easter and Grandma's Birthday |
Pseudocode for the main method:
Print the headings
Print the directions
Prompt for the month
If the month is an integer (Hint: Use the Scanner class hasNextInt method.)
Input the integer for the month
Get the string for the month (Use your method)
Otherwise
Input the string for the month
Get the integer for the month (Use your method)
Prompt for the day
Input the day
Prompt for the year
Input the year
Get the holiday
Print the output
In: Computer Science