blob: 1f9bef60c8026887276c428e4465aa0fb7ce3174 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Exa3_2
clc;
clear;
close;
//given data is :
F=100000;//in rupees
n=10;//in years
i=15;//% per annum
P=F/(1+i/100)^n;
disp("The person has to invest : "+string(P)+" Rupees.");
//Note : Ans in the book is not correct.
|