You are on page 1of 3
817722, 10.07 AM ‘Swapnil Bhattacharya Financial Analytics Assignment 1 Assignment 1 Finance Analytics - By Swapnil Bhattacharya| Roll no 27157| Sec C| Topic - TIME VALUE OF MONEY —-BY USING PYTHON # Ql. You invest Rs 1,08 in an account today that pays 6% interest, compounded annu #a. One Year #b. Three Years #c. Five Years #d. Ten Years wone year def A(o,r,n): return p*(14r)*#n A(1088,0.06,1) 1060.¢ #twoyear round(A(1¢90,0.86,3),2) 1191.02 Five Years round(A(1@80,0.06,5),2) 1338.23, #Ten Years round(A(1@00,0.06,10),2) 1790.85, #02. Mr.X deposits Rs 1,000 in an account at the beginning of the period, and in #a. First Quarter #b. Second Quarter #c. Third Quarter #d. After One year localhost 8886inbconverthim’Swapnil Bhattacharya Financial Analytes Assignment 1 ipyrb?downleadfalse 817722, 10.07 AM In [8 In [12 In out[13, In [14 In [15 out[15, In [16 In [17 ‘Swapnil Bhattacharya Financial Analytics Assigrment 1 #First Quarter def A(p,r,m.n): return p*(14r/m)**(m*n) round(A(1@@0,0.12,4,0.25),2) 1030.¢ Second Quarter round(A(1@30,0.12,4,0.5),2) 1092.73, #Third Quarter round(A(1@92.73,@.12,4,0.75) 2) 1194.06 wafter One year round(A(1000,0.12,4,1),2) 1125.51 #03. Suppose you invest Rs 20,000 in an account that pays 12% interest, compounded m f#Hlow much do you have in the account at the end of 5 years? round(A(2@000,0.12,12,5),2) 36333. #04.Suppose that you wish to have Rs 20,000 saved by the end of six years ¥and suppose you deposit funds today in an account that pays 3X interest, compounde How much must you deposit today to meet your goal? def PV(Fvsrin): return fv/(14n)*#n rround(PV(20000,0.03,6),2) 16749.69 #05.Suppose that you wish to have Rs 1 million forty years from now. #If you deposit funds today in an account that pays 5X interest, compounded annuall Ynhat amount must you deposit today to reach your goal? #You are given the following data inputs: FV = Rs 10,008,000, n -40 years, r =5 round(PVv(1@00000,@.05,4@),2) localhost 8886inbconverthim’Swapnil Bhattacharya Financial Analytes Assignment 1 ipyrb?downloadfalse 28 817722, 10.07 AM ‘Swapnil Bhattacharya Financial Analytic Assigrment 1 outlay]: 142045.68 #06. Initial outLay 50,000, the Life of the asset 5 yrs., estimated annual cash Flow import numpy_financial as npf round (npf. irr ([ -58000, 12500, 12500, 12500, 12500, 12500]),2) print ("Value of TRR:",S) Value of IRR: 0.08 1 [211 y 97, the xvZ Company is considering the purchase of new equipment that would increas * 5. 5,000. # What is the approximate internal. rate of return (IRR) of the project? import numpy financial as pf IRR= round(npf.inr([-40000, 1500, 30000, 10800, 16000, Seee}),2) print ("The value of IRR:",TRR) The value of IRR: 0.28 localhost 8888inbconverthim’Swapnil Bhattacharya Financial Analytes Assignment 1 ipyrb?downloadfalse 39

You might also like