From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1208/CH1/EX1.12/Exa12.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 1208/CH1/EX1.12/Exa12.sce (limited to '1208/CH1/EX1.12') 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: ") -- cgit