How to write a code for Monte Carlo Simulation

6 ビュー (過去 30 日間)
Jesse Romero
Jesse Romero 2022 年 11 月 18 日
回答済み: Image Analyst 2022 年 11 月 18 日
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

回答 (1 件)

Image Analyst
Image Analyst 2022 年 11 月 18 日
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:

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by