summaryrefslogtreecommitdiff
path: root/291/CH4/EX4.3e/eg4_3e.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /291/CH4/EX4.3e/eg4_3e.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '291/CH4/EX4.3e/eg4_3e.sce')
-rwxr-xr-x291/CH4/EX4.3e/eg4_3e.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/291/CH4/EX4.3e/eg4_3e.sce b/291/CH4/EX4.3e/eg4_3e.sce
new file mode 100755
index 000000000..ce0daaa3c
--- /dev/null
+++ b/291/CH4/EX4.3e/eg4_3e.sce
@@ -0,0 +1,8 @@
+pdec3 = 0.05;
+pdec2= 0.1;
+pdec1 = 0.2;
+p0= 0.3
+pinc1= 0.2;
+pinc2= 0.1;
+pinc3 = 0.05;
+disp(pinc1*pinc2*p0, "Probability that the stock price will increase successively by 1, 2 and 0 points in the next 3 days is") \ No newline at end of file