Questions
Prepare a vertical analysis or same size income statement and balance sheet for Pepsi and Coca...

Prepare a vertical analysis or same size income statement and balance sheet for Pepsi and Coca Cola for 2016 and 2017. Write a paragraph highlighting what you learn from the percentages of sales or total assets calculated from the financial statements. Write also about the comparison between 2016 and 2017 and between Coke and Pepsi.

In: Accounting

Based on A. Nilsson's (2016) 'The Psychology of Worldviews' what are some of the psychological characteristics...

Based on A. Nilsson's (2016) 'The Psychology of Worldviews' what are some of the psychological characteristics of worldviews, and how do those affect us? How do those influence our cultural, social, political, and relational beings? How do we find out our own worldviews from Arthur Nilsson's (2016) Psychology of Worldviews?

In: Psychology

Write below in Python Get user name from keyboard using input() function (Example username = input("Enter...

Write below in Python

Get user name from keyboard using input() function

(Example username = input("Enter username:")

A: What is your name?

B: My name is XXXX.

B: What is yours?

A: My name is XXXX.

A: Nice to meet you.

B: Nice to meet you, too.

Use print statement and use input() function

In: Computer Science

4. The highway department is testing two types of reflecting paint for concrete bridge end pillars....

4. The highway department is testing two types of reflecting paint for concrete bridge end pillars. The two kinds of paint are alike in every respect except that one is orange and the other is yellow. The orange paint is applied to 12 bridges, and the yellow paint is applied to 12 bridges. After a period of 1 year, reflectometer readings were made on all these bridge end pillars. (A higher reading means better visibility.) For the orange paint, the mean reflectometer reading was x1 = 9.4, with standard deviation s1 = 2.1. For the yellow paint the mean was x2 = 6.9, with standard deviation s2 = 2.5. Based on the data, can we conclude that the yellow paint has less visibility after 1 year? Use a 1% level of significance.

a. What are we testing in this problem?

1. difference of proportions

2. difference of means

3. single mean

4. paired difference

5. single proportion

b. What is the level of significance?

c. State the null and alternate hypotheses.

H0: μ1μ2; H1: μ1 < μ2

H0: μ1μ2; H1: μ1 > μ2     

H0: μ1 = μ2; H1: μ1μ2

H0: μ1μ2; H1: μ1 = μ2


d. What sampling distribution will you use? What assumptions are you making?

The Student's t. We assume that both population distributions are approximately normal with known population standard deviations.

The Student's t. We assume that both population distributions are approximately normal with unknown population standard deviations.     

The standard normal. We assume that both population distributions are approximately normal with unknown population standard deviations.

The standard normal. We assume that both population distributions are approximately normal with known population standard deviations.


e. What is the value of the sample test statistic? (Test the difference μ1μ2. Round your answer to three decimal places.)

f. Estimate the P-value.

P-value > 0.250

0.125 < P-value < 0.250    

0.050 < P-value < 0.1250.025 < P-value < 0.050

0.005 < P-value < 0.025

P-value < 0.005


g. Sketch the sampling distribution and show the area corresponding to the P-value.


h. Will you reject or fail to reject the null hypothesis? Are the data statistically significant at level α?

At the α = 0.01 level, we reject the null hypothesis and conclude the data are statistically significant.

At the α = 0.01 level, we fail to reject the null hypothesis and conclude the data are not statistically significant.     

At the α = 0.01 level, we reject the null hypothesis and conclude the data are not statistically significant.

At the α = 0.01 level, we fail to reject the null hypothesis and conclude the data are statistically significant.


i. Interpret your conclusion in the context of the application.

There is sufficient evidence at the 0.01 level that the yellow paint has less visibility after 1 year.

There is insufficient evidence at the 0.01 level that the yellow paint has less visibility after 1 year.    

In: Statistics and Probability

The highway department is testing two types of reflecting paint for concrete bridge end pillars. The...

The highway department is testing two types of reflecting paint for concrete bridge end pillars. The two kinds of paint are alike in every respect except that one is orange and the other is yellow. The orange paint is applied to 11 bridges, and the yellow paint is applied to 11 bridges. After a period of 1 year, reflectometer readings were made on all these bridge end pillars. (A higher reading means better visibility.) For the orange paint, the mean reflectometer reading was x1 = 9.4, with standard deviation s1 = 2.1. For the yellow paint the mean was x2 = 6.4, with standard deviation s2 = 1.7. Based on these data, can we conclude that the yellow paint has less visibility after 1 year? Use a 1% level of significance.

What are we testing in this problem? single mean single proportion paired difference difference of means difference of proportions (a) What is the level of significance? State the null and alternate hypotheses. H0: μ1 = μ2; H1: μ1 < μ2 H0: μ1 = μ2; H1: μ1 > μ2 H0: μ1 > μ2; H1: μ1 = μ2 H0: μ1 = μ2; H1: μ1 ≠ μ2 (b) What sampling distribution will you use? What assumptions are you making? The standard normal. We assume that both population distributions are approximately normal with unknown standard deviations. The Student's t. We assume that both population distributions are approximately normal with unknown standard deviations. The standard normal. We assume that both population distributions are approximately normal with known standard deviations. The Student's t. We assume that both population distributions are approximately normal with known standard deviations. What is the value of the sample test statistic? (Test the difference μ1 − μ2. Round your answer to three decimal places.) (d) Find (or estimate) the P-value. (Round your answer to four decimal places.) Sketch the sampling distribution and show the area corresponding to the P-value. Maple Generated Plot Maple Generated Plot Maple Generated Plot Maple Generated Plot (d) Based on your answers in parts (a) to (c), will you reject or fail to reject the null hypothesis? Are the data statistically significant at level α? At the α = 0.01 level, we reject the null hypothesis and conclude the data are statistically significant. At the α = 0.01 level, we fail to reject the null hypothesis and conclude the data are not statistically significant. At the α = 0.01 level, we reject the null hypothesis and conclude the data are not statistically significant. At the α = 0.01 level, we fail to reject the null hypothesis and conclude the data are statistically significant. (e) Interpret your conclusion in the context of the application. There is sufficient evidence at the 0.01 level that the yellow paint has less visibility after 1 year. There is insufficient evidence at the 0.01 level that the yellow paint has less visibility after 1 year.

In: Statistics and Probability

The highway department is testing two types of reflecting paint for concrete bridge end pillars. The...

The highway department is testing two types of reflecting paint for concrete bridge end pillars. The two kinds of paint are alike in every respect except that one is orange and the other is yellow. The orange paint is applied to 12 bridges, and the yellow paint is applied to 12 bridges. After a period of 1 year, reflectometer readings were made on all these bridge end pillars. (A higher reading means better visibility.) For the orange paint, the mean reflectometer reading was x1 = 9.4, with standard deviation s1 = 2.1. For the yellow paint the mean was x2 = 7.1, with standard deviation s2 = 2.3. Based on the data, can we conclude that the yellow paint has less visibility after 1 year? Use a 1% level of significance

a.) What are we testing in this problem?

-difference of means

-single proportion

-single mean

-difference of proportions

-paired difference

b.) What is the level of significance? ______

c.) State the null and alternate hypotheses.

-H0: μ1 ≥ μ2; H1: μ1 < μ2

-H0: μ1 = μ2; H1: μ1 ≠ μ2

-H0: μ1 ≠ μ2; H1: μ1 = μ2

-H0: μ1 ≤ μ2; H1: μ1 > μ2

d.) What sampling distribution will you use? What assumptions are you making?

-The Student's t. We assume that both population distributions are approximately normal with known population standard deviations.

-The standard normal. We assume that both population distributions are approximately normal with known population standard deviations.

-The Student's t. We assume that both population distributions are approximately normal with unknown population standard deviations.

-The standard normal. We assume that both population distributions are approximately normal with unknown population standard deviations.

e.) What is the value of the sample test statistic? (Test the difference μ1 − μ2. Round your answer to three decimal places.) _____________

f.) Estimate the P-value.

-P-value > 0.250

-0.125 < P-value < 0.250

-0.050 < P-value < 0.125

-0.025 < P-value < 0.050

-0.005 < P-value < 0.025

-P-value < 0.005

f.) Sketch the sampling distribution and show the area corresponding to the P-value.

g.) Will you reject or fail to reject the null hypothesis? Are the data statistically significant at level α?

-At the α = 0.01 level, we reject the null hypothesis and conclude the data are statistically significant.

-At the α = 0.01 level, we fail to reject the null hypothesis and conclude the data are not statistically significant.

-At the α = 0.01 level, we reject the null hypothesis and conclude the data are not statistically significant.

-At the α = 0.01 level, we fail to reject the null hypothesis and conclude the data are statistically significant.

h.) Interpret your conclusion in the context of the application.

-There is sufficient evidence at the 0.01 level that the yellow paint has less visibility after 1 year.

-There is insufficient evidence at the 0.01 level that the yellow paint has less visibility after 1 year.

In: Statistics and Probability

Q1.Which of the following are propositions? (a) The Apple Macintosh is a 256-bit computer. (b) Why...

Q1.Which of the following are propositions?

(a) The Apple Macintosh is a 256-bit computer.

(b) Why are you here?

(c) 8 + 10 = 12

Q2.Construct truth tables for each of the following compound propositions. What do you notice about the results?

(a) p∨(¬pq)

(b) pq

Q3.For the following multiple choice question, pick one choice (1. A tautology; 2. A contradiction; 3. Neither) for each compound proposition.

  • p ⋏(¬p)    
  • p ⋏(¬q)    

For the following multiple choice question, pick one choice by circling it (you may have to give some explanations.)

Q4. Match the term on the left to the number of the matching expression on the right.

(a) converse of Q ଠS                                                                              

(b) a tautology                                                                                               

(c) a contradiction                                                                                        1. ¬Q àS

(d) equivalent to Q àS                                                                                   2. ¬S v S ^ S

(e) inverse of Q à¬S                                                                                     

(f) contrapositive of QàS   

                                                                      

Q5.Is this a valid argument?                                                                                                                 

               

                                                                                                                      

Q6. For each of the premise-conclusion pairs below, give a valid step-by-step argument (proof) along with the name of the inference rule used in each step.

Premise: {p v q, q àr, p ^ s àt, ¬r,¬q àu ^ s}, conclusion:t.

Q7.Use the truth table to verify the following statement:

¬ (p ∨¬q) ∨(¬p ∧¬q) ≡ p

Q8.Let Q(n) be the predicate “n2≤ 49.”

Write Q(3), Q(−3), Q(5), Q(−5), Q(8), and Q(−8) and indicate which of these statements are true and which are false.

Q9.In 1–2, write a negation (¬) for each statement.

1.∃x ∈R, if x2≥ 1 then x ≤ 0.

  1. ∀n ∈Z, if n is composite then n is even or n =

PS: A composite number is a positive integer which is not prime (i.e., which has factors other than 1 and itself).

In: Computer Science

Java Programming : Email username generator Write an application that asks the user to enter first...

Java Programming :

Email username generator Write an application that asks the user to enter first name and last name. Generate the username from the first five letters of the last name, followed by the first two letters of the first name. Use the .toLowerCase() method to insure all strings are lower case. String aString = “Abcd” aString.toLowerCase(); aString = abcd Use aString.substring(start position, end position + 1) aString.substring(0, 3) yields the first 3 letters of a string If the last name is no more than five letters, use the entire name. If it is more than five letters, use the first 5 letters Print the email username you generated with @myCollege.edu appended

In: Computer Science

Write a java program that prompts user to enter his name and KSU ID using format...

Write a java program that prompts user to enter his name and KSU ID using format name-ID as one value, his gender as char, and his GPA out of 5. Then your program should do the following:

Print whether the ID is valid or not, where a valid ID should be of length = 9, and should start with 4.
Calculate the GPA out of 100 which is calculated as follows GPA/5 * 100.
Update the name after converting the first letter to uppercase.
Print “Mr.” before name if the gender is ‘M’, and print “Mrs.” before name if the gender is ‘F’. Otherwise print message “invalid gender” without name and GPA. Then print the new GPA.

In: Computer Science

Python 3 Functions that give answers Define and complete the functions described below. * function name:...

Python 3 Functions that give answers

Define and complete the functions described below.
* function name: get_name
* parameters: none
* returns: string
* operation:
Here, I just want you to return YOUR name.
* expected output:

JUST RETURNS THE NAME...TO VIEW IT YOU CAN PRINT IT AS BELOW
>>> print(get_name())
John


* function name: get_full_name
* parameters: fname (string)
lname (string)
first_last (boolean)
* returns: string
* operation:
Return (again, NOT print) the full name based on the first and last names
passed in as arguments. The first_last argument will be True if you should
return the name as <fname lname> and False if you shoudl return the name
as <lname, fname>.
* expected output:

# just return the name
>>> print(get_full_name("John","Doe",True))
John Doe
>>> print(get_full_name("John","Doe",False))
Doe John
* function name: get_circle_area
* parameters: radius (float)
* returns: float
* operation:
Return the area of a circle with the given radius. Use 3.14 as Pi. And Google if for
some reason you've forgotten how to get the area of a circle.
* expected output:

Just return the value
>>> print(get_circle_area(5.0))
78.5
>>> print(get_circle_area(2.5))
19.625

In: Computer Science