Problem 2: Write the code to answer each question below. (a) The profit Netflix
ID: 3070971 • Letter: P
Question
Problem 2: Write the code to answer each question below. (a) The profit Netflix earned from US streaming in Q3 2017 was $553.9 million coming from 51.3 million US streaming customers. What is their profit per US streaming customer? (b) For budgeting purposes, it is best to underestimate profit slightly. Use a function to determine the appropriate whole number budgeting estimate for their profit per US streaming customer (c) The profit Netflix earned overall in Q3 2017 was $679.4 million. What percentage of their profit came from their US streaming service that quarter?Explanation / Answer
Solution :
2) We have to write the code to answer each question below :
----------------------------------------------------------------
(a) It is given that the profit Netflix earned from US streaming in Q3 2017 was $553.9 million coming from 51.3 million US streaming customers. To find the profit per US streaming customer. The answer is provided below along with the R codes !
########## R Codes ##########
profit_q3_us=553.9*10^6 ; profit_q3_us
us_customers=51.3*10^6 ; us_customers
profit_per_customer=profit_q3_us/us_customers ; profit_per_customer
Thus , the profit per US streaming customer is = $ 10.79727 .............................. (Ans)
----------------------------------------------------------------
(b) It is given that for budgeting purposes , it is best to underestimate profit slightly. We have to use a function to determine the appropiate whole number budgeting estimate for their profit per US streaing customer. The answer is provided below along with the R codes !
########## R Codes ##########
profit_per_customer_whole_no=floor(profit_per_customer) ; profit_per_customer_whole_no
Thus , the appropiate whole number budgeting estimate for their profit per US streaing customer is = $ 10 .............................. (Ans)
----------------------------------------------------------------
(c) It is given that the profit Netflix earned overall in Q3 2017 was $679.4 million. To find the percentage of their profit that came from their US streaming service that quarter (Q3). The answer is provided below along with the R codes !
########## R Codes ##########
overall_profit_q3=679.4*10^6 ; overall_profit_q3
profit_q3_us=553.9*10^6 ; profit_q3_us
perc_profit_us=(profit_q3_us/overall_profit_q3)*100 ; perc_profit_us
Thus , the percentage of their profit that came from their US streaming service that quarter (Q3) is = 81.52782 % .............................. (Ans)
----------------------------------------------------------------
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.