summaryrefslogtreecommitdiff
path: root/1475/CH1/EX1.60/Example_1_60.sce
diff options
context:
space:
mode:
Diffstat (limited to '1475/CH1/EX1.60/Example_1_60.sce')
-rwxr-xr-x1475/CH1/EX1.60/Example_1_60.sce5
1 files changed, 5 insertions, 0 deletions
diff --git a/1475/CH1/EX1.60/Example_1_60.sce b/1475/CH1/EX1.60/Example_1_60.sce
new file mode 100755
index 000000000..0604c92b5
--- /dev/null
+++ b/1475/CH1/EX1.60/Example_1_60.sce
@@ -0,0 +1,5 @@
+//Example 1.60 A man purchases a lottery ticket, in which he win
+clc;
+clear;
+disp(1-(0.0001+0.0004),"Probab. that man does not get any prize=",0.0004,"Probab. that ma wins second prize of Rs 4000=",0.0001,"Probab. that man wins first prize of Rs 10,000=");
+disp((0.0001*10000+0.0004*4000+0.9995*0),"The Mathematical Expectation is (0.0001*10000+0.0004*4000+0.9995*0)=");