Securing Higher Grades Costing Your Pocket? Book Your Assignment at The Lowest Price Now!







EGR 1400 PS 4 Simulation Notes Part 2

PART C

  • Obtain input values from the user for numIteration, numBins, nMin, nMax, PvMean, PvStdev
  • Calculate PvMin and PvMax (use plus and minus three standard deviations)
  • Calculate PtMin and PtMax
  • Declare an array to represent the Bins and a variable to accumulate total profit
  • Loop numIteration times

o Obtain random values for n and Pv o Calculate PT  o Obtain the bin index and make sure it is within the proper range o Increment the count of the proper bin and add PT  to the total profit accumulator

  • Determine the increment for bin labeling in the MS Chart
  • Use MS Chart to display the bin totals
  • Calculate and display the average profit   
EGR 1400 PS 4 Simulation Notes Part 2 img1 EGR 1400 PS 4 Simulation Notes Part 2 img2 EGR 1400 PS 4 Simulation Notes Part 2 img3

PART D

You will need to amend the algorithm from Part C to account for the choice of distribution type (Normal or Uniform) for both PV and n. Care will need to be taken to make sure that PVMin, PVMax, nMin, and nMax  are computed correctly and that the proper “Random” methods are used in the calculation of PT .

EGR 1400 PS 4 Simulation Notes Part 2 img4 EGR 1400 PS 4 Simulation Notes Part 2 img5 EGR 1400 PS 4 Simulation Notes Part 2 img6
Want latest solution of this assignment

Submit Your Assignment Here

AssignmentHippo Features

On Time Delivery

Our motto is deliver assignment on Time. Our Expert writers deliver quality assignments to the students.

Plagiarism Free Work

Get reliable and unique assignments by using our 100% plagiarism-free.

24 X 7 Live Help

Get connected 24*7 with our Live Chat support executives to receive instant solutions for your assignment.

Services For All Subjects

Get Help with all the subjects like: Programming, Accounting, Finance, Engineering, Law and Marketing.

Best Price Guarantee

Get premium service at a pocket-friendly rate at AssignmentHippo

FREE RESOURCES

  • Assignment Writing Guide
  • Essay Writing Guide
  • Dissertation Writing Guide
  • Research Paper Writing Guide

FREE SAMPLE FILE

  • Accounts
  • Computer Science
  • Economics
  • Engineering

Client Review

I was struggling so hard to complete my marketing assignment on brand development when I decided to finally reach to the experts of this portal. They certainly deliver perfect consistency and the desired format. The content prepared by the experts of this platform was simply amazing. I definitely owe my grades to them.

Tap to Chat
Get instant assignment help