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 a model using the entities movie

Create a model to represent this report using the entities MOVIE, THEATER, and SHOW_TIME. Assume that theaters may show multiple movies.

  Write void function which reads game-s parameters from file

Write a void function which reads game's parameters from file. Function validates te parameters. If parameters are "bad" the function assigns default values to parameters.

  Program to use a stack to represent list of workers

Write a program to simulate this process. Use the following guidelines.- Use a stack to represent the list of workers. Use a queue to represent the list of people waiting to work.

  Designing navigation system for point-and-click system

Design a navigation system or menu allows Access to act like point-and-click system. Write down some of the kinds of navigation.

  Create logic for program-continously prompts for numeric

Create the logic for a program that continously prompts the user for two numeric values that represent the sides of a rectangle.

  Class to create and draw five squares

Now write applet DrawSquares that uses your Square class to design and draw 5 squares. This code must be very simple.

  Create procedure that returns most recent order information

Create a procedure that returns the most recent order information for aparticular basket. This procedure should determine the most recent stage entry

  Appropriate for two classes to inherit from superclass

CDs and DVDs have several common characteristics. Would it be appropriate for these two classes to inherit from a common superclass?

  Write code to find largest value found in parking tickets

Without using any additional variables, write some code that results in mostTickets containing the largest value found in parkingTickets.

  Two-level memory cache hierarchy

Explain how you would pipeline the four following pairs of statements.

  Write statement that calls add to compute sum of sales

Add is a method that accepts two int arguments and returns their sum. Write a statement that calls add to compute the sum of euroSales and asiaSales and that stores this value in eurasiaSales .

  Use shared mutex for synchronization and locking mechanism

Execute two programs of matrix multiplication with thread programming. Use the shared mutex for synchronization and locking mechanism.

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