blob: 421cc2899baa2472e5adad2afefd2b7c90a373e6 (
plain)
1
2
3
4
5
6
7
8
9
|
//Chapter 33 Ex3
clc;
clear;
close;
bd=1800;rate=12/100; facevalue=1872;
//SI on 1800=TD on 1872
PW=facevalue-bd; //present worth
time=PW/(bd*rate);
mprintf("The time is %.2f year i.e %.0f months",time,time*12);
|