diff options
Diffstat (limited to '2951/CH9/EX9.1')
-rwxr-xr-x | 2951/CH9/EX9.1/ex_9_1.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2951/CH9/EX9.1/ex_9_1.sce b/2951/CH9/EX9.1/ex_9_1.sce new file mode 100755 index 000000000..238f24903 --- /dev/null +++ b/2951/CH9/EX9.1/ex_9_1.sce @@ -0,0 +1,23 @@ +clear;
+clc;
+// f2 be the event that " a two occurs"
+
+
+tot=6; //total number of possible outcomes
+f_2=1; // number of desired outcomes
+M=3; // number of even outcomes
+
+///// a)
+
+P_A=f_2/tot; //P(A)
+
+///// b)
+P_M=M/tot; //P(M)
+
+////// c)
+P_AintersectionM=P_A/P_M; //P(A intersection M)
+
+disp(P_A,"a) P(A)= ");
+disp(P_M,"b) P(M)=");
+disp(P_AintersectionM=P_A/P_M,"c) P(A intersection M)=");
+
|