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 --- 2294/CH12/EX12.11/EX12_11.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 2294/CH12/EX12.11/EX12_11.sce (limited to '2294/CH12/EX12.11/EX12_11.sce') diff --git a/2294/CH12/EX12.11/EX12_11.sce b/2294/CH12/EX12.11/EX12_11.sce new file mode 100755 index 000000000..b454c110f --- /dev/null +++ b/2294/CH12/EX12.11/EX12_11.sce @@ -0,0 +1,11 @@ +//Exampple 12.11 +//Find the required probabilities. +disp(0.45,'Let SS be the event that Ramesh pass in Signal and systems, P(SS)=') +disp(0.32,'Let RP be the event that Ramesh pass in Random process P(RP)=') +disp(0.15,'P(passed in both)=') +disp('P(passed in either one subject)=P(SS U RP)') +disp(0.45+0.32-0.15,'P(SS)+P(RP)-P(passed in both)=0.45+0.32-0.15=') +disp(1-0.62,'P(passed in neither of the subjects)=1*P(passed in either subjects)=1-0.62=') +disp('P( passed in one subject)='); +disp(0.45*0.68+0.55*0.32,'P(SS)*P(failed in RP)+P(failed in SS)*P(RP)=(0.45)*(1-0.32)+(1-0.45)*(0.32)=') +disp(1-0.45,'P(failed in SS)=1-P(SS)=1-0.45') -- cgit