Question

In: Mechanical Engineering

An Internet service provider has three different subscription packages for its customers: Package A: $9.95 per...

An Internet service provider has three different subscription packages for its customers:

Package A: $9.95 per month 10 hours of access are provided.   Additional hours are $2.00 per hour.

Package B: $14.95 per month 20 hours of access are provided. Additional hours are $1.00 per hour.

Package C: $19.95 per month unlimited access is provided.

Write a MATLAB script to calculates a customer’s monthly bill. It should ask which package the customer has purchased and how many hours were used. It should then display a message with the hours and the total amount due, correct to two decimal places.

Also displays how much money Package A customers would save if they purchased packages B or C, and how much money Package B customers would save if they purchased Package C. If there would be no savings, no message should be printed.

Input Validation: Be sure the user only selects package A, B, or C. Also, the number of hours used in a month cannot exceed 744. Display an error message and exit the program if user enters incorrect information.

I need it answered in MATLAB syntex

Solutions

Expert Solution


Related Solutions

A mobile phone service provider has three different subscription packages for its customers: Package A: For...
A mobile phone service provider has three different subscription packages for its customers: Package A: For $39.99 per month 450 minutes are provided. Additional minutes are $0.45 per minute. Package B: For $59.99 per month 900 minutes are provided. Additional minutes are $0.40 per minute. Package C: For $69.99 per month unlimited minutes provided. Write a program that calculates a customer’s monthly bill. It should ask which package the customer has purchased and how many minutes were used. It should...
**PYTHON** A new movie theatre has three different subscription packages for its customers: Package A: For...
**PYTHON** A new movie theatre has three different subscription packages for its customers: Package A: For $18.95 per month, the customer can watch 2 movies. Any additional movie requires an additional $2 per movie. Package B: For $22.95 per month, the customer can watch 4 movies. Any additional movie requires an additional $1 per movie. Package C: For $30.99 per month, the customer can watch an unlimited amount of movie. Write a script that calculates a customer’s monthly bill. It...
CPSC 1103 Assignment 1 Problem A cell phone provider has three different subscription packages for its...
CPSC 1103 Assignment 1 Problem A cell phone provider has three different subscription packages for its customers: Package A: For $9.95 per month 10 hours of access are provided. Additional hours are $2.00 per hour. Package B: For $14.95 per month 20 hours of access are provided. Additional hours are $1.00 per hour. Package C: For $19.95 per unlimited access is provided. Write a program to ask which package the customer has purchased, what month they are using, and how...
wirte a program in java Part I     Internet Service Provider An Internet service provider has three...
wirte a program in java Part I     Internet Service Provider An Internet service provider has three different subscription packages for its customers: Package A: For $9.95 per month 10 hours of access are provided. Additional hours are $2.00 per hour. Package B: For $13.95 per month 20 hours of access are provided. Additional hours are $1.00 per hour. Package C: For $19.95 per month unlimited access is provided. Write a program that calculates a customer’s monthly bill. It should ask...
Internet service: An Internet service provider sampled 530 customers, and finds that 70 of them experienced...
Internet service: An Internet service provider sampled 530 customers, and finds that 70 of them experienced an interruption in high-speed service during the previous month. (b) Construct a 90% confidence interval for the proportion of all customers who experienced an interruption. Round the answers to at least three decimal places.
Internet service: An Internet service provider sampled 545 customers, and finds that 65 of them experienced...
Internet service: An Internet service provider sampled 545 customers, and finds that 65 of them experienced an interruption in high-speed service during the previous month. (b) Construct a 99.8% confidence interval for the proportion of all customers who experienced an interruption. Round the answers to at least three decimal places. A 99.8% confidence interval for the proportion of all customers who experienced an interruption is _<p<_.
Amazon has three packages (Package A, Package B, and Package C) that is to be shipped...
Amazon has three packages (Package A, Package B, and Package C) that is to be shipped to Bill’s address. Package A is worth $100, Package B is worth $200, and Package C is worth $300. All three packages have a 90% chance of arriving and a 10% chance of being lost in transit. a. Set up a probability distribution with the appropriate probabilities for each possible outcome. b. What is the expected loss (P*)? c. How much risk does Amazon...
A TV satellite provider charges $42 a month for its basic service package. Its variable costs...
A TV satellite provider charges $42 a month for its basic service package. Its variable costs are $4 a month per account. The company spends $24 a year per account on marketing with an attrition rate of 1% a month. Assuming an annual discount rate of 5%, calculate the maximum amount that this company could spend to acquire a new customer and still provide a positive expected contribution. Please show the work as I’m trying to learn the concept
9. An internet provider wants to estimate the proportion of its existing customers that would sign...
9. An internet provider wants to estimate the proportion of its existing customers that would sign up to their new streaming service for movies, tv shows etc. Several sampling strategies have been proposed. An internet provider wants to estimate the proportion of its existing For each of these proposed sampling strategies, indicate what type of sampling method is used and what biases, if any, may result. a) Randomly select one street in each city which has many users of this...
Software Sales A software company sells three packages, Package A, Package B, and Package C, which...
Software Sales A software company sells three packages, Package A, Package B, and Package C, which retail for $99, $199, and $299, respectively. Quantity discounts are given according to the following table: Quantity Discount 10 through 19 20% ,20 through 49 30% ,50 through 99 40% ,100 or more 50% . Create a C++ program that allows the user to enter the number of units sold for each software package. The application should calculate and display the order amounts and...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT