From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 291/CH4/EX4.1b/eg4_1b.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 291/CH4/EX4.1b/eg4_1b.sce (limited to '291/CH4/EX4.1b') 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 -- cgit