diff options
Diffstat (limited to '291/CH4/EX4.1b/eg4_1b.sce')
-rwxr-xr-x | 291/CH4/EX4.1b/eg4_1b.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/291/CH4/EX4.1b/eg4_1b.sce b/291/CH4/EX4.1b/eg4_1b.sce new file mode 100755 index 000000000..e1d2e8cd4 --- /dev/null +++ b/291/CH4/EX4.1b/eg4_1b.sce @@ -0,0 +1,11 @@ +pdd= 0.09;
+pda = 0.21;
+pad = 0.21;
+paa = 0.49;
+
+disp(pdd, "Probability that the number of acceptable components is 0 is")
+disp(pda+pad, "Probability that the number of acceptable components is 1 is")
+disp(paa, "Probability that the number of acceptable components is 2 is")
+disp(pdd, "Probability that I is 0 is")
+
+disp(paa+pad+pda, "Probability that I is 1 is")
\ No newline at end of file |