Question: On MATLAB, how would I run monte carlo simulation for this function? StabilityofNaturalSlopes.m X function [stabil-StabilityofNaturalSlopes(C,i,2,2) %variable C is the cohesion of the soil %variable

On MATLAB, how would I run monte carlo simulation for this function?On MATLAB, how would I run monte carlo simulation for this function?

StabilityofNaturalSlopes.m X function [stabil-StabilityofNaturalSlopes(C,i,2,2) %variable C" is the cohesion of the soil %variable .1' is the inclination of the slope %variable z' is the depth below ground surface %variable .2' is the depth of the water table below ground surface 4 s=11; w=9 . 807 ; stabil= (C+( (S#2)-(2-Z)*w)*COS (1) ."2) / (s*z*sin(i) *cos (i)) ; for i = 0:360 10 - for z = 0:152.4 stabil= (C+( (S#2)-(2-Z)*w)*COS (1) ."2) / (s*z*sin(i) *cos (1) ) ; 12 13 14 15-en 16 17 18 end %if CalculateStabil > 1 stability conditions are met sif CalculateStabil 1 stability conditions are met sif CalculateStabil

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!