summaryrefslogtreecommitdiff
path: root/1208/CH1/EX1.12/Exa12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1208/CH1/EX1.12/Exa12.sce')
-rwxr-xr-x1208/CH1/EX1.12/Exa12.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1208/CH1/EX1.12/Exa12.sce b/1208/CH1/EX1.12/Exa12.sce
new file mode 100755
index 000000000..a4a010ddd
--- /dev/null
+++ b/1208/CH1/EX1.12/Exa12.sce
@@ -0,0 +1,17 @@
+//Exa12
+clc;
+clear;
+close;
+//given data :
+Vn=15000;//in Rs
+r=12;//in % per annum
+i=r/100;
+n=5;//in years
+m=2;//for half yearly compounding
+//formula EIR=(1+i/m)^m-1;
+EIR=(1+i/m)^m-1;
+//formula for present value Vo=Vn/(1+i)^n
+//taking i=EIR;
+i=EIR;
+Vo=Vn/(1+i)^n;
+disp(Vo,"Present value is: ")