summaryrefslogtreecommitdiff
path: root/1208/CH2/EX2.6/Exa6.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1208/CH2/EX2.6/Exa6.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 '1208/CH2/EX2.6/Exa6.sce')
-rwxr-xr-x1208/CH2/EX2.6/Exa6.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1208/CH2/EX2.6/Exa6.sce b/1208/CH2/EX2.6/Exa6.sce
new file mode 100755
index 000000000..147c48fa0
--- /dev/null
+++ b/1208/CH2/EX2.6/Exa6.sce
@@ -0,0 +1,18 @@
+//Exa6
+clc;
+clear;
+close;
+//given data is :
+P=10000;//in rupees
+N=3;// years
+r1=4;// in % per annum for 1st year
+r2=5;// in % per annum for 2nd year
+r3=10;// in % per annum for 3rd year
+A=P*(1+r1/100)*(1+r2/100)*(1+r3/100);
+CI=A-P;
+disp("Compound interest is : "+string(CI)+" Rupees.")
+
+
+
+
+