diff options
Diffstat (limited to '291/CH4/EX4.3c/eg4_3c.sce')
-rwxr-xr-x | 291/CH4/EX4.3c/eg4_3c.sce | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/291/CH4/EX4.3c/eg4_3c.sce b/291/CH4/EX4.3c/eg4_3c.sce new file mode 100755 index 000000000..01a8b747c --- /dev/null +++ b/291/CH4/EX4.3c/eg4_3c.sce @@ -0,0 +1,6 @@ +intx= integrate('%e^(-x)', 'x',0, 1 );
+inty=integrate('2*%e^(-2*y)', 'y', 0, 1);
+answer = (1-intx)*inty;
+disp(answer , "Probability that X>1 and Y<1 is")
+
+//For other two parts, symbolic manipulations are required
\ No newline at end of file |