Program to take input five numbers-display mean average

Assignment Help Programming Languages
Reference no: EM1370081

Q1. Write a program that takes as input five numbers and outputs the mean average and standard deviation of the numbers. If the numbers are x1, x2 ,x3, x4, and x5, then the mean is :
X= ( x1 + x2 + x3 + x4 + x5 ) / 5

And the standard deviation is :

S = √ [(x1-x)2 + (x2-x)2 + (x3-x)2 + (x4-x)2 + (x5-x)2 ] / 5

Reference no: EM1370081

Questions Cloud

What are characteristics of well-designed goals : What are three characteristics of well-designed goals and describe a brief overview of the firm and its goals. Make sure to support this.
Caluclating monopoly price and profit maximizing output : Suppose you are the manager of a firm that sells its product in a competitive market at a price of 50. Your firms cost structure is c=40 + 5Q2. The profit maximizing output for your company is;
Determining profit-maximizing price and quantity : The demand function for product sold by an oligopolist operating in the short run is given below: Compute the profit-maximizing price and quantity, if the firm operates in short run.
Explain what new or emergent strategies will be pursued : Explain What new or emergent strategies will be pursued and What products or services will we offer our customers in the future?
Program to take input five numbers-display mean average : Write the program which takes as input five numbers and outputs mean average and standard deviation of numbers. If numbers are x1, x2 ,x3, x4, and x5, then mean is?
Determining marginal revenue and profits : A firm with market power produces widgets at marginal cost of $10 per unit and zero fixed costs. It faces demand function given by P = 50 - Q. Find out the marginal revenue for the firm?
Explain what are some barriers the employees change plan : Explain What are some barriers the employees will bring to this change plan and Along with management, employees also erect barriers
How do businesses and it strategies seem to match : How do their business and IT strategies seem to match and does it look like their product and service offerings are well supported by IT?
Computing optimal output and price levels : Tyvex LLC produces professional quality color laser printers. The market for professional color laser printers is monopolistically competitive. Suppoe that the inverse demand curve faced by Tyvex

Reviews

Write a Review

Programming Languages Questions & Answers

  Create console program to prompts user to enter revenue

Create the console program which: Prompts user to enter revenue and expenses computes net income Outputs revenue, expenses and net income.

  Produce a project plan

Produce a project plan and an interim description of the project development

  Write a trigger for total percentage of all appointments

Write a trigger on Works department to ensure the following requirement; the total percentage of all appointments for an employee must be fewer than 100%.

  Write program which reads in weight in pounds and ounces

Write the program which reads in the weight in pounds and ounces and putputs equivalent weight in kilograms and grams. Utilize at least three functions.

  Describe purpose of keyword super in programs

Describe purpose of keyword 'super' in programs

  Write application that inputs a telephone number as string

Write an application that inputs a telephone number as a string in the form (555) 555-5555. The application should String method split to extract the area code as a token.

  Create class for hardware store to represent invoice

Create a class called Invoice that a hardware store might use to represent an invoice for an item sold at the store. An Invoice should include four pieces of information as instance variables a part number.

  Include hyperlink for confirming order in online ticket

Include a check box for attending the Awards Event. Include a hyperlink for confirming the order. Make the link invisible to begin but display it after the Submit button has been clicked.

  Write program that lets user enter charge account number

Write a program that lets the user enter a charge account number. The program should determine if the number is valid by checking for it in the following list.

  Application development and programming languages

Application Development and Programming Languages,  Programming languages have evolved since the First Generation Languages (1GLs) in the 1940s. The 1GLs were machine languages, which interacted directly with hardware. 2GLs were assembly languages. F..

  Write ipo steps and detailed pseudo code for program

Write IPO steps and detailed pseudo code for program which will ask user to enter restaurant meal cost. The program should then compute the tax, tip on the restaurant bill,

  Data members to store values of the two loans

A class that represents a person who belongs to a SACCO has two data members to store values of the two loans the person owes the SACCO. Add a parameterized constructor that initializes these loans using the two values passed as arguments.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd