blob: 5965a496839445e52de1c8fc7f1481889966577f (
plain)
1
2
3
4
5
6
7
8
9
|
//chapter 21 Ex 8
clc;
clear;
close;
SI=4/9;
rate=sqrt(SI*100);
t=rate; //since both are numerfically equal
mprintf("The rate is %.2f percent and the time is %.2f years",rate,t);
|