00:01
So, in this question to solve this matlab reliability problem using monte carlo simulation you can use these following steps.
00:08
First of all generate a random sample for r and s based on the given distribution type then calculate the failure probability for each iteration and repeat simulation for a sufficient number.
00:20
So, here is a matlab code for this.
00:21
First of all in the parameters mean r is equal to 20, std r is equal to 4, mean s is equal to 8, std s is equal to 2 and num iteration is equal to 1, 5 times 0.
00:41
So, in the case 1 normal distribution its pf1 sum norm r and d, mean r, std r, 1, num iteration minus norm r and d, mean s, std s, 1, num iteration less than 0 divided by num iteration.
01:06
So, for case 2 long normal distribution pf2 is equal to sum long n, r and d, log mean r, std r, 1, num iteration divided by log n, r and d, log mean s, std s, 1, num iteration less than 1 divided by num iteration...