blob: 01a8b747c11fdf69aa52a8c1c8b9c9efc0f21ae6 (
plain)
1
2
3
4
5
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
|