How to write a code for Monte Carlo Simulation

22 vues (au cours des 30 derniers jours)
Jesse Romero
Jesse Romero le 18 Nov 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

Réponses (1)

Image Analyst
Image Analyst le 18 Nov 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:

Catégories

En savoir plus sur Stress and Strain dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by