How to write a code for Monte Carlo Simulation

6 visualizaciones (últimos 30 días)
Jesse Romero
Jesse Romero el 18 de Nov. de 2022
Respondida: Image Analyst el 18 de Nov. de 2022
I want to start writing a code in Matlab in order to perform a Monte-Carlo simulation of normal stress failures based on varying nominal cross-sections and material properties. The code is based on Monte Carlo Simulation. The material is 6061 Aluminum with a rectangular cross section. The dimentions of the aluminum is L=5in, W=2in, H=1in
Write an algorithm to run a Monte-Carlo simulation of failure load of the chosen material and cross-section. The ultimate stress and cross-sectional area should be allowed to randomly vary in accordance with the concept of the Monte-Carlo simulation. Do not use any “canned” Monte Carlo type commands; the algorithm must be clearly written. Plot a histogram of the range of possible failure loads based on the randomly varying crosssectional areas and randomly varying range of ultimate stress

Respuestas (1)

Image Analyst
Image Analyst el 18 de Nov. de 2022
This looks like a homework problem. If you have any questions ask your instructor or read the link below to get started:
Obviously we can't give you the full solution because you're not allowed to turn in our code as your own.
You can look at other monte carlo posts here:

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by