Preview

SIMULATION AND MODELLING

Satisfactory Essays
Open Document
Open Document
266 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
SIMULATION AND MODELLING
SIMULATION AND MODELING
1. Generate 20 random numbers and solve the following integrals by monte-carlo
(i) (ii)
2. A piece of equipment contains four identical tubes and can function only if all the four are in working order. The lives of tubes has approximately uniform distribution from 1000 to 2000 hours. The current maintenance practice is to replace a tube when it fails. Equipments has to be shut down for 1 hr for replacing a tube, the cost of one tube is sh 100, while the shut down time cost sh 200 per hour. Simulate the system for about 6000 hrs of run and find the maintenance cost using the following random numbers
0.8,0.2,0.6,0.3,0.1,0,0.8,0.9,0.2,0.8,0.3,0.7,0.4,0.8,0.5,0.6,0,0.4,0.9

3. A baker is trying to determine how many dozens of bread to bake each day. The probability distribution of the number of customers is as follows.
Number of customers: 10 12 14 16
Probability: 0.35 0.30 0.20 0.15
Customers order1,2,3 or 4 dozen bread according to the following distribution
Number of order/customers: 1 2 3 4
Probability: 0.4 0.3 0.2 0.1
Bread sells for sh 60 per dozen and cost sh 42 per dozen to make. The breads not sold at the end of the day are disposed off at half price. Generate uniformly distributed random numbers and determine by simulation the system for 20 days the dozen of bread which should be baked.
4. A newsstand can buy a daily newspaper for sh 50 each and sell it for sh 85. The unsold copies if any can be disposed off as waste paper at sh 20 each. The estimated daily demand distribution is as follows Demand (no of copies) probability 100 0.03 110 0.07 120 0.19 130 0.28 140 0.20 150 0.10 160 0.05 170 0.05 180 0.03
Generate uniformly distributed random numbers and determine the optimal number of newspaper copies which should be procured, so that the expected profit is maximum

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Stat 225

    • 1420 Words
    • 6 Pages

    William is a quality inspector for an appliance manufacturer and is currently testing an oven. The oven starts off at room temperature, which is 70 degrees Celsius. William turns the oven to 167 degrees. The temperature in the oven increases from 70 degrees to 167 degrees over the following 10 minutes at a constant rate, so that the temperature follows a uniform distribution over the interval between 70 degrees and 167 degrees. At a randomly chosen time during that 10 minutes, William records the temperature of the oven.…

    • 1420 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Overview of Simulation

    • 1912 Words
    • 17 Pages

    This PowerPoint presentation was prepared by Professor Timothy Luehrman for the sole purpose of aiding classroom instructors in the use of Finance Simulation: M&A in Wine…

    • 1912 Words
    • 17 Pages
    Satisfactory Essays
  • Good Essays

    Problem 3 A certain component is critical to the operation of an electrical system and must be replaced immediately upon failure. If the mean lifetime of this type of component is 100 hours and its standard deviation is 30 hours, how many of these components must be in stock so that the probability that the system is in continual operation for the next 2,000 hours is at least .95? Solution: Let Lj denote the lifetime of the jth component used in the…

    • 1051 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Parice Problem

    • 1635 Words
    • 7 Pages

    6. A supermarket has determined that daily demand for egg cartons has an approximate mound-shaped distribution, with a mean of 55 cartons and a standard deviation of six cartons.…

    • 1635 Words
    • 7 Pages
    Good Essays
  • Better Essays

    Speciality Toys.

    • 1474 Words
    • 6 Pages

    Specialty Toys, a retailer of Children’s toys is planning to launch a new toy called “Weather Teddy”. Sales Managers at the stores are working relentlessly to forecast the most appropriate demand order quantity in such a way that profit could be maximized. The analysis of the problem calls for an ideal demand order quantity situation with lower probability of stock-out option.…

    • 1474 Words
    • 6 Pages
    Better Essays
  • Good Essays

    Alternative Example 14.3: A new shopping mall is considering setting up an information desk manned by two employees. Based on information obtained from similar information desks, it is believed that people will arrive at the desk at the rate of 20 per hour. It takes an average of 2 minutes to answer a question. It is assumed that arrivals are Poisson and answer times are exponentially distributed. a. Find the proportion of the time that the employees are idle. b. Find the average number of people waiting in the system. c. Find the expected time a person spends waiting in the system. ANSWER: (servers). a. P 20/hour, 30/hour, M 2 open channels…

    • 4902 Words
    • 20 Pages
    Good Essays
  • Satisfactory Essays

    HW08 Independence

    • 253 Words
    • 3 Pages

    below. (Note: before you would actually accept these as random numbers, you would also want to…

    • 253 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Portfolio RIsk and Return

    • 972 Words
    • 4 Pages

    Data Analysis → Random number generation → # of variables: 6 (the number of companies in the portfolio) → # of random numbers: 10 000 → distribution: uniform…

    • 972 Words
    • 4 Pages
    Good Essays
  • Good Essays

    NSU MC7

    • 1606 Words
    • 7 Pages

    A news magazine offers students a discount on the regular subscription rate. The total number of subscriptions is optimal, and, at the current prices, the marginal revenue from the last subscription sold to a student is $6, while the marginal revenue from the last subscription sold to a regular customer is $10.…

    • 1606 Words
    • 7 Pages
    Good Essays
  • Good Essays

    Please Help with This

    • 702 Words
    • 3 Pages

    Before you begin any analysis you must take a random sample of 200 customers from the 335 provided in the file Market.xls. Use the Random Sample Generator, imbedded in this file, to do this. Your answers to the assignment tasks below are to be based on your sample of 200 customers. Make sure you keep a safe copy of your sample, since you cannot use Random Sample Generator to reproduce the first sample, and we will use it again in the major assignment.…

    • 702 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Nepco

    • 7212 Words
    • 29 Pages

    Chapter 7 - Random-Number Generation Random number are a necessary basic ingredient in the simulation of almost all discrete systems. You may never have to write a computer program to generate random numbers because all simulation software have built-in subroutines, objects, or functions that will generate random numbers. However, it is still important to understand the basic ideas behind the generation (and testing) of random numbers. These random numbers are then used (Chapter 8) to generate other random variables. This chapter describes the generation of random numbers and their subsequent testing for randomness (uniformity and independence), but first we discuss some basic properties of random numbers. 7.1 Properties of Random Numbers A sequence of random numbers {R1 , R2 , R3 , . . . , Rn , . . .} must have two important properties: (a) uniformity and (b) independence.…

    • 7212 Words
    • 29 Pages
    Better Essays
  • Good Essays

    Hours a week the technician is not on service calls (0.5380) x 40 hours = 21.5 hours…

    • 971 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Simulation and Modelling

    • 7136 Words
    • 29 Pages

    Suggested Books: • Discrete-event System Simulation J. Banks, J.S. Carson and B.L. Nelson Prentice Hall International, 1994…

    • 7136 Words
    • 29 Pages
    Powerful Essays
  • Better Essays

    probability problems

    • 1032 Words
    • 5 Pages

    Q2) The following probability matrix contains a breakdown on the age and gender of US physicians in a recent year ,as reported by the American Medical Association.…

    • 1032 Words
    • 5 Pages
    Better Essays
  • Powerful Essays

    Simulation Modeling

    • 14619 Words
    • 59 Pages

    In this paper we derive the singularity-free dynamic equations of vehicle–manipulator systems using a minimal representation. These systems are normally modeled using Euler angles, which leads to singularities, or Euler parameters, which is not a minimal representation and thus not suited for Lagrange’s equations. We circumvent these issues by introducing quasi-coordinates which allows us to derive the dynamics using minimal and globally valid non-Euclidean configuration coordinates. This is a great advantage as the configuration space of the vehicle in general is non-Euclidean. We thus obtain a computationally efficient and singularity-free formulation of the dynamic equations with the same complexity as the conventional Lagrangian approach. The closed form formulation makes the proposed approach well suited for system analysis and model-based control. This paper focuses on the dynamic properties of vehicle–manipulator systems and we present the explicit matrices needed for implementation together with several mathematical relations that can be used to speed up the algorithms. We also show how to calculate the inertia and Coriolis matrices and present these for several different vehicle–manipulator systems in such a way that this can be implemented for simulation and control purposes without extensive knowledge of the mathematical background. By presenting the explicit…

    • 14619 Words
    • 59 Pages
    Powerful Essays