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 --- 1475/CH1/EX1.60/Example_1_60.sce | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 1475/CH1/EX1.60/Example_1_60.sce (limited to '1475/CH1/EX1.60/Example_1_60.sce') 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)="); -- cgit