Approximately normally distributed

Assignment Help C/C++ Programming
Reference no: EM13166951

Write a program MakeFile.cpp that creates a file random.dat that contains 200 random numbers where each number is the sum of 12 random values rand( )%9. When we add a sufficient number of uniformly distributed numbers the result is approximately normally distributed. Close your file. Then use system command to activate program Satistics.cpp that reads numbers from random.dat, and for these numbers computes and displays the mean value, standard deviation, and coefficient of variation. When control returns to MakeFile.cpp use system command to activate program Distribution.cpp that plots the histogram of the distribution of numbers from random.dat in the form similar to this:

0-5 |

5-10 |

10-15 |**

15-20 |

20-25 |****

25-30 |******

30-35 |*****

35-40 |************

45-50 |****************

50-55 |***********************

55-60 |********************

60-65 |***************

65-70 |***********

70-75 |*********

75-80 |***

80-85 |****

95-90 |*

90-95 |

95-100|

Reference no: EM13166951

Questions Cloud

Your program will read the array : Your program will read the array from the file, check the diagonal and print a report containing the size and the status of the diagonal. A typical report would look like: The matrix is 3x3 and all the numbers on the main diagonal are the same.
Create a data flow diagram : Create a data flow diagram for Online library management system. It should include search, hold, add items, issue, recall, and add user. It should support books, dvds, and cds. The flows should include each data element, the levels must be balance..
A local department store hires you to write : A local department store hires you to write an automated checkout program to expedite customers in a hurry. The checkout line can only accept five items for any one purchase. Design a program that asks for the price of each item, and then displays..
The conversion must be done in a function : The conversion must be done in a function. The function will accept the pressure in bars and return both atmospheres and psi. Your script should continue to prompt the user to see if they wish to another calculation.
Approximately normally distributed : Write a program MakeFile.cpp that creates a file random.dat that contains 200 random numbers where each number is the sum of 12 random values rand( )%9. When we add a sufficient number of uniformly distributed numbers the result is approximately n..
Write a function to circulate a list : Write a function to circulate a list. The function takes two paramaters, the first defines how many elements of the list to circulate, and the second is the list. The output should be the circulated list.
How is this applied to changing the coding? : when writing a linear cipher using n = 27, if a = ?, b = ? and c = 7, if ac = 1(mod27) how is this applied to changing the coding?
The integers should be printed in order with addresses : The integers should be printed in order with addresses from main. When the steps of the function order have been completed the smallest value will be stored in a, the middle in b, and the largest in c.
Write a function create audio colla() : Write a function createAudioCollage() that will create an audio collage.

Reviews

Write a Review

 

C/C++ Programming Questions & Answers

  Loops and if conditions

Write a program that requests a password

  Write a program using the rand() function

Write a program using the rand() function and a large array to find the standard deviation, variance and mean as well as the min and max values of the array.

  Write a sumo robot c program

Write a sumo robot c program for an aduino board, using 2 motors. 2 phototransistors and 2 Led sensors( sensors 2 for the front and 2 for the back ) which are going to be responsible for keping the robot in the sumo ring, making sure the robot com..

  Prepare a program that uses the pthread library

Prepare a C/C++ program that uses the PTHREAD library to create threads and mutexes to synchronize them.

  Linked list in c++

If the following C++ code is valid, show the output. If it is invalid, explain why.

  Declare a pointer to an array of 500 school

In a main() demonstration function, declare a pointer to an array of 500 School objects and include code to handle any memory allocation errors that occur. in a loop, declare 500 array objects at a time, continuing to rewrite the main() functions ..

  Gstring manipulation functions

Write a program that will define the followingstring manipulation functions. Each is analogous to the corresponding C++ string function.

  Reverses all the element of an array

Write a function that reverses all the element of an array.that is,the first element is exchanged with the last element; the second element is exchange with the second to the last element,and so on

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Include a main function that will solicit

Include a main function that will solicit a DNA sequence string from the user, call the genes function to obtain all the genes in the sequence and print each one on the console display

  Implementation of sorting technique

Implementation of sorting technique

  How a base version of this assignment works

For this assignment you are to create an interactive moving sign in the context of a cityscape street scene. Click the link below to see how a base version of this assignment works. Type a message in the long blank slot at the top left, and then clic..

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